Skip to content

Commit

Permalink
Fix codesniffer version to avoid breaking changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Šarūnas Norkus committed Dec 17, 2017
1 parent 9c73f2e commit 357c942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ before_script:
script:
- if [[ $DEFAULT = 1 ]]; then vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover; fi
- if [[ $PHPSTAN = 1 ]]; then composer require --dev phpstan/phpstan:^0.8 && vendor/bin/phpstan analyse -c phpstan.neon -l 4 src; fi
- if [[ $PHPCS = 1 ]]; then composer require --dev squizlabs/php_codesniffer:^3.0 && vendor/bin/phpcs -p -s src; fi
- if [[ $PHPCS = 1 ]]; then composer require --dev squizlabs/php_codesniffer:~3.1.1 && vendor/bin/phpcs -p -s src; fi

after_success:
- if [[ $DEFAULT = 1 ]]; then wget https://scrutinizer-ci.com/ocular.phar; fi
Expand Down

0 comments on commit 357c942

Please sign in to comment.