Bug Report
| Subject |
Details |
| Rector version |
v2.2.3 |
There is "nikic/php-parser": "^4.10" dependency in my project, but rector built-in dependency overrides it. Error throws:
Error: Call to undefined method PhpParser\ParserFactory::create()
Minimal PHP Code Causing Issue
(new ParserFactory())->create(ParserFactory::PREFER_PHP7)
Expected Behaviour
No errors.
Bug Report
There is
"nikic/php-parser": "^4.10"dependency in my project, but rector built-in dependency overrides it. Error throws:Error: Call to undefined method PhpParser\ParserFactory::create()Minimal PHP Code Causing Issue
Expected Behaviour
No errors.