Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathphpcs.xml
More file actions
Latest commit
49 lines (44 loc) · 1.49 KB
/
Copy pathphpcs.xml
File metadata and controls
49 lines (44 loc) · 1.49 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
<?xml version="1.0"?>
<rulesetname="Coding Standard">
<argname="basepath"value="."/>
<argname="colors"/>
<argvalue="sp"/>
<configname="ignore_warnings_on_exit"value="1"/>
<file>./src</file>
<file>./tests</file>
<file>./config</file>
<!-- <rule ref="PSR2"></rule> -->
<ruleref="PSR12"></rule>
<ruleref="Squiz.Commenting.ClassComment">
<excludename="Squiz.Commenting.ClassComment.TagNotAllowed"/>
<type>warning</type>
<exclude-pattern>*/tests/</exclude-pattern>
</rule>
<ruleref="Squiz.Commenting.ClassComment.Missing">
<type>warning</type>
</rule>
<ruleref="Squiz.Commenting.FunctionComment.Missing">
<type>warning</type>
<exclude-pattern>*/config/</exclude-pattern>
</rule>
<ruleref="Squiz.Commenting.FunctionComment.MissingParamTag">
<type>warning</type>
</rule>
<ruleref="Squiz.Commenting.FunctionComment.MissingParamComment">
<type>warning</type>
</rule>
<ruleref="Squiz.Commenting.FunctionComment.ParamCommentNotCapital">
<type>warning</type>
</rule>
<ruleref="Generic.Metrics.CyclomaticComplexity">
<properties>
<propertyname="absoluteComplexity"value="50"/>
</properties>
</rule>
<ruleref="Generic.Metrics.NestingLevel">
<properties>
<propertyname="nestingLevel"value="2"/>
<propertyname="absoluteNestingLevel"value="4"/>
</properties>
</rule>
</ruleset>