mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 16:35:35 +02:00
[ticket/12722] Add Generic.Formatting.SpaceAfterCast in the legacy ruleset
PHPBB3-12722
This commit is contained in:
@ -20,6 +20,9 @@
|
|||||||
<!-- Call-time pass-by-reference MUST not be used. -->
|
<!-- Call-time pass-by-reference MUST not be used. -->
|
||||||
<rule ref="Generic.Functions.CallTimePassByReference.NotAllowed" />
|
<rule ref="Generic.Functions.CallTimePassByReference.NotAllowed" />
|
||||||
|
|
||||||
|
<!-- There MUST be exactly one space after a cast. -->
|
||||||
|
<rule ref="Generic.Formatting.SpaceAfterCast" />
|
||||||
|
|
||||||
<!-- Class constants MUST be declared in all upper case with underscore separators. -->
|
<!-- Class constants MUST be declared in all upper case with underscore separators. -->
|
||||||
<rule ref="Generic.NamingConventions.UpperCaseConstantName" />
|
<rule ref="Generic.NamingConventions.UpperCaseConstantName" />
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user