forked from acquia/orca
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml.dist
More file actions
27 lines (20 loc) · 863 Bytes
/
Copy pathphpcs.xml.dist
File metadata and controls
27 lines (20 loc) · 863 Bytes
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
<?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 for analyzing packages with ORCA.</description>
<arg name="colors"/>
<arg name="cache" value="var/.phpcs-cache"/>
<arg name="parallel" value="10"/>
<file>.</file>
<exclude-pattern>var/</exclude-pattern>
<exclude-pattern>vendor/</exclude-pattern>
<rule ref="AcquiaDrupalStrict"/>
<rule ref="Drupal.Commenting.VariableComment.Missing">
<exclude-pattern>tests/*</exclude-pattern>
</rule>
<rule ref="DrupalPractice.General.ClassName.ClassPrefix">
<exclude-pattern>example/features/*</exclude-pattern>
</rule>
</ruleset>