diff options
author | Tristan Darricau <github@nicofuma.fr> | 2014-06-15 21:58:57 +0200 |
---|---|---|
committer | Tristan Darricau <github@nicofuma.fr> | 2014-06-16 22:35:45 +0200 |
commit | 13c03b6fcf47a1ce496521b70c2acf37fd9a51b9 (patch) | |
tree | 6d631ab5d9f9f142c83edec180040e8f38012d6b /build | |
parent | a94581e7cae2e7fac6f88b8718866f694e8b01f0 (diff) | |
download | forums-13c03b6fcf47a1ce496521b70c2acf37fd9a51b9.tar forums-13c03b6fcf47a1ce496521b70c2acf37fd9a51b9.tar.gz forums-13c03b6fcf47a1ce496521b70c2acf37fd9a51b9.tar.bz2 forums-13c03b6fcf47a1ce496521b70c2acf37fd9a51b9.tar.xz forums-13c03b6fcf47a1ce496521b70c2acf37fd9a51b9.zip |
[ticket/12721] Add Squiz.Functions.LowercaseFunctionKeywords in legacy
PHPBB3-12721
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 3a1d849135..621942b38b 100644 --- a/build/code_sniffer/ruleset-php-legacy.xml +++ b/build/code_sniffer/ruleset-php-legacy.xml @@ -63,6 +63,9 @@ </rule> <rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterHint" /> + <!-- All PHP built-in functions should be lowercased when called. --> + <rule ref="Squiz.Functions.LowercaseFunctionKeywords" /> + <!-- The eval() function MUST NOT be used. --> <rule ref="Squiz.PHP.Eval" /> |