You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I create a new Symfony project with PHPStan and Api-Platform I have the following error while clearing the symfony cache:
Uncaught Error: Too few arguments to function PHPStan\PhpDocParser\Parser\ConstExprParser::__construct(),
0 passed in vendor/api-platform/metadata/Resource/Factory/PhpDocResourceMetadataCollectionFactory.php on line 62
and exactly 1 expected
Reproduce
composer create-project --quiet --no-progress --no-audit symfony/skeleton example
cd example
com req --quiet phpstan/phpstan
symfony composer require api
Code snippet that reproduces the problem
No response
Expected output
No expected output required for this issue.
Did PHPStan help you today? Did it make you happy in any way?
No response
The text was updated successfully, but these errors were encountered:
Bug report
Problem
When I create a new Symfony project with PHPStan and Api-Platform I have the following error while clearing the symfony cache:
Reproduce
composer create-project --quiet --no-progress --no-audit symfony/skeleton example cd example com req --quiet phpstan/phpstan symfony composer require api
Code snippet that reproduces the problem
No response
Expected output
No expected output required for this issue.
Did PHPStan help you today? Did it make you happy in any way?
No response
The text was updated successfully, but these errors were encountered: