[ticket/12722] Add Generic.Formatting.SpaceAfterCast in the legacy ruleset

PHPBB3-12722
This commit is contained in:
Tristan Darricau 2014-06-15 19:46:12 +02:00
parent 663c375f5c
commit ca3cdadd08
11 changed files with 29 additions and 26 deletions

View file

@ -20,6 +20,9 @@
<!-- Call-time pass-by-reference MUST not be used. -->
<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. -->
<rule ref="Generic.NamingConventions.UpperCaseConstantName" />