forked from metaregistrar/api-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml
More file actions
58 lines (52 loc) · 3.03 KB
/
phpcs.xml
File metadata and controls
58 lines (52 loc) · 3.03 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
<?xml version="1.0"?>
<ruleset name="Metaregistrar phpCS standards">
<description>
</description>
<exclude-pattern>src/Tests/*</exclude-pattern>
<exclude-pattern>src/DependencyInjection/*</exclude-pattern>
<!-- This is the rule we inherit from. If you want to exlude some specific rules, see the docs on how to do that -->
<rule ref="PSR2"/>
<!-- Lines can be a little bit longer before they break the build -->
<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.IncorrectTypeHint"/>
</rule>
<rule ref="Squiz.Commenting.FunctionCommentThrowTag"/>
<rule ref="Squiz.Commenting.ClassComment">
<exclude name="Squiz.Commenting.ClassComment.ShortFullStop"/>
<exclude name="Squiz.Commenting.ClassComment.ShortSingleLine"/>
<exclude name="Squiz.Commenting.ClassComment.SpacingBeforeTags"/>
<exclude name="Squiz.Commenting.ClassComment.ShortNotCapital"/>
<exclude name="Squiz.Commenting.ClassComment.TagNotAllowed"/>
</rule>
<rule ref="Squiz.Commenting.VariableComment">
<exclude name="Squiz.Commenting.VariableComment.MissingShort"/>
<exclude name="Squiz.Commenting.VariableComment.SpacingBeforeTags"/>
<exclude name="Squiz.Commenting.VariableComment.ShortFullStop"/>
<exclude name="Squiz.Commenting.VariableComment.ShortNotCapital"/>
<exclude name="Squiz.Commenting.VariableComment.TagNotAllowed"/>
</rule>
</ruleset>