forked from apigee/apigee-edge-drupal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml.dist
26 lines (22 loc) · 898 Bytes
/
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
<?xml version="1.0"?>
<ruleset name="Apigee Edge 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>
<!-- Ignore long array declaration lines. -->
<rule ref="Drupal.Arrays.Array.LongLineDeclaration">
<severity>0</severity>
</rule>
</ruleset>