-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml.dist
More file actions
36 lines (26 loc) · 997 Bytes
/
phpcs.xml.dist
File metadata and controls
36 lines (26 loc) · 997 Bytes
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
<?xml version="1.0" encoding="UTF-8"?>
<ruleset name="project">
<description>PHP CodeSniffer configuration for this project.</description>
<exclude-pattern>vendor/*</exclude-pattern>
<arg name="extensions" value="css,inc,install,js,module,php,profile,theme,yml"/>
<rule ref="Drupal">
<exclude name="Drupal.Commenting.FileComment"/>
<exclude name="Drupal.Commenting.ClassComment"/>
<exclude name="Drupal.Commenting.FunctionComment"/>
<exclude name="Squiz.CSS.EmptyClassDefinition"/>
<exclude name="Drupal.Classes.UseGlobalClass"/>
</rule>
<rule ref="Drupal.Arrays.Array">
<properties>
<property name="lineLimit" value="120"/>
</properties>
</rule>
<rule ref="Drupal.Commenting.DocComment">
<exclude name="Drupal.Commenting.DocComment.MissingShort"/>
</rule>
<rule ref="Drupal.Commenting.VariableComment">
<exclude name="Drupal.Commenting.VariableComment.Missing"/>
</rule>
<rule ref="DrupalPractice">
</rule>
</ruleset>