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
From what I can gather this is due to phpstan/phpdoc-parser 2.0 being installed due to phpdocumentor/reflection-docblock v.5.6.0 being release which now supports phpdoc-parse 2.0. This no longer allows the Lexer to be instantiated with 0 arguments.
How to reproduce
Running composer update with this composer.json file and then trying to run a HTTP request or CLI command in Symfony.
Symfony version(s) affected
7.1.6
Description
After running a composer update I'm getting the following exception:
From what I can gather this is due to phpstan/phpdoc-parser 2.0 being installed due to phpdocumentor/reflection-docblock v.5.6.0 being release which now supports phpdoc-parse 2.0. This no longer allows the Lexer to be instantiated with 0 arguments.
How to reproduce
Running composer update with this composer.json file and then trying to run a HTTP request or CLI command in Symfony.
Possible Solution
To avoid this issue for now I've added
"phpdocumentor/reflection-docblock": "5.5.1"
to my composer.json dev requirements.Additional Context
No response
The text was updated successfully, but these errors were encountered: