mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-23 18:11:47 +02:00
[task/code-sniffer] Add Generic.Functions.CallTimePassByReference
PHPBB3-11980
This commit is contained in:
@@ -17,6 +17,9 @@
|
|||||||
<!-- There MUST not be more than one statement per line. -->
|
<!-- There MUST not be more than one statement per line. -->
|
||||||
<rule ref="Generic.Formatting.DisallowMultipleStatements" />
|
<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. -->
|
<!-- Class constants MUST be declared in all upper case with underscore separators. -->
|
||||||
<rule ref="Generic.NamingConventions.UpperCaseConstantName" />
|
<rule ref="Generic.NamingConventions.UpperCaseConstantName" />
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user