mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/13930] Use OpeningParenthesisSniff in legacy ruleset
PHPBB3-13930
This commit is contained in:
@@ -86,4 +86,7 @@
|
|||||||
<!-- The ?> closing tag MUST be omitted from files containing only PHP. -->
|
<!-- The ?> closing tag MUST be omitted from files containing only PHP. -->
|
||||||
<rule ref="Zend.Files.ClosingTag" />
|
<rule ref="Zend.Files.ClosingTag" />
|
||||||
|
|
||||||
|
<!-- There MUST be one space between control structure and opening parenthesis -->
|
||||||
|
<rule ref="./phpbb/Sniffs/ControlStructures/OpeningParenthesisSniff.php" />
|
||||||
|
|
||||||
</ruleset>
|
</ruleset>
|
||||||
|
@@ -45,7 +45,4 @@
|
|||||||
<!-- There MUST NOT be unused use statements. -->
|
<!-- There MUST NOT be unused use statements. -->
|
||||||
<rule ref="./phpbb/Sniffs/Namespaces/UnusedUseSniff.php" />
|
<rule ref="./phpbb/Sniffs/Namespaces/UnusedUseSniff.php" />
|
||||||
|
|
||||||
<!-- There MUST be one space between control structure and opening parenthesis -->
|
|
||||||
<rule ref="./phpbb/Sniffs/ControlStructures/OpeningParenthesisSniff.php" />
|
|
||||||
|
|
||||||
</ruleset>
|
</ruleset>
|
||||||
|
Reference in New Issue
Block a user