-
Notifications
You must be signed in to change notification settings - Fork 94
/
ruleset.xml
58 lines (48 loc) · 2.08 KB
/
ruleset.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?xml version="1.0"?>
<ruleset name="Minds">
<description>Minds PHP coding standards</description>
<rule ref="PSR2">
<exclude name="Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword"/>
<exclude name="Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis"/>
<exclude name="Squiz.ControlStructures.SwitchDeclaration.DefaultNoBreak"/>
<exclude name="PSR2.Classes.ClassDeclaration.OpenBraceNewLine" />
<exclude name="Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine"/>
<exclude name="PSR1.Methods.CamelCapsMethodName"/>
<exclude name="Squiz.Classes.ValidClassName"/>
<exclude name="PEAR.Functions.FunctionCallSignature"/>
<exclude name="PEAR.Functions.FunctionCallSignature.SpaceAfterCloseBracket"/>
<exclude name="PEAR.WhiteSpace.ScopeIndent"/>
</rule>
<rule ref="Generic.WhiteSpace.ScopeIndent">
<properties>
<property name="indent" value="2"/>
</properties>
</rule>
<rule ref="Generic.WhiteSpace.ScopeIndent.Incorrect">
<severity>10</severity>
</rule>
<rule ref="Generic.WhiteSpace.DisallowTabIndent" />
<rule ref="Generic.Arrays.DisallowLongArraySyntax.Found">
<type>warning</type>
</rule>
<rule ref="Generic.Files.LineLength">
<properties>
<property name="lineLimit" value="180"/>
<property name="absoluteLineLimit" value="0"/>
</properties>
</rule>
<rule ref="Squiz.Classes.LowercaseClassKeywords" />
<rule ref="Squiz.Commenting.DocCommentAlignment" />
<rule ref="Squiz.Commenting.PostStatementComment" />
<!--<rule ref="Squiz.ControlStructures.ControlSignature" />-->
<!--<rule ref="Squiz.ControlStructures.ForLoopDeclaration" />
<rule ref="Squiz.ControlStructures.ForEachLoopDeclaration" />
<rule ref="Squiz.ControlStructures.SwitchDeclaration" />-->
<rule ref="Squiz.WhiteSpace">
<exclude name="Squiz.WhiteSpace.FunctionSpacing.Before"/>
<exclude name="Squiz.WhiteSpace.FunctionSpacing.After"/>
<exclude name="Squiz.WhiteSpace.SuperfluousWhitespace"/>
<exclude name="Squiz.WhiteSpace.FunctionClosingBraceSpace"/>
<!--<exclude name="Squiz.WhiteSpace.LanguageConstructSpacing.Incorrect"/>-->
</rule>
</ruleset>