Skip to content

Commit

Permalink
Make the cs-fixer pass on php8
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
  • Loading branch information
ChristophWurst committed Jan 6, 2021
1 parent e4cb7e2 commit 0fc440c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0fc440c

Please sign in to comment.