-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml.dist
executable file
·26 lines (21 loc) · 1.04 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
<?xml version="1.0"?>
<ruleset name="PHP_CodeSniffer">
<description>The coding standard.</description>
<file>html/themes/custom/itchefer</file>
<file>html/modules/custom/itchefer_event_enrollment/</file>
<file>html/modules/custom/itchefer_link_in_create_header/</file>
<!-- Exclude generated files -->
<exclude-pattern>README</exclude-pattern>
<exclude-pattern>node_modules</exclude-pattern>
<exclude-pattern>html/modules/contrib/*/</exclude-pattern>
<exclude-pattern>html/themes/custom/*/build/</exclude-pattern>
<arg value="p"/>
<arg name="extensions" value="php,module,inc,install,test,profile,theme,css,info,txt,md,yml"/>
<config name="drupal_core_version" value="8"/>
<rule ref="./vendor/drupal/coder/coder_sniffer/Drupal/ruleset.xml">
<!-- <exclude name="Drupal.Files.TxtFileLineLength.TooLong"/> -->
<!-- We want to be able to use "package" and "version" in our custom modules -->
<exclude name="Drupal.InfoFiles.AutoAddedKeys.Project"/>
<exclude name="Drupal.InfoFiles.AutoAddedKeys.Version"/>
</rule>
</ruleset>