-
Notifications
You must be signed in to change notification settings - Fork 1
/
phpcs.xml.dist
executable file
·30 lines (24 loc) · 1.22 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
27
28
29
30
<?xml version="1.0"?>
<ruleset name="PHP_CodeSniffer">
<description>The coding standard.</description>
<file>web/modules/custom/</file>
<file>web/themes/custom/</file>
<!-- Exclude generated files -->
<exclude-pattern>node_modules</exclude-pattern>
<exclude-pattern>vendor</exclude-pattern>
<exclude-pattern>web/modules/custom/*/build/</exclude-pattern>
<exclude-pattern>web/themes/custom/*/build/</exclude-pattern>
<exclude-pattern>web/modules/custom/itk_admin_links/css/itk-admin-links.css</exclude-pattern>
<exclude-pattern>web/modules/custom/hoeringsportal_project_timeline/assets/public/build/project-timeline.css</exclude-pattern>
<exclude-pattern>*.js</exclude-pattern>
<arg value="p"/>
<arg name="extensions" value="php,module,inc,install,test,profile,theme,css,info,txt,yml"/>
<config name="drupal_core_version" value="10"/>
<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="Squiz.Strings.DoubleQuoteUsage.NotRequired"/>
</ruleset>