mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-21 09:01:29 +02:00
[ticket/12721] Add Squiz.Arrays.ArrayBracketSpacing in the legacy ruleset
PHPBB3-12721
This commit is contained in:
@@ -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">
|
||||||
|
Reference in New Issue
Block a user