From 9631c5f248bb4b6dba875724ad4a048cf11ed370 Mon Sep 17 00:00:00 2001 From: Julien Guyomard Date: Mon, 5 Dec 2016 10:45:45 +0100 Subject: [PATCH] php-cs-fixer --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 58d24dd20..8d3985bb2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,14 +6,14 @@ php: sudo: false env: - - PHPCSFIXER_PATH=$HOME/phar/php-cs-fixer.phar + - PHPCSFIXER_PATH=$HOME/phar/php-cs-fixer-1.13.phar cache: directories: - $HOME/phar/ before_script: - - 'if [ ! -f $PHPCSFIXER_PATH ]; then mkdir -p `dirname $PHPCSFIXER_PATH` && curl -o $PHPCSFIXER_PATH http://get.sensiolabs.org/php-cs-fixer.phar; fi' + - 'if [ ! -f $PHPCSFIXER_PATH ]; then mkdir -p `dirname $PHPCSFIXER_PATH` && curl -L -o $PHPCSFIXER_PATH https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v1.13.1/php-cs-fixer.phar; fi' - php $PHPCSFIXER_PATH -V script: