From 0fc440cb49f5f5a38e416bd2e273d6d70a641d38 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Wed, 6 Jan 2021 13:50:55 +0100 Subject: [PATCH] Make the cs-fixer pass on php8 Signed-off-by: Christoph Wurst --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 91f83d70..730bf04e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,7 +26,10 @@ before_install: before_script: - composer install --prefer-source - vendor/bin/parallel-lint --exclude vendor . - - vendor/bin/php-cs-fixer fix --dry-run --diff + + # Once php8 is officially supported by the cs-fixer, the env variable should be dropped + # Ref https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/4702 + - PHP_CS_FIXER_IGNORE_ENV=1 vendor/bin/php-cs-fixer fix --dry-run --diff - phpenv config-add ./xdebug.ini after_script: