após instalar o phpunit com o composer usando o comando:
composer require --dev phpunit/phpunit ^9
e ao tentar rodar o comando version
./vendor/bin/phpunit --version
PHP Warning: require(/home/magento/Alura/composer/vendor/composer/../../functions.php): failed to open stream: No such file or directory in /home/magento/Alura/composer/vendor/composer/autoload_real.php on line 69
PHP Fatal error: require(): Failed opening required '/home/magento/Alura/composer/vendor/composer/../../functions.php' (include_path='.:/usr/share/php') in /home/magento/Alura/composer/vendor/composer/autoload_real.php on line 69
Vi algumas pessoas falarem de limpar o cache mas não resolveu