aboutsummaryrefslogtreecommitdiffstats
path: root/build/code_sniffer/ruleset-php-strict.xml
diff options
context:
space:
mode:
Diffstat (limited to 'build/code_sniffer/ruleset-php-strict.xml')
-rw-r--r--build/code_sniffer/ruleset-php-strict.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/build/code_sniffer/ruleset-php-strict.xml b/build/code_sniffer/ruleset-php-strict.xml
index 59db73dec4..9e2f0664d8 100644
--- a/build/code_sniffer/ruleset-php-strict.xml
+++ b/build/code_sniffer/ruleset-php-strict.xml
@@ -42,4 +42,7 @@
<!-- There MUST be one blank line after the namespace declaration -->
<rule ref="PSR2.Namespaces.NamespaceDeclaration" />
+ <!-- There MUST NOT be unused use statements. -->
+ <rule ref="./phpbb/Sniffs/Namespaces/UnusedUseSniff.php" />
+
</ruleset>