Skip to content

Commit

Permalink
Install php_codesniffer with composer
Browse files Browse the repository at this point in the history
  • Loading branch information
dhensby committed Jul 3, 2017
1 parent 12b6454 commit 309757b
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 @@ -49,7 +49,7 @@ before_script:
# Init PHP
- export CORE_RELEASE=$TRAVIS_BRANCH
- printf "\n" | pecl install imagick
- if [[ $PHPCS_TEST ]]; then pear install pear/PHP_CodeSniffer; fi
- if [[ $PHPCS_TEST ]]; then composer global require squizlabs/php_codesniffer:^3; fi
- phpenv rehash
- phpenv config-rm xdebug.ini
- echo 'memory_limit = 2048M' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
Expand Down

0 comments on commit 309757b

Please sign in to comment.