-
Notifications
You must be signed in to change notification settings - Fork 29
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
Support PHPUnit 10 #64
Comments
Regarding the last point, to be clear: |
Well, the last point is not the hard block. Migrating to the new method will be easy. But it is not high priority as long as the other points are not resolved. |
I'll consider jumping into some of those tasks. On a totally unrelated sidenote, there are plenty of finished things ready to be merged (some of which are blocking the classic-webdriver) - what's the situation in general? Is it ok to merge my own PR given review approval? |
@stof , The issue was merged. Maybe we can proceed with PHPUnit 10 support now? |
To be exact, Symfony has decided to use the native deprecation handling features of PHPUnit 11+ (skipping PHPUnit 10 because the deprecation handling it had was not yet feature-equivalent). The bridge has not been reimplemented to support PHPUnit 10+ with the same user-facing API than older versions (which was not possible anyway due to the changes in PHPUnit). However, it won't be possible to have the same phpunit.xml file for configuring support for PHPUnit 8 or 9.5 with the bridge on one side and PHPUnit 11 (without the bridge as the only feature we use in the bridge is the deprecation reporting) on the other side. Shipping phpunit config files with non-default names and forcing to use |
Since the older PHPUnit versions don't work on newer PHP versions and vice versa I had to support all PHPUnit versions and due to radical P.S. |
PHPunit 9.6 works on newer PHP versions. That's exactly what "Life support" means in PHPUnit. |
Ha-ha. Although PHPUnit does strictly follow SemVer: in major releases BC breaks will occur 😞 . Without the https://github.com/Yoast/PHPUnit-Polyfills library (I guess the author has similar issues with supporting non-maintained PHP version) it would be painfully hard to have a test suite that will work on every PHPUnit version. Multiple |
this is a meta-issue tracking blockers for using PHPUnit 10:
yoast/phpunit-polyfills
(at least marking it as compatible in the composer constraint)TestCase::onNotSuccessfulTest
to mark tests as skipped as this is not supported anymoreTestCase::getName
was removed, replacing it with 2 methods instead of having a boolean flag)The text was updated successfully, but these errors were encountered: