Skip to content

MAGE-1383 Address Codacy complaints #1798

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 7 commits into
base: release/3.17.0-dev
Choose a base branch
from

Conversation

cammonro
Copy link
Contributor

Summary

Certain rulesets are triggering on Codacy that may be false positives. This PR aims to address them.

Adding unit tests to ensure parity with these changes.

Result

image

@cammonro
Copy link
Contributor Author

These static rules seem pretty antiquated and switching to things like imperative for loops would not be the right way to go here IMO. Declarative style is the right approach for PHP 8.2+. Putting this on hold for now.

@cammonro cammonro force-pushed the chore/MAGE-1383-codacy-complaints branch from a153bba to 987d550 Compare August 12, 2025 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant