-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs-standard.xml
34 lines (27 loc) · 1.02 KB
/
phpcs-standard.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
34
<?xml version="1.0"?>
<ruleset name="Government of Yukon coding standards">
<exclude-pattern>*/.git/*</exclude-pattern>
<exclude-pattern>*/css/*</exclude-pattern>
<exclude-pattern>*/js/*</exclude-pattern>
<exclude-pattern>*/icons/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>*/node_modules/*</exclude-pattern>
<arg name="extensions" value="php,module,inc,install,test,profile,theme,info,txt,md,yml" />
<!-- For colored cli output -->
<arg name="colors"/>
<!-- To show where the rule comes from. Equivalent to phpcs -s -->
<arg value="sp"/>
<rule ref="Drupal"/>
<!-- Allow TODOs formatted like // TODO, not just // @todo. -->
<rule ref="Drupal.Commenting.TodoComment.TodoFormat">
<severity>0</severity>
</rule>
<!--
Allow certain lines to be long in a text file.
Lines of real text are still expected to be limited to 80 characters for easy
reading.
-->
<rule ref="Drupal.Files.TxtFileLineLength.TooLong">
<severity>0</severity>
</rule>
</ruleset>