-
-
Notifications
You must be signed in to change notification settings - Fork 929
Closed
Description
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:
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
Metadata
Metadata
Assignees
Labels
No labels