From 1d95a8207374de4f041c18b670c52c700481bcb4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Wed, 7 Jun 2017 19:39:03 +0200 Subject: [PATCH] Install CodeSniffer using composer --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.20.1