We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
NullsafeOperatorRector
When having the following code the NullsafeOperatorRector crashes. I am not exactly sure why, but left a demo to show it.
https://getrector.org/demo/1ebfc1d2-6817-6c7a-9757-fbafc5b16667
That it doesn't crash 👍
The text was updated successfully, but these errors were encountered:
Thank you for your report and demo link!
Could you send a failing test case in a pull-request, so we have it covered in Rector? Here is step by step tutorial how to add it: https://github.com/rectorphp/rector/blob/master/docs/how_to_add_test_for_rector_rule.md
Sorry, something went wrong.
Yeah, just got a bit lazy after creating two other bug reports for this one 😅
I'll do it later 👍
Updated Rector to commit 7bbe9ba2af41fbb64a2817cd44d19665aa79f186
24e1aac
rectorphp/rector-src@7bbe9ba [DX] Warn about ->withPhpSets() called multiple times, to avoid invalid set mix (#6632)
Successfully merging a pull request may close this issue.
Bug Report
When having the following code the
NullsafeOperatorRector
crashes. I am not exactly sure why, but left a demo to show it.Minimal PHP Code Causing Issue
https://getrector.org/demo/1ebfc1d2-6817-6c7a-9757-fbafc5b16667
Expected Behaviour
That it doesn't crash 👍
The text was updated successfully, but these errors were encountered: