Skip to content

Commit

Permalink
Missing PHPCS
Browse files Browse the repository at this point in the history
  • Loading branch information
vijaycs85 committed Jan 2, 2018
1 parent 14b2fd6 commit 580d819
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ before_script:
- drupal-ti before_script

script:
- phpcs --standard=phpcs.xml src -s
- phpcs --standard=phpcs.xml tests -s
- phpcs --standard=phpcs.xml simplelist.module

Expand Down
13 changes: 13 additions & 0 deletions phpcs.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0"?>
<ruleset name="Drupal coding standards">
<description>Drupal 8 coding standards</description>

<exclude-pattern>*/.git/*</exclude-pattern>
<exclude-pattern>*/config/*</exclude-pattern>
<exclude-pattern>*/css/*</exclude-pattern>
<exclude-pattern>*/js/*</exclude-pattern>
<exclude-pattern>*/icons/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>

<rule ref="Drupal"/>
</ruleset>

0 comments on commit 580d819

Please sign in to comment.