-
Notifications
You must be signed in to change notification settings - Fork 5
/
phpcs.xml
33 lines (26 loc) · 1.23 KB
/
phpcs.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?xml version="1.0"?>
<ruleset name="lucille">
<description>Lucille coding standard</description>
<arg name="colors"/>
<arg value="np"/>
<file>src/</file>
<file>tests/</file>
<rule ref="PSR2">
<exclude name="PSR2.Classes.ClassDeclaration" />
<exclude name="Squiz.Functions.MultiLineFunctionDeclaration" />
<exclude name="Generic.NamingConventions.UpperCaseConstantName" />
<exclude name="PSR2.ControlStructures.SwitchDeclaration" />
</rule>
<rule ref="Generic.Functions.OpeningFunctionBraceKernighanRitchie" />
<rule ref="Generic.CodeAnalysis.ForLoopShouldBeWhileLoop"/>
<rule ref="Generic.CodeAnalysis.ForLoopWithTestFunctionCall"/>
<rule ref="Generic.CodeAnalysis.JumbledIncrementer"/>
<rule ref="Generic.CodeAnalysis.UnconditionalIfStatement"/>
<rule ref="Generic.CodeAnalysis.UnnecessaryFinalModifier"/>
<rule ref="Generic.CodeAnalysis.UselessOverridingMethod"/>
<rule ref="Generic.ControlStructures.InlineControlStructure"/>
<rule ref="Generic.Formatting.DisallowMultipleStatements"/>
<rule ref="Generic.PHP.NoSilencedErrors"/>
<rule ref="Generic.WhiteSpace.ScopeIndent"/>
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace"/>
</ruleset>