forked from dpc-sdp/tide_landing_page
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpcs.xml
36 lines (29 loc) · 1.06 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
32
33
34
35
36
<?xml version="1.0"?>
<ruleset name="c10r">
<description>PHPCS Standard for Tide modules.
</description>
<rule ref="Drupal"/>
<rule ref="PHPCompatibility"/>
<arg name="extensions" value="php"/>
<arg name="colors"/>
<arg value="sp"/>
<!--Lint code against platform version specified in composer.json
key "config.platform.php".-->
<config name="testVersion" value="7.1"/>
<exclude-pattern>circle\.yml</exclude-pattern>
<exclude-pattern>\.circle\/config\.yml</exclude-pattern>
<!--Force short array syntax.-->
<rule ref="Generic.Arrays.DisallowLongArraySyntax.Found">
<type>warning</type>
</rule>
<rule ref="Generic.Files.LineLength.TooLong">
<exclude-pattern>*</exclude-pattern>
</rule>
<rule ref="Drupal.Commenting.DocComment.MissingShort">
<exclude-pattern>src/*</exclude-pattern>
<exclude-pattern>tests/behat/bootstrap/*</exclude-pattern>
</rule>
<rule ref="Generic.Files.LineLength.MaxExceeded">
<exclude-pattern>*</exclude-pattern>
</rule>
</ruleset>