Skip to content

Commit 0fc440c

Browse files
Make the cs-fixer pass on php8
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
1 parent e4cb7e2 commit 0fc440c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ before_install:
2626
before_script:
2727
- composer install --prefer-source
2828
- vendor/bin/parallel-lint --exclude vendor .
29-
- vendor/bin/php-cs-fixer fix --dry-run --diff
29+
30+
# Once php8 is officially supported by the cs-fixer, the env variable should be dropped
31+
# Ref https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/4702
32+
- PHP_CS_FIXER_IGNORE_ENV=1 vendor/bin/php-cs-fixer fix --dry-run --diff
3033
- phpenv config-add ./xdebug.ini
3134

3235
after_script:

0 commit comments

Comments
 (0)