-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Closed
Labels
BugHelp wantedIssues and PRs which are looking for volunteers to complete them.Issues and PRs which are looking for volunteers to complete them.PropertyInfoStatus: Reviewed
Description
Symfony version(s) affected
5.4, 6.4, 7.2
Description
A new version of PHPStan's parser has been released (2.0.0).
Installation with 2.0.0 causes issues with the following code:
$this->phpDocParser = new PhpDocParser(new TypeParser(new ConstExprParser()), new ConstExprParser()); |
Because ConstExprParser
now has required constructor arguments.
Since this is an optional dependency, how are we going to handle it?
How to reproduce
In my case it was any project using symfony/serializer-pack
. Since this also installed the phpstan/phpdoc-parser
with any version, I received 2.0.0.
Possible Solution
No response
Additional Context
No response
adamwojs
Metadata
Metadata
Assignees
Labels
BugHelp wantedIssues and PRs which are looking for volunteers to complete them.Issues and PRs which are looking for volunteers to complete them.PropertyInfoStatus: Reviewed