forked from ec-europa/joinup-dev
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs-ruleset.xml.dist
More file actions
24 lines (19 loc) · 1019 Bytes
/
phpcs-ruleset.xml.dist
File metadata and controls
24 lines (19 loc) · 1019 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
<?xml version="1.0"?>
<!-- PHP_CodeSniffer standard for Drupal projects. -->
<!-- See http://pear.php.net/manual/en/package.php.php-codesniffer.annotated-ruleset.php -->
<ruleset name="Drupal Project">
<description>Drupal coding standard</description>
<!-- Exclude unsupported file types. -->
<exclude-pattern>*.gif</exclude-pattern>
<exclude-pattern>*.less</exclude-pattern>
<exclude-pattern>*.png</exclude-pattern>
<!-- Minified files don't have to comply with coding standards. -->
<exclude-pattern>*.min.css</exclude-pattern>
<exclude-pattern>*.min.js</exclude-pattern>
<!-- Exclude Phing scripts from Drupal coding standards. -->
<exclude-pattern>src/Phing/*</exclude-pattern>
<!-- Exclude frontend third-party libraries from coding standards -->
<exclude-pattern>web/themes/joinup/vendor/*</exclude-pattern>
<exclude-pattern>web/themes/joinup/prototype/gulpfile.js</exclude-pattern>
<rule ref="./vendor/drupal/coder/coder_sniffer/Drupal" />
</ruleset>