forked from jhedstrom/drupalextension
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs-ruleset.xml
26 lines (21 loc) · 939 Bytes
/
phpcs-ruleset.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
<?xml version="1.0"?>
<!-- PHP_CodeSniffer standard -->
<!-- See https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-ruleset.xml -->
<ruleset name="drupal/drupal-extension">
<description>Drupal Behat Extension coding standards</description>
<file>./src</file>
<exclude-pattern>^/doc/*</exclude-pattern>
<exclude-pattern>^/drupal/*</exclude-pattern>
<exclude-pattern>^/drush/*</exclude-pattern>
<exclude-pattern>^/fixtures/*</exclude-pattern>
<exclude-pattern>^/reports/*</exclude-pattern>
<exclude-pattern>^/spec/*</exclude-pattern>
<exclude-pattern>^/vendor/*</exclude-pattern>
<exclude-pattern>^/README.md</exclude-pattern>
<rule ref="PSR2">
<!-- @todo Fix long line length issues -->
<exclude name="Generic.Files.LineLength.TooLong" />
</rule>
<rule ref="Generic.Arrays.DisallowLongArraySyntax" />
<rule ref="Generic.Arrays.ArrayIndent" />
</ruleset>