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
hmm, I don't really understand why phpstan is failing. The error is "Call to an undefined method PhpParser\ParserFactory::createForVersion().", but nikic/php-parser 5.6 is used. I also can't reproduce it.
2025-11-29T09:22:25.2604321Z Note: Using configuration file /github/workspace/phpstan.neon.dist.
2025-11-29T09:22:27.9513126Z ##[error]Call to an undefined method PhpParser\ParserFactory::createForVersion().
2025-11-29T09:22:27.9576274Z ------ ----------------------------------------------
2025-11-29T09:22:27.9579244Z Line FileExtractor/PHPFileExtractor.php
2025-11-29T09:22:27.9579992Z ------ ----------------------------------------------
2025-11-29T09:22:27.9580522Z 36 Call to an undefined method
2025-11-29T09:22:27.9584985Z PhpParser\ParserFactory::createForVersion().
2025-11-29T09:22:27.9585510Z ------ ----------------------------------------------
2025-11-29T09:22:27.9586010Z
2025-11-29T09:22:27.9586288Z
2025-11-29T09:22:27.9586566Z [ERROR] Found 1 error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Since Symfony 7.4 properties in Validator Metadata classes are private, so we have to use getters here.