per-coding-style
per-coding-style copied to clipboard
Clarify that classes should follow the same modifier order as methods.
This effectively covers readonly classes in PHP 8.2, because the order of readonly
and abstract
is already defined. It also means any future keywords added to either can follow the same ruleset, so we know exactly what is to be expected.