forked from grasmash/expander
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml.dist
26 lines (18 loc) · 900 Bytes
/
phpcs.xml.dist
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
<?xml version="1.0" encoding="UTF-8"?>
<ruleset name="Expander">
<description>Yaml CLI PHP CodeSniffer configuration.</description>
<arg name="extensions" value="php"/>
<arg name="colors"/>
<arg name="cache" value="build/.phpcs-cache"/>
<arg name="parallel" value="10"/>
<file>.</file>
<!-- Danger! Exclude patterns apply to the full file path, including parent directories of the current repository. -->
<!-- Don't exclude common directory names like `build`, which will fail on Travis CI because of /home/travis/build/acquia/<project>. -->
<!-- @see https://github.com/squizlabs/PHP_CodeSniffer/issues/981 -->
<exclude-pattern>var/</exclude-pattern>
<exclude-pattern>vendor/*</exclude-pattern>
<exclude-pattern>tests/resources/*</exclude-pattern>
<rule ref="PSR2">
<exclude name="Generic.Files.LineLength"/>
</rule>
</ruleset>