Skip to content

Conversation

@samsonasik
Copy link
Member

Description

Apply ForeachItemsAssignToEmptyArrayToAssignRector to change foreach() items assign to empty array to direct assign.

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value (without duplication)
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

@samsonasik
Copy link
Member Author

Ready to merge 👍

@samsonasik
Copy link
Member Author

Thank you @michalsn @paulbalandan for the review, let's merge 👍

@samsonasik samsonasik merged commit 2ee8805 into codeigniter4:develop Oct 3, 2025
49 checks passed
@samsonasik samsonasik deleted the refactor-apply-code-quality-41 branch October 3, 2025 11:07
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