1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-23 18:11:47 +02:00

[task/code-sniffer] Add PSR1.Files.SideEffects.FoundWithSymbols

PHPBB3-11980
This commit is contained in:
Andreas Fischer
2013-10-30 11:40:34 +01:00
parent 49269fbdf4
commit 6ac46ad469

View File

@@ -40,6 +40,9 @@
<!-- A file MUST not contain more than one class/interface -->
<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.
There MUST be one use keyword per declaration.
There MUST be one blank line after the use block. -->