-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml.dist
More file actions
25 lines (19 loc) · 755 Bytes
/
phpcs.xml.dist
File metadata and controls
25 lines (19 loc) · 755 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
<?xml version="1.0"?>
<ruleset name="My Drupal Project">
<!-- Include the Drupal standard -->
<rule ref="./vendor/drupal/coder/coder_sniffer/Drupal"/>
<rule ref="Drupal.Commenting.FunctionComment">
<severity>0</severity>
</rule>
<rule ref="Drupal.Commenting.VariableComment.Missing">
<severity>0</severity>
</rule>
<!-- Define the files and directories to check -->
<file>./</file>
<!-- Exclude the vendor and bin directories -->
<exclude-pattern>./vendor/</exclude-pattern>
<exclude-pattern>./bin/</exclude-pattern>
<exclude-pattern>./var/</exclude-pattern>
<exclude-pattern>./config/</exclude-pattern>
<!-- You can add custom rules or overrides here if needed -->
</ruleset>