Deprecate and remove UppercaseForeachAsFixer

Status
This content is read-only, or is not open for further replies.

Kirby

Guest
offline
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...

Read more

Continue reading...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom