Skip to content

Conversation

@samsonasik
Copy link
Member

Continue of PR:

@staabm this is to properly handle goto label never used after exit.

@staabm
Copy link
Contributor

staabm commented Jun 25, 2025

I still think goto is so rare that its not worth investing all the time. IMO you are unnecessarily complicating the implementation while maybe even introduce new bugs

@samsonasik
Copy link
Member Author

I am thinking of proper way of silent void handling :)

@samsonasik samsonasik merged commit 3dacd70 into main Jun 25, 2025
45 checks passed
@samsonasik samsonasik deleted the too-early branch June 25, 2025 09:46
samsonasik added a commit that referenced this pull request Jun 25, 2025
@samsonasik
Copy link
Member Author

@staabm after some thinking, you're right, it make complicated, I will revert as this usage seems rare :)

samsonasik added a commit that referenced this pull request Jun 25, 2025
* Revert "[CodeQuality] Properly handle Goto_ on ExplicitReturnNullRector take 3 (#7020)"

This reverts commit 3dacd70.

* Revert "[CodeQuality] Properly handle Goto_ on ExplicitReturnNullRector take 2 (#7019)"

This reverts commit 0966124.

* Revert "[CodeQuality] Properly handle Goto_ on ExplicitReturnNullRector (#7018)"

This reverts commit c671491.
@github-actions
Copy link
Contributor

This pull request has been automatically locked because it has been closed for 150 days. Please open a new PR if you want to continue the work.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 27, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants