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
crash in sandbox #4135
Comments
ohh wow that was fast <3. could you give me a hint what I might miss, when phpstan reports |
As with anything - reproduce it on phpstan.org so I can take a look. |
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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Bug report
I am in the process of reproducing a issue we see in rectorphp/rector#4708
in which I try to find out why we get a
Unable to resolve the template type T in call to method Rector\\Core\\PhpParser\\Node\\BetterNodeFinder\:\:findFirstParentInstanceOf\(\)
error.while creating a re-production case in the demo sandbox, I can see a error
I know my code is not "well" but it should at least not crash phpstan :)
Code snippet that reproduces the problem
https://phpstan.org/r/071bc230-81fa-40f4-b1bf-76360cf34e85
Expected output
I guess this shouldn't error that fatal :).
maybe the sandbox should even report the underlying error (run phpstan itself with
--debug
) - so all information at hand could just be put into this issue.The text was updated successfully, but these errors were encountered: