Skip to content

Symfony phpunit-bridge with PHPunit 12 #60574

Closed Answered by stof
etshy asked this question in Q&A
Discussion options

You must be logged in to vote

The SymfonyTestsListener is for PHPUnit 9 and older.

PHPUnit 10+ has a concept of extensions instead, which is supported in symfony/phpunit-bridge 7.2+ for the clock-mock, dns-mock and auto-covers features. The deprecation reporting has not been reimplemented in symfony/phpunit-bridge because PHPUnit 10+ has a native feature for it (in PHPUnit 10.x, it is not feature-equivalent to the bridge, which is why we recomment using PHPUnit 11+ when migrating, not 10.x).

The documentation of the component is not yet updated for the support of those newer PHPUnit version.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by etshy
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants