From: Tim Düsterhus Date: Wed, 31 May 2017 13:39:17 +0000 (+0200) Subject: Install CodeSniffer using composer X-Git-Tag: 2.1.16~1^2~4 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=638d085f5d89491f69d38f9a2ddeb350c5f1c3c7;p=GitHub%2FWoltLab%2FWCF.git Install CodeSniffer using composer --- diff --git a/.travis.yml b/.travis.yml index 5d056c6e6d..032fac361a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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