-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathruleset.xml
41 lines (31 loc) · 1.32 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
<?xml version="1.0"?>
<ruleset name="Athens Framework Code Standard">
<description>
PHP code standard for the Athens Framework.
This standard is an extension of PSR2, with the exception of control structure spacing.
</description>
<!-- Include all sniffs in the PSR2 standard. -->
<rule ref="PSR2">
<exclude name="PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace"/>
</rule>
<!--<rule ref="Squiz.Arrays.ArrayDeclaration"/>-->
<rule ref="Squiz.PHP.CommentedOutCode"/>
<rule ref="Squiz.Commenting.VariableComment"/>
<rule ref="Squiz.Commenting.ClassComment">
<exclude name="Squiz.Commenting.ClassComment.TagNotAllowed"/>
</rule>
<rule ref="Squiz.Commenting.FunctionComment">
<exclude name="Squiz.Commenting.FunctionComment.MissingParamComment"/>
<exclude name="Squiz.Commenting.FunctionComment.ThrowsNotCapital"/>
<exclude name="Squiz.Commenting.FunctionComment.ScalarTypeHintMissing"/>
</rule>
<rule ref="Squiz.Operators.ComparisonOperatorUsage" />
<rule ref="Squiz.WhiteSpace.FunctionSpacing">
<properties>
<property name="spacing" value="1"/>
</properties>
</rule>
<rule ref="Squiz.WhiteSpace.FunctionSpacing.After">
<severity>0</severity>
</rule>
</ruleset>