-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml
31 lines (31 loc) · 1.03 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
<?xml version="1.0" encoding="UTF-8"?>
<ruleset name="phpcs">
<description>PHP Code Sniffer configuration</description>
<ini name="memory_limit" value="128M" />
<file>web/modules/custom</file>
<arg name="extensions" value="install,module,php,profile,test,theme,inc"/>
<arg name="colors"/>
<arg value="p"/>
<rule ref="Drupal"/>
<rule ref="DrupalPractice"/>
<rule ref="SlevomatCodingStandard.Commenting.ForbiddenAnnotations">
<properties>
<property name="forbiddenAnnotations" type="array">
<element value="@inheritDoc"/>
<element value="@inheritdoc"/>
</property>
</properties>
</rule>
<rule ref="SlevomatCodingStandard.Commenting.ForbiddenComments">
<properties>
<property name="forbiddenCommentPatterns" type="array">
<element value="/@inheritDoc/"/>
</property>
</properties>
</rule>
<rule ref="SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses">
<properties>
<property name="caseSensitive" value="false"/>
</properties>
</rule>
</ruleset>