[ticket/12721] Add Squiz.Arrays.ArrayBracketSpacing in the legacy ruleset

PHPBB3-12721
This commit is contained in:
Tristan Darricau 2014-06-15 20:52:51 +02:00
parent 1aec0d29fd
commit 34a4ba36cd
3 changed files with 7 additions and 4 deletions

View file

@ -38,6 +38,9 @@
<!-- Each file MUST end with exactly one newline character --> <!-- Each file MUST end with exactly one newline character -->
<rule ref="PSR2.Files.EndFileNewline" /> <rule ref="PSR2.Files.EndFileNewline" />
<!-- When referencing arrays you should not put whitespace around the opening bracket or before the closing bracket. -->
<rule ref="Squiz.Arrays.ArrayBracketSpacing" />
<!-- In the argument list, there MUST NOT be a space before each comma, <!-- In the argument list, there MUST NOT be a space before each comma,
and there MUST be one space after each comma. --> and there MUST be one space after each comma. -->
<rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing"> <rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing">