Skip to content

Commit

Permalink
add ruleset in order to use it in intelliJ
Browse files Browse the repository at this point in the history
  • Loading branch information
Nexucis committed Nov 7, 2017
1 parent cfdb7ab commit 193aea7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ jobs:
key: v1-dependencies-{{ checksum "composer.json" }}

# run code analyzer
- run: vendor/bin/phpcs --standard=PSR2 --extensions=php --encoding=utf-8 --tab-width=4 src
- run: vendor/bin/phpcs --standard=PSR2 --extensions=php --encoding=utf-8 --tab-width=4 tests
- run: vendor/bin/phpcs --standard=ruleset.xml --extensions=php --encoding=utf-8 --tab-width=4 src
- run: vendor/bin/phpcs --standard=ruleset.xml --extensions=php --encoding=utf-8 --tab-width=4 tests

workflows:
version: 2
Expand Down
6 changes: 6 additions & 0 deletions ruleset.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0"?>
<ruleset name="ES-PHP-INDEX-HELPER">
<rule ref="PSR2">
<exclude name="Generic.Files.LineLength.TooLong"/>
</rule>
</ruleset>

0 comments on commit 193aea7

Please sign in to comment.