-
Notifications
You must be signed in to change notification settings - Fork 35
/
phpcs.xml.dist
32 lines (23 loc) · 1.15 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
<?xml version="1.0" encoding="UTF-8"?>
<!-- https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-Ruleset -->
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../vendor/squizlabs/php_codesniffer/phpcs.xsd"
>
<description>PHP CodeSniffer configuration ORCA uses for packages analysis.</description>
<!-- Set extensions to scan. -->
<!-- @see https://git.drupalcode.org/project/coder/-/tree/8.3.7#store-settings-in-a-phpcsxmldist-file -->
<arg name="extensions" value="php,module,inc,install,test,profile,theme,css,info,txt,md,yml"/>
<arg name="colors"/>
<arg name="parallel" value="10"/>
<file>.</file>
<exclude-pattern>.idea/</exclude-pattern>
<exclude-pattern>docroot/</exclude-pattern>
<exclude-pattern>vendor/</exclude-pattern>
<exclude-pattern>var/</exclude-pattern>
<!-- This value should be the same as the value set in .travis.yml -->
<rule ref="AcquiaDrupalStrict"/>
<rule ref="Drupal.InfoFiles.AutoAddedKeys.Version">
<!-- Exclude .info.yml file from the auto add version key rule. -->
<exclude-pattern>acquia_cms\.info</exclude-pattern>
</rule>
</ruleset>