php-translation / symfony-bundle

Symfony integration for Translations
MIT License
327 stars 94 forks source link

Call to undefined method PhpParser\ParserFactory::createForVersion() #511

Open Aerendir opened 2 months ago

Aerendir commented 2 months ago

Running this command

symfony console translation:check-missing it

The following exception is thrown:

Call to undefined method PhpParser\ParserFactory::createForVersion()

rvanlaak commented 1 month ago

@Aerendir would you have a stack trace for us? This probably is related to the extractor repo, as that is the only one mentioning ParserFactory: https://github.com/search?q=org%3Aphp-translation+ParserFactory&type=code and that repo does have PhpParser as a requirement: https://github.com/php-translation/extractor/blob/master/composer.json