-
Notifications
You must be signed in to change notification settings - Fork 121
/
phpcs.xml
34 lines (27 loc) · 892 Bytes
/
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
<?xml version="1.0"?>
<ruleset name="JAXL">
<description>The JAXL coding standard (based on PSR-2 excluding some rules).</description>
<file>examples</file>
<file>src/JAXL</file>
<file>jaxlctl</file>
<arg value="p"/>
<arg name="encoding" value="utf-8"/>
<!-- Include the whole PSR-2 standard -->
<rule ref="PSR2"/>
<rule ref="Generic.Files.LineLength">
<properties>
<property name="lineLimit" value="120"/>
</properties>
</rule>
<!-- TODO: Move to PHP 5.3+ with namespaces then remove this rule. -->
<rule ref="PSR1.Classes.ClassDeclaration.MissingNamespace">
<severity>0</severity>
</rule>
<rule ref="PSR1.Files.SideEffects.FoundWithSymbols">
<exclude-pattern>examples</exclude-pattern>
</rule>
<!-- TODO: Rename all methods then remove this rule. -->
<rule ref="PSR1.Methods.CamelCapsMethodName.NotCamelCaps">
<severity>0</severity>
</rule>
</ruleset>