-
Notifications
You must be signed in to change notification settings - Fork 96
Update PHPUnit to 8.x and drop unsupported versions #108
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
Conversation
5c3a6a1
to
cad21c0
Compare
"php": ">=5.4.0", | ||
"ext-curl": "*", | ||
"symfony/polyfill-php56": "^1.10" | ||
"php": ">=7.2.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:)
BTW from #79 (comment) this could be published as a minor version bump and let composer's php version resolution to avoid having users of unsupported versions upgrade.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be updated in the README, it still says php >= 5.4
@felipecoppola addressed comments, can you take another look when you have the chance? |
|
Motivation
Closes #98
Closes #79
PHPUnit 4.x is pretty ancient, and on recent versions it runs into this issue with invoking a fully deprecated method.
It seems that tests in Travis have not been running in 7.x for a while as well.
Composer also does not support HHVM, so I've removed it from the matrix as well.
Changes
Notes
I'm not sure if there's a requirement to keep support for 5.x (supported until late 2018). PHPUnit only supported 5.6 until PHPUnit 5.x, supported until early 2018.