-
Notifications
You must be signed in to change notification settings - Fork 4
/
phpcs.xml
31 lines (26 loc) · 937 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
<?xml version="1.0"?>
<ruleset name="Yii Skeleton Application project coding standards">
<description>Yii 1.1 coding standards</description>
<!-- display progress -->
<arg value="p"/>
<arg name="colors"/>
<!-- inherit rules from: PSR-2 -->
<rule ref="PSR2">
<exclude name="PSR1.Classes.ClassDeclaration"/>
<exclude name="PSR1.Files.SideEffects"/>
<exclude name="Squiz.WhiteSpace.SuperfluousWhitespace"/>
</rule>
<rule ref="Generic.Files.LineLength">
<properties>
<property name="lineLimit" value="120"/>
<property name="absoluteLineLimit" value="120"/>
</properties>
<exclude-pattern>Error.php</exclude-pattern>
</rule>
<!-- Paths to check -->
<file>src</file>
<file>examples</file>
<!-- Exclude -->
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>*/data/*</exclude-pattern>
</ruleset>