-
Notifications
You must be signed in to change notification settings - Fork 1
/
phpcs.dist.xml
37 lines (30 loc) · 1.29 KB
/
phpcs.dist.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
33
34
35
36
37
<?xml version="1.0"?>
<ruleset name="Custom Standard" namespace="Drupal\CustomStandard">
<!--
The name attribute of the ruleset tag is displayed
when running PHP_CodeSniffer with the -v command line
argument.
If you have custom sniffs, and they use a namespace prefix
that is different to the name of the directory containing
your ruleset.xml file, you can set the namespace prefix using
the namespace attribute of the ruleset tag.
For example, if your namespace format for sniffs is
MyProject\CS\Standard\Sniffs\Category, set the namespace to
MyProject\CS\Standard (everything up to \Sniffs\)
-->
<!--
The content of the description tag is not displayed anywhere
except in this file, so it can contain information for
developers who may change this file in the future.
-->
<description>A custom coding standard.</description>
<!-- Check for cross-version support. -->
<config name="testVersion" value="8.1-"/>
<arg name="extensions" value="php,module,inc,install,test,profile,theme" />
<arg name="ignore" value="*.md" />
<arg name="parallel" value="5" />
<arg value="p" />
<rule ref="Drupal"/>
<rule ref="DrupalPractice"/>
<rule ref="PHPCompatibility"/>
</ruleset>