-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml
More file actions
23 lines (18 loc) · 750 Bytes
/
phpcs.xml
File metadata and controls
23 lines (18 loc) · 750 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0" encoding="UTF-8"?>
<ruleset name="phpcs-standard">
<description>Codestyle ruleset for Drupal</description>
<config name="drupal_core_version" value="10"/>
<!-- Colors messes up the log file so, disabled by default -->
<!-- Use it in CLI if you want: `lando phpcs -\-colors` -->
<!-- <arg name="colors"/> -->
<!-- Specify standards. -->
<rule ref="Drupal"/>
<rule ref="DrupalPractice"/>
<!-- Set ignore extensions. -->
<arg name="extensions" value="php,module,inc,install,test,profile,theme,css,info,md,txt"/>
<!-- Set ignore extensions. -->
<!-- <arg name="ignore" value="*.css,*.md,*.txt"/> -->
<!-- Specify folders. -->
<file>web/modules/custom</file>
<file>web/themes/custom</file>
</ruleset>