ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 29,047
- Points
- 823
Reputation:
Probably doesn't bother anyone except me, but anyway:
XenForo PHP code usually uses all keywords (if, break, switch, etc.) in lowercase - except for
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...
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...