-
Notifications
You must be signed in to change notification settings - Fork 1
/
phpcs.xml
33 lines (30 loc) · 1010 Bytes
/
phpcs.xml
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
31
32
33
<?xml version="1.0" encoding="UTF-8"?>
<ruleset name="phpcs-standard">
<description>Codestyle ruleset for Drupal</description>
<!-- Specify standards. -->
<rule ref="Drupal"/>
<rule ref="DrupalPractice"/>
<!-- Include path with the Drupal and DrupalPractice rules. -->
<!--<config name="installed_paths" value="vendor/drupal/coder/coder_sniffer"/> -->
<!-- Set ignore extensions. -->
<!-- @todo remove .css to check also the css files. -->
<!-- @see https://www.drupal.org/node/2867601#comment-12075633 -->
<arg name="ignore" value="*.js,*.md,*.txt"/>
<arg name="extensions"
value="php,
module,
inc,
install,
test,
profile,
theme,
css,
info,
txt,
md,
yml" />
<!-- Specify folders. -->
<arg name="colors"/>
<arg name="warning-severity" value="0"/>
<!-- <file>metsis</file> -->
</ruleset>