mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[task/code-sniffer] Add Generic.Formatting.DisallowMultipleStatements
PHPBB3-11980
This commit is contained in:
parent
69a766fe79
commit
94334992ec
1 changed files with 3 additions and 0 deletions
|
@ -14,6 +14,9 @@
|
||||||
<!-- 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" />
|
||||||
|
|
||||||
|
<!-- There MUST not be more than one statement per line. -->
|
||||||
|
<rule ref="Generic.Formatting.DisallowMultipleStatements" />
|
||||||
|
|
||||||
<!-- 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" />
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue