-
Notifications
You must be signed in to change notification settings - Fork 1
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
BC: fix PHP 7.2 compatibility #30
Comments
What about the new name?
|
Maybe rename to BaseObject and then remove it as an extended class where possible... What would @shrink0r do? |
graste
added a commit
that referenced
this issue
Jan 30, 2018
INTL_IDNA_VARIANT_2003 is deprecated and according to docs one should use the constant INTL_IDNA_VARIANT_UTS46 now. As that seems to be supported since php 5.4 we'll use it. Tests still green with that locally. refs #30
graste
added a commit
that referenced
this issue
Jan 30, 2018
Use expectException as phpunit 6 removed setExpectedException method after it had been declared deprecated before. bumping deps lead to coveralls not having the binary for coverage report sending on travisci run anymore, thus I changed that to wget the binary instead on CI and removed the dev-dependency to coveralls from composer. refs #30
graste
added a commit
that referenced
this issue
Jan 30, 2018
- mockery and phpunit compatibility is weird and after looking in their travisci config I lowered the phpunit requirements for the prefer-lowest deps build for php 5.6 to phpunit ^5.4 - removed general php builds and the matrix is now specific which composer update deps are used for each build - allowing twig 2.x as trellis itself doesn't use much of it anyways and project might want to upgrade from twig 1.x to 2.x refs #30
graste
added a commit
that referenced
this issue
Jan 30, 2018
as phpunit is throwing fatals with lowest deps on php 7.2 but mockery somehow needs an older phpunit and finding the sweet spot is not worth it imho. refs #30
graste
added a commit
that referenced
this issue
Jan 30, 2018
From tag 0.2.1 on trellis should work on php 7.2 w/o (known) problems. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We can't use
Object
as a class name anymore. Was to be expected since some time and now we can't skip this change any longer. I suggest we think about whether we simply rename the class and then in a second step check whether there are classes that don't need to extend Object anymore.The text was updated successfully, but these errors were encountered: