-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Remove Match interface #4374
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
Remove Match interface #4374
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4374 +/- ##
=========================================
Coverage 85.29% 85.29%
Complexity 4611 4611
=========================================
Files 219 219
Lines 12167 12167
=========================================
Hits 10378 10378
Misses 1789 1789 Continue to review full report at Codecov.
|
🚀 |
Would it be okay to merge this to the 9.2 branch and ship it in a release? The interface is not covered by the BC promise due to its internal nature and plenty of people are already running their CI suite against the latest releases of PHP 8. |
PHPUnit 9.2 is not supported on PHP 8, PHPUnit 9.3 will be. |
@sebastianbergmann understandable. According to your suggestion here (#4323 (comment)) we're already running it in CI, that's why I was asking. Not sure if that's enough of a reason to quickly backport this PR? |
Alternatively, we could always uese the latest |
You can use |
Thanks @GrahamCampbell. Never thought of that. |
This PR was merged into the 3.4 branch. Discussion ---------- Fix checks for phpunit releases on Composer 2 | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix #37601 | License | MIT | Doc PR | n/a `simple-phpunit` has a core assumption that any version of PHPUnit without a stable release will only have one dev version returned by Composer. Per #37601, it's possible for Composer 2 to list **more than one dev version**. This breaks that assumption and therefore prevents the installation of 9.3.* ([which is needed for testing on PHP 8](sebastianbergmann/phpunit#4374 (comment))). The fix implemented here is to remove any versions containing `dev-` or `-dev` from the list of possible versions to see if any stable versions remain. Commits ------- 2bb3f08 Fix checks for phpunit releases on Composer 2 (resolves #37601)
From what I can see, this interface was not used, other than for defining ParameterMatch interface.
Closes #4373.