mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 05:18:52 +00:00
[task/code-sniffer] Cleanup code sniffer ruleset files.
PHPBB3-11980
This commit is contained in:
parent
5b66083120
commit
99fccb6f19
2 changed files with 3 additions and 5 deletions
|
@ -7,9 +7,7 @@
|
||||||
|
|
||||||
<!-- The body of each structure MUST be enclosed by braces. -->
|
<!-- The body of each structure MUST be enclosed by braces. -->
|
||||||
<rule ref="Generic.ControlStructures.InlineControlStructure" />
|
<rule ref="Generic.ControlStructures.InlineControlStructure" />
|
||||||
|
|
||||||
<!-- All PHP files MUST end with a single blank line. -->
|
|
||||||
|
|
||||||
<!-- 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" />
|
||||||
|
|
||||||
|
|
|
@ -24,13 +24,13 @@
|
||||||
|
|
||||||
<!-- There MUST NOT be trailing whitespace at the end of lines. -->
|
<!-- There MUST NOT be trailing whitespace at the end of lines. -->
|
||||||
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace" />
|
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace" />
|
||||||
|
|
||||||
<!-- There MUST NOT be whitespace before the first content of a file -->
|
<!-- There MUST NOT be whitespace before the first content of a file -->
|
||||||
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace.StartFile" />
|
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace.StartFile" />
|
||||||
|
|
||||||
<!-- There MUST NOT be whitespace after the last content of a file -->
|
<!-- There MUST NOT be whitespace after the last content of a file -->
|
||||||
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace.EndFile" />
|
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace.EndFile" />
|
||||||
|
|
||||||
<!-- Functions MUST NOT contain multiple empty lines in a row -->
|
<!-- Functions MUST NOT contain multiple empty lines in a row -->
|
||||||
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace.EmptyLines" />
|
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace.EmptyLines" />
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue