New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Internal error: Call to undefined method PhpParser\PrettyPrinter\Standard::pPHPStan_Node_AlwaysRememberedExpr() while analysing file <file> #10086
Comments
This bug report is missing a link to reproduction at phpstan.org/try. It will most likely be closed after manual review. |
Please show a piece of code for which this happens. |
@ondrejmirtes I have 2 files within my project for which this happens, however if i analyse the same file outside the project, it works correctly. I tried clearing the cache, not sure what else i can do to isolate the example. |
Added a reproducer in issue, also here: https://phpstan.org/r/8e8d2879-3325-42a5-bab2-fb34d845472b |
Fixed in BetterReflection by using the same Printer everywhere: ondrejmirtes/BetterReflection@bab47ea Updated in PHPStan: phpstan/phpstan-src#2713 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Bug report
Code snippet that reproduces the problem
https://phpstan.org/r/8e8d2879-3325-42a5-bab2-fb34d845472b
Expected output
Should correctly analyse file, but doesn't.
Did PHPStan help you today? Did it make you happy in any way?
No response
The text was updated successfully, but these errors were encountered: