forked from apigee/apigee-devportal-kickstart-drupal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml.dist
23 lines (19 loc) · 815 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
<?xml version="1.0"?>
<ruleset name="Apigee Devportal Kickstart 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>
<exclude-pattern>\.js</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>
</ruleset>