diff options
Diffstat (limited to 'build/code_sniffer')
-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 669393f844..247313441d 100644 --- a/build/code_sniffer/ruleset-php-legacy.xml +++ b/build/code_sniffer/ruleset-php-legacy.xml @@ -17,6 +17,9 @@ <!-- There MUST not be more than one statement per line. --> <rule ref="Generic.Formatting.DisallowMultipleStatements" /> + <!-- Call-time pass-by-reference MUST not be used. --> + <rule ref="Generic.Functions.CallTimePassByReference.NotAllowed" /> + <!-- Class constants MUST be declared in all upper case with underscore separators. --> <rule ref="Generic.NamingConventions.UpperCaseConstantName" /> |