-
Notifications
You must be signed in to change notification settings - Fork 18
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
Test against PHP 8.0 #55
Conversation
* Upgrade doctrine/coding-standard to 8.2 * Upgrade phpunit to 8.5 * Update psalm to 4.7 * Drop PHP 7.1 from TravisCI
Hey @jbboehr, thanks for the contribution! Unfortunately, we can't drop PHP 7.1 compatibility yet since that would require a major version bump, and since we need to maintain PHP 7.1 compatibility, we also can't upgrade to PHPUnit 8+ in the Relay 2.x branch. Could you please revert the changes that drop PHP 7.1 from the CI config and bumped the PHPUnit version number? |
Do we need a 3.x branch to drop 7.1? It's been End-Of-Life since 2019. |
Yup, any BC-breaking changes will need to go in a 3.x branch. We should probably plan that separately. I was just trying to decouple the changes that could happen immediately versus the ones that would require a version bump. I'm happy to consider and merge in anything that's compatible with the 2.x branch for now. If the purpose of this PR is to add PHP 8 compatibility (even if it's just to the CI suite), then it may need to wait until we're ready to begin work on 3.x. |
To expand on this... Given the title, I realize the original purpose of this PR was to introduce PHP 8 compatibility, but the bulk of the work has been toward upgrading Doctrine Coding Standard. That is something we could merge into 2.x relatively soon, as long as we remove the separate changes that would require a version bump. |
There were no code changes preventing 7.1 support, only the fact that there was no single release of phpunit that supported PHP 7.1 and PHP 8.0. I've expanded the version constraint on phpunit which will allow continued testing on 7.1. |
Awesome, thank you @jbboehr! Merging this in... |
Drop PHP 7.1 from TravisCII took the liberty of ignoring a few rules and fixing a few others due to changes in the new coding standards version, feel free to request changes or whatever.