mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[task/code-sniffer] Add Generic.Functions.CallTimePassByReference
PHPBB3-11980
This commit is contained in:
parent
94334992ec
commit
63ce04d565
1 changed files with 3 additions and 0 deletions
|
@ -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" />
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue