Skip to content

Conversation

@samsonasik
Copy link
Member

@samsonasik samsonasik commented Oct 2, 2025

move to before its usage.

@samsonasik samsonasik enabled auto-merge (squash) October 2, 2025 23:17
@samsonasik samsonasik merged commit 73031f7 into main Oct 2, 2025
50 checks passed
@samsonasik samsonasik deleted the avoid-too-early-find branch October 2, 2025 23:18
@TomasVotruba
Copy link
Member

Thanks. Could we have this one as Rector rule? I saw this pattern so many times

@samsonasik
Copy link
Member Author

@TomasVotruba we had MoveVariableDeclarationNearReferenceRector in the past, and you removed it at PR:

@TomasVotruba
Copy link
Member

I see :) the nested reference is a problem indeed. Thanks, let's skip this one then

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.

3 participants