From: Tim Düsterhus Date: Wed, 7 Jun 2017 17:39:03 +0000 (+0200) Subject: Install CodeSniffer using composer X-Git-Tag: 3.1.0_Alpha_1~14^2~3 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1d95a8207374de4f041c18b670c52c700481bcb4;p=GitHub%2FWoltLab%2Fcom.woltlab.wcf.conversation.git Install CodeSniffer using composer --- diff --git a/.travis.yml b/.travis.yml index 7f045ff..c7bedef 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,8 @@ php: - 7.1 - 5.5 before_install: - - pear install pear/PHP_CodeSniffer + - export PATH="$PATH:$(composer global config bin-dir --absolute)" + - composer global require "squizlabs/php_codesniffer=3.*" - phpenv rehash before_script: - git clone --branch=master --depth=1 --quiet git://github.com/WoltLab/WCF.git WCF