forked from Chi-teck/drupal-code-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml
21 lines (21 loc) · 956 Bytes
/
phpcs.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0"?>
<ruleset name="Drupal Code Generator">
<description>Drupal Code Generator coding standard</description>
<arg name="colors"/>
<file>./scripts/dump-hooks.php</file>
<file>./scripts/dump-services.php</file>
<file>./src</file>
<file>./tests</file>
<rule ref="vendor/drupal/coder/coder_sniffer/Drupal"/>
<rule ref="vendor/drupal/coder/coder_sniffer/DrupalPractice">
<exclude name="Drupal.Commenting.VariableComment.Missing"/>
<exclude name="Drupal.Arrays.Array.LongLineDeclaration"/>
<!-- The package does not provide change records. -->
<exclude name="Drupal.Commenting.Deprecated.IncorrectTextLayout"/>
<exclude name="Drupal.Commenting.Deprecated.DeprecatedMissingSeeTag"/>
<exclude name="Drupal.Commenting.TodoComment.TodoFormat"/>
</rule>
<rule ref="vendor/chi-teck/drupal-coder-extension/DrupalExtended73"/>
<!-- Exclude fixtures. -->
<exclude-pattern>*/_*</exclude-pattern>
</ruleset>