diff --git a/.travis.yml b/.travis.yml index 9ee9b91..f3919a5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,6 +29,9 @@ install: - composer update -n --prefer-dist + - wget https://cs.sensiolabs.org/download/php-cs-fixer-v2.phar -O php-cs-fixer + - chmox +x php-cs-fixer + - mkdir -p coverage/cov coverage/bin - wget https://phar.phpunit.de/phpcov.phar -O coverage/bin/phpcov - chmod +x coverage/bin/phpcov @@ -39,7 +42,7 @@ script: # Run testNoMemoryLeak separately, as those are skipped with enabled coverage - php vendor/bin/phpunit --verbose --group memoryleak - phpdbg -qrr vendor/bin/phpunit --verbose --exclude-group memoryleak --coverage-php coverage/cov/main.cov - - PHP_CS_FIXER_IGNORE_ENV=1 php vendor/bin/php-cs-fixer --diff --dry-run -v fix + - PHP_CS_FIXER_IGNORE_ENV=1 ./php-cs-fixer --diff --dry-run -v fix after_script: - curl -OL https://github.com/php-coveralls/php-coveralls/releases/download/v1.0.0/coveralls.phar diff --git a/composer.json b/composer.json index 27949d0..b38ff50 100644 --- a/composer.json +++ b/composer.json @@ -40,7 +40,6 @@ "concurrent-php/async-api": "dev-master" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^2.13", "phpunit/phpunit": "^6.0.9" }, "autoload": { @@ -68,7 +67,7 @@ }, "config": { "platform": { - "php": "7.2.0" + "php": "7.3.0" } }, "scripts": {