mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-25 11:28:55 +00:00
[task/code-sniffer] Add PSR1.Files.SideEffects.FoundWithSymbols
PHPBB3-11980
This commit is contained in:
parent
49269fbdf4
commit
6ac46ad469
1 changed files with 3 additions and 0 deletions
|
@ -40,6 +40,9 @@
|
||||||
<!-- A file MUST not contain more than one class/interface -->
|
<!-- A file MUST not contain more than one class/interface -->
|
||||||
<rule ref="PSR1.Classes.ClassDeclaration.MultipleClasses" />
|
<rule ref="PSR1.Classes.ClassDeclaration.MultipleClasses" />
|
||||||
|
|
||||||
|
<!-- Files containing classes MUST not have any side-effects -->
|
||||||
|
<rule ref="PSR1.Files.SideEffects.FoundWithSymbols" />
|
||||||
|
|
||||||
<!-- When present, all use declarations MUST go after the namespace declaration.
|
<!-- When present, all use declarations MUST go after the namespace declaration.
|
||||||
There MUST be one use keyword per declaration.
|
There MUST be one use keyword per declaration.
|
||||||
There MUST be one blank line after the use block. -->
|
There MUST be one blank line after the use block. -->
|
||||||
|
|
Loading…
Add table
Reference in a new issue