Skip to content

Conversation

@samsonasik
Copy link
Member

@samsonasik samsonasik commented Mar 29, 2025

Ref #466 (comment)
Ref https://getrector.com/demo/b6a49070-ed48-44a0-885c-54dabbfdbf22

second assert is inserted before variable definition so cause undefined variable

Undefined variable $someObject2

…e on AddInstanceofAssertForNullableInstanceRector
@samsonasik
Copy link
Member Author

Fixed 🎉

@samsonasik
Copy link
Member Author

All checks have passed 🎉 @TomasVotruba I am merging it ;)

@samsonasik samsonasik merged commit 67632c0 into main Mar 29, 2025
6 checks passed
@samsonasik samsonasik deleted the multiple-assert branch March 29, 2025 13:41
@samsonasik samsonasik mentioned this pull request Apr 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants