Install CodeSniffer using composer
authorTim Düsterhus <duesterhus@woltlab.com>
Wed, 31 May 2017 13:39:17 +0000 (15:39 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Wed, 31 May 2017 13:39:17 +0000 (15:39 +0200)
.travis.yml

index 5d056c6e6d672662115d83f86744bd0b19474466..032fac361af2986f388bee9055ac48670696293c 100644 (file)
@@ -4,7 +4,7 @@ php:
   - 5.6
   - 5.3
 before_install:
-  - pyrus install pear/PHP_CodeSniffer-2.9.0
+  - composer global require "squizlabs/php_codesniffer=2.*"
   - phpenv rehash
 script:
   - find . -type f -name '*.php' -print0 |xargs -0 -I file -P 4 php -l file > /dev/null