forked from os2loop/os2loop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml.dist
executable file
·24 lines (19 loc) · 933 Bytes
/
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
<?xml version="1.0"?>
<ruleset name="PHP_CodeSniffer">
<description>The coding standard.</description>
<file>web/profiles/custom/os2loop/</file>
<!-- Exclude generated files -->
<exclude-pattern>web/profiles/custom/os2loop/themes/os2loop_theme/node_modules/*</exclude-pattern>
<exclude-pattern>web/profiles/custom/os2loop/themes/os2loop_theme/build/*</exclude-pattern>
<!-- Show progress of the run -->
<arg value="p"/>
<arg name="extensions" value="php,module,inc,install,test,profile,theme,css,info,txt,yml"/>
<config name="drupal_core_version" value="9"/>
<rule ref="Drupal">
<!-- <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>
<rule ref="DrupalPractice"/>
</ruleset>