-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml
More file actions
60 lines (53 loc) · 2.93 KB
/
phpcs.xml
File metadata and controls
60 lines (53 loc) · 2.93 KB
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
59
60
<?xml version="1.0"?>
<ruleset name="ruleset">
<description>
</description>
<exclude-pattern>Tests/*</exclude-pattern>
<exclude-pattern>Examples/*</exclude-pattern>
<exclude-pattern>Build/*</exclude-pattern>
<exclude-pattern>bin/*</exclude-pattern>
<exclude-pattern>vendor/*</exclude-pattern>
<rule ref="PSR2"/>
<rule ref="Generic.Files.LineLength">
<properties>
<property name="lineLimit" value="120"/>
<property name="absoluteLineLimit" value="150"/>
</properties>
</rule>
<rule ref="Squiz.Commenting.FunctionComment">
<exclude name="Squiz.Commenting.FunctionComment.MissingShort"/>
<exclude name="Squiz.Commenting.FunctionComment.MissingParamComment"/>
<exclude name="Squiz.Commenting.FunctionComment.ParameterCommentsNotAligned"/>
<exclude name="Squiz.Commenting.FunctionComment.ParameterNamesNotAligned"/>
<exclude name="Squiz.Commenting.FunctionComment.SpacingAfterParams"/>
<exclude name="Squiz.Commenting.FunctionComment.ShortFullStop"/>
<exclude name="Squiz.Commenting.FunctionComment.ShortNotCapital"/>
<exclude name="Squiz.Commenting.FunctionComment.ShortSingleLine"/>
<exclude name="Squiz.Commenting.FunctionComment.EmptyThrows"/>
<exclude name="Squiz.Commenting.FunctionComment.SeeIndent"/>
<exclude name="Squiz.Commenting.FunctionComment.ParamCommentFullStop"/>
<exclude name="Squiz.Commenting.FunctionComment.ParamCommentNotCapital"/>
<exclude name="Squiz.Commenting.FunctionComment.LongNotCapital"/>
<exclude name="Squiz.Commenting.FunctionComment.ThrowsNotCapital"/>
<exclude name="Squiz.Commenting.FunctionComment.ThrowsNoFullStop"/>
<exclude name="Squiz.Commenting.FunctionComment.SpacingBeforeParamType"/>
<exclude name="Squiz.Commenting.FunctionComment.ScalarTypeHintMissing"/>
<exclude name="Squiz.Commenting.FunctionComment.TypeHintMissing"/>
<exclude name="Squiz.Commenting.FunctionComment.TagNotAllowed"/>
</rule>
<rule ref="Squiz.Commenting.FunctionCommentThrowTag"/>
<rule ref="Squiz.Commenting.ClassComment">
<exclude name="Squiz.Commenting.ClassComment.TagNotAllowed"/>
<exclude name="Squiz.Commenting.ClassComment.ShortFullStop"/>
<exclude name="Squiz.Commenting.ClassComment.ShortSingleLine"/>
<exclude name="Squiz.Commenting.ClassComment.SpacingBeforeTags"/>
<exclude name="Squiz.Commenting.ClassComment.ShortNotCapital"/>
</rule>
<rule ref="Squiz.Commenting.VariableComment">
<exclude name="Squiz.Commenting.VariableComment.TagNotAllowed"/>
<exclude name="Squiz.Commenting.VariableComment.MissingShort"/>
<exclude name="Squiz.Commenting.VariableComment.SpacingBeforeTags"/>
<exclude name="Squiz.Commenting.VariableComment.ShortFullStop"/>
<exclude name="Squiz.Commenting.VariableComment.ShortNotCapital"/>
</rule>
</ruleset>