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

Fix/php 7.2 deprecation warnings #163

Merged
merged 5 commits into from Jul 31, 2017
Merged

Fix/php 7.2 deprecation warnings #163

merged 5 commits into from Jul 31, 2017

Conversation

e1himself
Copy link
Contributor

This pull replaces create_function usages to regular lambda functions (introduced in PHP 5.3) to improve PHP 7.2 compatibility.

It will fix PHP nightly build compatibility at your Travis-CI output:

2017-07-30 01-59-48

@e1himself
Copy link
Contributor Author

2017-07-30 02-04-43

Copy link
Contributor

@j0k3r j0k3r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@e1himself
Copy link
Contributor Author

Hm... It means that part is not covered with tests. Alright. I'll fix that as well.

@j0k3r
Copy link
Contributor

j0k3r commented Jul 30, 2017

Yeah, the test suite doesn't cover 100% of the code.
That's why green tests doesn't mean everything will be ok 😕

@e1himself
Copy link
Contributor Author

@j0k3r done!

Copy link
Contributor

@j0k3r j0k3r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This look good, thanks.

@j0k3r j0k3r merged commit 448e486 into FriendsOfSymfony1:master Jul 31, 2017
@e1himself e1himself deleted the fix/php-7.2-deprecation-warnings branch July 31, 2017 11:13
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.

None yet

2 participants