| Q |
A |
| PHPUnit version |
10.2.2 |
| PHP version |
8.2.5 |
| Installation Method |
Composer |
Summary
After installing version 10 of the dependency, this error appears when querying the version with the command ./vendor/bin/phpunit --version
Current behavior
Dependency cannot be used in this version
How to reproduce
- Install
phpunit via composer
composer require --dev phpunit/phpunit
./vendor/bin/phpunit --version
Expected behavior
To be able to use any dependency-related command without getting errors.
Optional Screenshots

Summary
After installing version 10 of the dependency, this error appears when querying the version with the command
./vendor/bin/phpunit --versionCurrent behavior
Dependency cannot be used in this version
How to reproduce
phpunitvia composerExpected behavior
To be able to use any dependency-related command without getting errors.
Optional Screenshots