aboutsummaryrefslogtreecommitdiffstats
path: root/build/code_sniffer/ruleset-php-legacy.xml
diff options
context:
space:
mode:
Diffstat (limited to 'build/code_sniffer/ruleset-php-legacy.xml')
-rw-r--r--build/code_sniffer/ruleset-php-legacy.xml3
1 files changed, 3 insertions, 0 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>