diff options
Diffstat (limited to 'build')
-rw-r--r-- | build/code_sniffer/ruleset-php-legacy.xml | 3 | ||||
-rw-r--r-- | build/code_sniffer/ruleset-php-strict.xml | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/build/code_sniffer/ruleset-php-legacy.xml b/build/code_sniffer/ruleset-php-legacy.xml index b0110e8b12..c740c6080f 100644 --- a/build/code_sniffer/ruleset-php-legacy.xml +++ b/build/code_sniffer/ruleset-php-legacy.xml @@ -86,4 +86,7 @@ <!-- The ?> closing tag MUST be omitted from files containing only PHP. --> <rule ref="Zend.Files.ClosingTag" /> + <!-- There MUST be one space between control structure and opening parenthesis --> + <rule ref="./phpbb/Sniffs/ControlStructures/OpeningParenthesisSniff.php" /> + </ruleset> diff --git a/build/code_sniffer/ruleset-php-strict.xml b/build/code_sniffer/ruleset-php-strict.xml index fdc82f2be8..9e2f0664d8 100644 --- a/build/code_sniffer/ruleset-php-strict.xml +++ b/build/code_sniffer/ruleset-php-strict.xml @@ -45,7 +45,4 @@ <!-- There MUST NOT be unused use statements. --> <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> |