-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml
More file actions
30 lines (30 loc) · 1.12 KB
/
phpcs.xml
File metadata and controls
30 lines (30 loc) · 1.12 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
<?xml version="1.0"?>
<ruleset name="Robtimus">
<rule ref="PSR2"/>
<rule ref="PEAR">
<exclude name="PEAR.Commenting.FileComment"/>
<!-- The following two require leading underscores in private member names,
and conflict with PSR2 which does not allow leading underscores in private member names -->
<exclude name="PEAR.NamingConventions.ValidFunctionName"/>
<exclude name="PEAR.NamingConventions.ValidVariableName"/>
</rule>
<rule ref="Generic.Commenting.DocComment">
<exclude-pattern>*/tests/*</exclude-pattern>
</rule>
<rule ref="Generic.Files.LineLength">
<properties>
<property name="lineLimit" value="150"/>
</properties>
</rule>
<rule ref="PEAR.Commenting.ClassComment">
<exclude name="PEAR.Commenting.ClassComment.MissingCategoryTag"/>
<exclude name="PEAR.Commenting.ClassComment.MissingLinkTag"/>
<exclude-pattern>*/tests/*</exclude-pattern>
</rule>
<rule ref="PEAR.Commenting.FunctionComment">
<properties>
<property name="minimumVisibility" value="protected"/>
</properties>
<exclude-pattern>*/tests/*</exclude-pattern>
</rule>
</ruleset>