-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphpcs.xml
44 lines (38 loc) · 1.58 KB
/
phpcs.xml
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
<?xml version="1.0"?>
<ruleset name="RKGeronimo">
<description>PSR2 with PEAR commenting and enforced line limit</description>
<rule ref="PSR2"/>
<rule ref="Generic.Arrays.DisallowShortArraySyntax"/>
<rule ref="Generic.ControlStructures">
<exclude name="Generic.ControlStructures.DisallowYodaConditions" />
</rule>
<rule ref="Generic.Debug"/>
<rule ref="Generic.Metrics"/>
<rule ref="Generic.VersionControl"/>
<rule ref="Generic.Formatting.MultipleStatementAlignment"/>
<rule ref="PEAR.Commenting">
<exclude name="PEAR.Commenting.FileComment" />
<exclude name="PEAR.Commenting.ClassComment.MissingPackageTag" />
<exclude name="PEAR.Commenting.ClassComment.MissingCategoryTag" />
<exclude name="PEAR.Commenting.ClassComment.MissingLicenseTag" />
<exclude name="PEAR.Commenting.ClassComment.MissingLinkTag" />
<exclude name="PEAR.Commenting.FunctionComment.MissingParamComment" />
</rule>
<rule ref="Squiz.Commenting.VariableComment">
<exclude name="Squiz.Commenting.VariableComment.IncorrectVarType" />
</rule>
<rule ref="Symfony">
<exclude name="Symfony.Files.AlphanumericFilename.Invalid" />
</rule>
<rule ref="Squiz.Strings.ConcatenationSpacing">
<properties>
<property name="ignoreNewlines" value="true"/>
</properties>
</rule>
<rule ref="Generic.Files.LineLength">
<properties>
<property name="lineLimit" value="85"/>
<property name="absoluteLineLimit" value="120"/>
</properties>
</rule>
</ruleset>