-
-
Notifications
You must be signed in to change notification settings - Fork 154
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
Declare incompatbility with PHPUnit 9.3+ #1319
Conversation
Absolutely agree. Thank you @sanmai |
Ported to master 34671ab had to recommit since cherry-pick / merge was impossible due to conflicts in lock file |
Fair enough. Thank you! |
Hi, in Cons: we occasionally must pin exact PHPUnit version (although we still use caret operator to allow future versions), as something could break between patch versions. I'm not telling you to do this as well; I just wanted to share the stress relieve of such solution. |
I believe you should also add this change to the version checker so that this applies to the PHAR as well |
Hi, is this really a problem with infection? PHPUnit 9.3 changed its configuration XML XSD, so users who use 9.3 should update their config. PHPUnit even notifies the user with a warning when an old config file was encountered and offers a migration tool. I run infection version Maybe we should reach out to @sebastianbergmann and the PHPUnit team and discuss re-adding the old entities into the XSD file? Or maybe infection could use an own internal phpunit.xsd to validate the schema? |
This PR:
Rationale is the following:
It is unfortunate that we have to do this, but if we care about our users, and if we want to save their time debugging this problem and waiting for a solution that may not come very soon, I think this is the best course of action for the released branch.