-
-
Notifications
You must be signed in to change notification settings - Fork 934
Closed
Description
API Platform version(s) affected: 4.0.8
Description
[critical] Uncaught Error: Too few arguments to function PHPStan\PhpDocParser\Parser\ConstExprParser::__construct(), 0 passed in /DriversCheck/dev/projects/beed-backend/vendor/api-platform/core/src/Metadata/Resource/Factory/PhpDocResourceMetadataCollectionFactory.php on line 62 and exactly 1 expected
currently using phptan v1.12
How to reproduce
create new ymfony project usinc smyfony cli
add api platform via composer
Possible Solution
repalce with
$phpDocParser = new PhpDocParser(new ParserConfig(),new TypeParser(new ConstExprParser()), new ConstExprParser());
Additional Context
Metadata
Metadata
Assignees
Labels
No labels

