From 2d3c6b5cb8a5c85c1c0b7ea20195e6515fc845bb Mon Sep 17 00:00:00 2001 From: Joachim Fritschi Date: Tue, 9 Feb 2021 12:25:36 +0100 Subject: [PATCH] Enable XDebug coverage to support XDebug3 #367 Based on discussion from https://github.com/sebastianbergmann/php-code-coverage/issues/834 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index b26ed079..3c629aa7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,7 @@ script: # Composer is testing-only; vendor folder should not appear in releases - if [[ $TRAVIS_PHP_VERSION == 'nightly' ]]; then composer --no-interaction config platform.php 7.4.0; fi - composer install -- ./vendor/bin/phpunit --verbose --stderr --coverage-clover=coverage.xml +- XDEBUG_MODE=coverage ./vendor/bin/phpunit --verbose --stderr --coverage-clover=coverage.xml after_success: - bash <(curl -s https://codecov.io/bash) jobs: