[codex] Update PHPUnit to 13#197
Merged
Merged
Conversation
Require phpunit/phpunit ^13.0 for the Symfony 8 / PHP 8.4+ baseline. Adjust the test suite for PHPUnit 13 by using stubs for passive doubles and adding an explicit expectation where with() is used. Update README status to document PHPUnit 13. Validated with composer validate --strict, composer test, phpunit --display-phpunit-deprecations --display-phpunit-notices, composer phpstan, composer coverage, and git diff --check. Co-authored-by: Codex <codex@openai.com>
Code Coverage OverviewLanguages: PHP, JavaScript PHP / code-coverage/phpunitThe overall coverage remains at 99%, unchanged from the branch. JavaScript / code-coverage/jestThe overall coverage remains at 87%, unchanged from the branch. Updated |
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.
Summary
phpunit/phpunit^13.0for the PHP 8.4+ / Symfony 8 baseline.with()call.Validation
composer validate --strictcomposer testphpunit --display-phpunit-deprecations --display-phpunit-noticescomposer phpstancomposer coveragegit diff --check