-
Notifications
You must be signed in to change notification settings - Fork 7
/
phpcs.xml.dist
42 lines (37 loc) · 1.8 KB
/
phpcs.xml.dist
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
<?xml version="1.0"?>
<ruleset name="Incoming">
<description>The coding standard for the Incoming project</description>
<file>src/</file>
<file>tests/</file>
<arg name="tab-width" value="4" />
<!-- Rules -->
<rule ref="PSR2" />
<rule ref="Generic.Files.LineLength">
<properties>
<property name="lineLimit" value="120" />
</properties>
</rule>
<rule ref="Generic.Commenting.DocComment">
<exclude-pattern>tests/</exclude-pattern>
<exclude name="Generic.Commenting.DocComment.TagValueIndent" />
<exclude name="Generic.Commenting.DocComment.NonParamGroup" />
<exclude name="Generic.Commenting.DocComment.ParamNotFirst" />
</rule>
<rule ref="Squiz.Commenting">
<exclude-pattern>tests/</exclude-pattern>
<exclude name="Squiz.Commenting.FileComment" />
<exclude name="Squiz.Commenting.ClassComment.TagNotAllowed" />
<exclude name="Squiz.Commenting.VariableComment.IncorrectVarType" />
<exclude name="Squiz.Commenting.FunctionComment.SpacingAfterParamType" />
<exclude name="Squiz.Commenting.FunctionComment.SpacingAfterParamName" />
<exclude name="Squiz.Commenting.FunctionComment.IncorrectParamVarName" />
<exclude name="Squiz.Commenting.FunctionComment.InvalidReturn" />
<exclude name="Squiz.Commenting.BlockComment.WrongStart" />
<exclude name="Squiz.Commenting.BlockComment.WrongEnd" />
<exclude name="Squiz.Commenting.InlineComment.DocBlock" />
<exclude name="Squiz.Commenting.InlineComment.NotCapital" />
<exclude name="Squiz.Commenting.InlineComment.InvalidEndChar" />
<exclude name="Squiz.Commenting.InlineComment.SpacingAfter" />
<exclude name="Squiz.Commenting.ClosingDeclarationComment" />
</rule>
</ruleset>