forked from PayBy/PayBy-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml
32 lines (26 loc) · 857 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
<?xml version="1.0"?>
<ruleset name="Project coding standard">
<description>Project coding standard</description>
<!-- display progress -->
<arg value="p"/>
<!-- use colors in output -->
<arg name="colors"/>
<!-- inherit rules from: -->
<rule ref="PSR2"/>
<rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
<!-- Paths to check -->
<file>lib</file>
<file>example</file>
<rule ref="PSR1.Classes.ClassDeclaration.MissingNamespace">
</rule>
<rule ref="Generic.Files.LineLength">
<!--
<properties>
<property name="lineLimit" value="120"/>
<property name="absoluteLineLimit" value="0"/>
</properties>
-->
<exclude-pattern>example/**/*.php</exclude-pattern>
</rule>
<exclude-pattern>vendor/**/*.php</exclude-pattern>
</ruleset>