{{ message }}
Repository navigation
Support PHPUnit 12 - #6826
Merged
Merged
Support PHPUnit 12#6826
Conversation
W0rma
force-pushed
the
phpunit12
branch
4 times, most recently
from
February 14, 2025 07:13
5a8cb67 to
0f5c4a4
Compare
W0rma
marked this pull request as ready for review
February 14, 2025 07:40
Contributor
Author
Naktibalda
approved these changes
Feb 15, 2025
TavoNiievez
approved these changes
Feb 16, 2025
Contributor
|
Codeception 5.3.2 that install PHPUnit 12.x are not fully compatible. Reason: Typed class constants are only allowed since PHP 8.3 See https://github.com/sebastianbergmann/phpunit/blob/12.3/src/TextUI/Configuration/Cli/Builder.php#L37 For example, on my project https://github.com/llaville/sarif-php-sdk/tree/2.3 that recently support both PHPUnit natively and Codeception v5, with packages installed I got Remember that PHPUnit 12 is for PHP >= 8.3 (see https://phpunit.de/supported-versions.html) And Codeception v5.3 is for PHP >= 8.2 |
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

The only breaking change which needs to be considered seems to be sebastianbergmann/php-code-coverage@eca5d61
Some other codeception packages need to support PHPUnit 12 before this PR can be merged.
I have already prepared PRs for all of them: