forked from acquia-pso/dst-entity-generate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml
32 lines (27 loc) · 1.27 KB
/
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="Acquia Subset" namespace="Dst\CS\Standard">
<description>A subset of the Acquia coding standards.</description>
<exclude-pattern>/apps/*</exclude-pattern>
<exclude-pattern>*/tests/src/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
<!-- By default, warnings and errors cause an exception. -->
<config name="ignore_warnings_on_exit" value="0" />
<config name="ignore_errors_on_exit" value="0" />
<!-- Set ignore extensions. -->
<!-- @see https://www.drupal.org/node/2867601#comment-12075633 -->
<!-- This can probably be removed by setting a dependency on Coder 8.3.7 -->
<arg name="ignore" value="*.css,*.md,*.txt,*.png,*.gif,*.jpeg,*.jpg,*.svg"/>
<!-- 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,info,yml"/>
<!-- Use colors in output. -->
<arg name="colors"/>
<!-- Show progress. -->
<arg value="p"/>
<!-- Include existing standards. -->
<rule ref="Drupal"/>
<rule ref="DrupalPractice">
<!-- Ignore specific sniffs. -->
<exclude name="DrupalPractice.InfoFiles.NamespacedDependency"/>
</rule>
</ruleset>