You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor #286 [PHP-CS-Fixer] Add ordered_class_elements rule (OskarStark)
This PR was merged into the main branch.
Discussion
----------
[PHP-CS-Fixer] Add `ordered_class_elements` rule
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| Docs? | no
| Issues | --
| License | MIT
The ``@Symfony`` ruleset doesn't enforce method ordering by default. Added explicit configuration to ensure public methods come before private methods, along with proper ordering for all class elements.
Commits
-------
2f06497 Add ordered_class_elements rule to PHP-CS-Fixer config
0 commit comments