forked from finnef/commerce_shipping
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml
43 lines (39 loc) · 1.4 KB
/
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
34
35
36
37
38
39
40
41
42
43
<?xml version="1.0"?>
<ruleset name="Commerce coding standards">
<description>Drupal 8 coding standards</description>
<exclude-pattern>*/.git/*</exclude-pattern>
<exclude-pattern>*/config/*</exclude-pattern>
<exclude-pattern>*/css/*</exclude-pattern>
<exclude-pattern>*/js/*</exclude-pattern>
<exclude-pattern>*/icons/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
<rule ref="Drupal"/>
<!-- The following rules are intentionally disabled. -->
<rule ref="Drupal.Commenting.ClassComment.Missing">
<severity>0</severity>
</rule>
<rule ref="Drupal.Files.LineLength.TooLong">
<severity>0</severity>
</rule>
<rule ref="Drupal.Array.Array.LongLineDeclaration">
<severity>0</severity>
</rule>
<rule ref="Drupal.Commenting.VariableComment.VarOrder">
<severity>0</severity>
</rule>
<!-- Complains about '#element_validate callback:' -->
<rule ref="Drupal.Commenting.DocComment.ShortNotCapital">
<severity>0</severity>
</rule>
<!-- Complains a lot about tests which don't need short descriptions. -->
<rule ref="Drupal.Commenting.DocComment.MissingShort">
<severity>0</severity>
</rule>
<rule ref="Drupal.Commenting.DocComment.ShortSingleLine">
<severity>0</severity>
</rule>
<!-- Complains about annotation classes. -->
<rule ref="Drupal.NamingConventions.ValidVariableName.LowerCamelName">
<severity>0</severity>
</rule>
</ruleset>