diff options
author | Tristan Darricau <github@nicofuma.fr> | 2014-06-16 22:55:42 +0200 |
---|---|---|
committer | Tristan Darricau <github@nicofuma.fr> | 2014-06-22 23:52:16 +0200 |
commit | fa5afb60aa1879311a5f909b680af7da26647c6b (patch) | |
tree | 3e83730d3a7ef789a39cb236b9eea3d810f8f277 /build/code_sniffer/ruleset-php-strict.xml | |
parent | e46ef86104d457e0c98b7b1376d9cfbf5f1a8c1b (diff) | |
download | forums-fa5afb60aa1879311a5f909b680af7da26647c6b.tar forums-fa5afb60aa1879311a5f909b680af7da26647c6b.tar.gz forums-fa5afb60aa1879311a5f909b680af7da26647c6b.tar.bz2 forums-fa5afb60aa1879311a5f909b680af7da26647c6b.tar.xz forums-fa5afb60aa1879311a5f909b680af7da26647c6b.zip |
[ticket/12726] Ensure PHP files do not contain any unused use statements
PHPBB3-12726
Diffstat (limited to 'build/code_sniffer/ruleset-php-strict.xml')
-rw-r--r-- | build/code_sniffer/ruleset-php-strict.xml | 3 |
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> |