Hi!
I'm experimenting with phpunit and just find that in the 5.3 recipe bin/phpunit tries to require vendor/phpunit/phpunit/phpunit.
https://github.com/symfony/recipes/blob/master/symfony/phpunit-bridge/5.3/bin/phpunit#L4
But that fails with:
Fatal error: strict_types declaration must be the very first statement in the script in /var/www/html/vendor/phpunit/phpunit/phpunit on line 2
looks like importing a file which has booth declare() AND an interpreter (#!/usr/bin/env ) cannot be imported.
might be a php bug idk
https://github.com/sebastianbergmann/phpunit/blob/9.5/phpunit#L1
tried with phpunit 9.5
Hi!
I'm experimenting with phpunit and just find that in the 5.3 recipe bin/phpunit tries to require vendor/phpunit/phpunit/phpunit.
https://github.com/symfony/recipes/blob/master/symfony/phpunit-bridge/5.3/bin/phpunit#L4
But that fails with:
looks like importing a file which has booth declare() AND an interpreter (
#!/usr/bin/env) cannot be imported.might be a php bug idk
https://github.com/sebastianbergmann/phpunit/blob/9.5/phpunit#L1
tried with phpunit 9.5