Deprecate and remove UppercaseForeachAsFixer

Kirby

Well-known member
Probably doesn't bother anyone except me, but anyway:

XenForo PHP code usually uses all keywords (if, break, switch, etc.) in lowercase - except for AS which is uppercase.
The official code standard even includes a fixer to keep this uppercase (PER-CS2.0, the base for XenForo code standard, requires them to be lowercase inherited from PSR-12).

It feels awkward (to me) to have this single keyword uppercase while all others are lowercase so I suggest to just standardize this to lowercase as well.
 
Upvote 0
Back
Top Bottom