K
K
kaxa32012021-12-23 13:35:57
PHPUnit
kaxa3201, 2021-12-23 13:35:57

phpunit strict_types declaration must be the very first statement error, how to solve?

When running any
PHPUnit\Framework\Exception: Fatal error: strict_types declaration must be the very first statement in the script in /var/www/vendor/phpunit/phpunit/phpunit on line 2

php version 7.3.32 phpunit
version 9.5.10
laravel 7.3.30

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question