-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml
More file actions
22 lines (19 loc) · 799 Bytes
/
phpcs.xml
File metadata and controls
22 lines (19 loc) · 799 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?xml version="1.0"?>
<ruleset name="Module">
<description>Drupal 11 coding standards for module.</description>
<file>.</file>
<arg name="extensions" value="php,module,inc,install,test,profile,theme,info,txt,md,yml"/>
<config name="drupal_core_version" value="11"/>
<exclude-pattern>*/.git/*</exclude-pattern>
<exclude-pattern>*/config/*</exclude-pattern>
<exclude-pattern>*/css/*</exclude-pattern>
<exclude-pattern>*/js/*</exclude-pattern>
<exclude-pattern>*/node_modules/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>*/.github/*</exclude-pattern>
<rule ref="Drupal">
<!-- Drupal.org packages add info keys automatically -->
<exclude name="Drupal.InfoFiles.AutoAddedKeys"/>
</rule>
<rule ref="DrupalPractice"/>
</ruleset>