Skip to content

Conversation

@Orest-Divintari
Copy link
Contributor

There is already a rule to convert foreach that contains a break statement with array_all. This pr is to add support to the existing rule to convert foreach with early return to array_all

@samsonasik
Copy link
Member

Looks good, let's give it a try, thank you @Orest-Divintari

@samsonasik samsonasik merged commit 1618d2d into rectorphp:main Sep 23, 2025
50 checks passed
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