mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/12721] Add Squiz.Arrays.ArrayBracketSpacing in the legacy ruleset
PHPBB3-12721
This commit is contained in:
parent
1aec0d29fd
commit
34a4ba36cd
3 changed files with 7 additions and 4 deletions
|
@ -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">
|
||||||
|
|
Loading…
Add table
Reference in a new issue