-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpcs.xml
50 lines (45 loc) · 1.66 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?xml version="1.0"?>
<ruleset name="Cog">
<description>Cog PHP_CodeSniffer configuration</description>
<!-- Use all of PSR-2 -->
<rule ref="PSR2"/>
<!-- Re-use some built-sniffs -->
<rule ref="Squiz.Commenting.ClassComment" />
<rule ref="Squiz.Commenting.VariableComment" />
<rule ref="Squiz.Commenting.FunctionComment" />
<rule ref="Squiz.Commenting.FunctionCommentThrowTag" />
<!-- Ignore some rules -->
<rule ref="Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma">
<severity>0</severity>
</rule>
<rule ref="PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket">
<severity>0</severity>
</rule>
<rule ref="PEAR.Functions.FunctionCallSignature.CloseBracketLine">
<severity>0</severity>
</rule>
<rule ref="PEAR.Functions.FunctionCallSignature.MultipleArguments">
<severity>0</severity>
</rule>
<rule ref="Squiz.Functions.MultiLineFunctionDeclaration.SpaceAfterFunction">
<severity>0</severity>
</rule>
<rule ref="PSR1.Classes.ClassDeclaration.MissingNamespace">
<severity>0</severity>
</rule>
<rule ref="Squiz.Commenting.FunctionComment.MissingParamComment">
<severity>0</severity>
</rule>
<rule ref="Squiz.Commenting.ClassComment.SpacingBefore">
<severity>0</severity>
</rule>
<rule ref="Squiz.Classes.ValidClassName.NotCamelCaps">
<severity>0</severity>
</rule>
<rule ref="Squiz.Commenting.VariableComment.MissingShort">
<severity>0</severity>
</rule>
<rule ref="Squiz.Commenting.VariableComment.SpacingBeforeTags">
<severity>0</severity>
</rule>
</ruleset>