From: Tim Düsterhus Date: Wed, 7 Jun 2017 17:41:49 +0000 (+0200) Subject: Install CodeSniffer using composer X-Git-Tag: 3.1.0_Beta_1~4^2^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=74c47ba06d9aea51ae309ea29b8febfb2438cfce;p=GitHub%2FWoltLab%2Fcom.woltlab.wcf.legalNotice.git Install CodeSniffer using composer --- diff --git a/.travis.yml b/.travis.yml index 6a1271c..7aef778 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,8 @@ php: - 5.6 - 5.3 before_install: - - pyrus install pear/PHP_CodeSniffer-2.9.0 + - export PATH="$PATH:$(composer global config bin-dir --absolute)" + - composer global require "squizlabs/php_codesniffer=2.*" - phpenv rehash before_script: - git clone --branch=2.1 --depth=1 --quiet git://github.com/WoltLab/WCF.git WCF