Commit e9abe34
committed
minor #286 [PHP-CS-Fixer] Add
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 configordered_class_elements rule (OskarStark)1 file changed
+19
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
42 | 61 | | |
43 | 62 | | |
44 | 63 | | |
| |||
0 commit comments