phpstan-ga
phpstan-ga copied to clipboard
Weird error
I'm not sure if this is the right place to report this, but I'm getting the following error only when running github actions (the same version of phpstan is running on my local environment without problems):
https://github.com/dustin10/VichUploaderBundle/runs/2387875172?check_suite_focus=true
in case you can't expand the erroring section, the error is related to this line: https://github.com/dustin10/VichUploaderBundle/blob/1.17.1/tests/Fixtures/App/app/AppKernel.php#L10
and the error is
ParseError (syntax error, unexpected '|', expecting variable
(T_VARIABLE)) thrown while looking for class
Symfony\Bundle\FrameworkBundle\FrameworkBundle.
that looks absolutely incomprehensible to me