i don\'t know if it\'s related to Laravel 5.4. when i run phpunit
command after installing laravel 5.4 without making any changes i get Uncaught Error: Ca
I have same issue ans solved with this step :
$ phpunit --version
PHPUnit 6.5.5 by Sebastian Bergmann and contributors.
$ ./vendor/bin/phpunit --version
PHPUnit 8.3.5 by Sebastian Bergmann and contributors.
if versions not equal update phpunit with
composer global require phpunit/phpunit:^8
$ phpunit --version
PHPUnit 8.3.5 by Sebastian Bergmann and contributors.
$ ./vendor/bin/phpunit --version
PHPUnit 8.3.5 by Sebastian Bergmann and contributors.