-
Notifications
You must be signed in to change notification settings - Fork 13
/
phpcs.xml.dist
33 lines (29 loc) · 1.17 KB
/
phpcs.xml.dist
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"?>
<ruleset name="Apigee Monetization coding standards">
<exclude-pattern>*/.git/*</exclude-pattern>
<exclude-pattern>*/config/*</exclude-pattern>
<exclude-pattern>*/css/*</exclude-pattern>
<exclude-pattern>*/js/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>\.md</exclude-pattern>
<rule ref="Drupal"/>
<!-- Copyright header must be visible on all PHP files, including classes in a namespace. -->
<rule ref="Drupal.Commenting.FileComment.NamespaceNoFileDoc">
<severity>0</severity>
</rule>
<!-- Annotation classes still contains snake case variable names. -->
<rule ref="Drupal.NamingConventions.ValidVariableName.LowerCamelName">
<severity>0</severity>
</rule>
<!-- Core doesn't conform to this standard.
@see: https://www.drupal.org/project/coder/issues/2803251
@see: https://www.drupal.org/project/drupal/issues/1158720
-->
<rule ref="Drupal.Commenting.FunctionComment.TypeHintMissing">
<severity>0</severity>
</rule>
<!-- Ignore long array declaration lines. -->
<rule ref="Drupal.Arrays.Array.LongLineDeclaration">
<severity>0</severity>
</rule>
</ruleset>