forked from acquia/drupal-recommended-project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml.dist
25 lines (17 loc) · 835 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
<?xml version="1.0" encoding="UTF-8"?>
<!-- https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-Ruleset -->
<ruleset name="Example">
<description>An example PHP CodeSniffer configuration.</description>
<!-- Set extensions to scan (taken from Coder 8.3.6). -->
<!-- @see https://git.drupalcode.org/project/coder/blob/8.3.6/coder_sniffer/Drupal/ruleset.xml#L8 -->
<arg name="extensions" value="php,module,inc,install,test,profile,theme,css,info,txt,md,yml"/>
<arg name="colors"/>
<arg name="cache" value=".phpcs-cache"/>
<arg name="parallel" value="10"/>
<file>docroot/modules/custom</file>
<file>docroot/themes/custom</file>
<file>docroot/profiles/custom</file>
<file>tests</file>
<exclude-pattern>vendor/*</exclude-pattern>
<rule ref="AcquiaDrupalStrict"/>
</ruleset>