diff options
author | Tristan Darricau <github@nicofuma.fr> | 2014-06-15 22:03:39 +0200 |
---|---|---|
committer | Tristan Darricau <github@nicofuma.fr> | 2014-06-16 01:26:59 +0200 |
commit | 5a320adc75faffe27d9d0b822e30106f1d27f2c2 (patch) | |
tree | 931168347e8ff810c1cd9f77137420ffe4303f8f /build | |
parent | 3a96c5b753cbbde459f9835e952b2cb75008a9fc (diff) | |
download | forums-5a320adc75faffe27d9d0b822e30106f1d27f2c2.tar forums-5a320adc75faffe27d9d0b822e30106f1d27f2c2.tar.gz forums-5a320adc75faffe27d9d0b822e30106f1d27f2c2.tar.bz2 forums-5a320adc75faffe27d9d0b822e30106f1d27f2c2.tar.xz forums-5a320adc75faffe27d9d0b822e30106f1d27f2c2.zip |
[ticket/12724] Add Squiz.PHP.Eval in the legacy ruleset
PHPBB3-12724
Diffstat (limited to 'build')
-rw-r--r-- | build/code_sniffer/ruleset-php-legacy.xml | 3 |
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 65eb0a8622..716215b48f 100644 --- a/build/code_sniffer/ruleset-php-legacy.xml +++ b/build/code_sniffer/ruleset-php-legacy.xml @@ -41,6 +41,9 @@ </rule> <rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterHint" /> + <!-- The eval() function MUST NOT be used. --> + <rule ref="Squiz.PHP.Eval" /> + <!-- There MUST NOT be trailing whitespace at the end of lines. --> <rule ref="Squiz.WhiteSpace.SuperfluousWhitespace" /> |