-
Notifications
You must be signed in to change notification settings - Fork 47
/
phpcs.xml.dist
38 lines (31 loc) · 1.19 KB
/
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
27
28
29
30
31
32
33
34
35
36
37
38
<?xml version="1.0"?>
<!--
To override this file, copy it to phpcs.xml and then modify.
@see https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-ruleset.xml#the-annotated-sample-file
-->
<ruleset name="blt">
<description>BLT PHP_CodeSniffer standards overrides.</description>
<!-- 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 -->
<arg name="ignore" value="*.css,*.md,*.txt"/>
<!-- 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.CodeAnalysis.VariableAnalysis.UnusedVariable"/> -->
</rule>
<file>blt</file>
<file>docroot/modules/custom</file>
<file>docroot/themes/custom</file>
<file>tests</file>
<exclude-pattern>*/behat</exclude-pattern>
<exclude-pattern>*/node_modules</exclude-pattern>
<exclude-pattern>*/vendor</exclude-pattern>
</ruleset>