<!-- - Please do not report an issue for a version of PHPUnit that is no longer supported. A list of currently supported versions of PHPUnit is available at https://phpunit.de/supported-versions.html. - Please do not report an issue if you are using a version of PHP that is not supported by the version of PHPUnit you are using. A list that shows which version of PHP is supported by which version of PHPUnit is available at https://phpunit.de/supported-versions.html. - Please do not report an issue if you are not using PHPUnit directly, but rather a third-party wrapper around it. - Please do not report an issue if you are using a third-party extension such as alternative output printers. - Please fill in this template according to your issue. - Please keep the table shown below at the top of your issue. - Please include the output of "composer info | sort" if you installed PHPUnit using Composer. - Please post code as text (using proper markup). Do not post screenshots of code. - Visit https://phpunit.de/support.html if you are looking for support. - Please remove this comment before submitting your issue. --> | 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 ```shell composer require --dev phpunit/phpunit ``` - Run command ```shell ./vendor/bin/phpunit --version ``` - See the error #### Expected behavior To be able to use any dependency-related command without getting errors. #### Optional Screenshots 