Closed
Description
Symfony version(s) affected: 5.1.2 (for example)
Description
https://github.com/symfony/phpunit-bridge/blob/v5.1.2/bin/simple-phpunit.php#L190 assumes that dev versions with have a count of exactly one version. This is not the case in general (stable versions might have no dev branch and only one tag), and in particular, in composer v2, 9.3.* has two dev versions printed, which means that line 191 is not executed when it was meant to be.
How to reproduce
PHPUNIT_VERSION=9.3