Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with Symfony 3.0 and PHP7 #2

Merged
merged 3 commits into from
Apr 18, 2016
Merged

Compatibility with Symfony 3.0 and PHP7 #2

merged 3 commits into from
Apr 18, 2016

Conversation

digilist
Copy link
Contributor

I changed the composer dependency on Symfony to support 3.0. It looks like your library works out of the house with Symfony 3.0. The unit tests are working and I generated a document to test it.

Furthermore, I made a change to support PHP7. Within PHP7, substr() returns an empty string if the length of the input string equals the start position.

In PHP7 substr() returns an empty string, if the string has exactly the
same amount of characters as the provided start position.
@ksm2 ksm2 merged commit bf115a6 into ksm2:master Apr 18, 2016
@ksm2
Copy link
Owner

ksm2 commented Apr 18, 2016

Thank you, @digilist!

@digilist
Copy link
Contributor Author

It would be really nice if you tag a new release 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants