From 7998faae370cce1cac57ed136d57f4530ca19c39 Mon Sep 17 00:00:00 2001 From: Akihito Koriyama Date: Sun, 6 Dec 2020 13:36:47 +0900 Subject: [PATCH] Update coverage command @see https://github.com/sebastianbergmann/php-code-coverage/issues/834 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index f043136..3ae0777 100644 --- a/composer.json +++ b/composer.json @@ -54,7 +54,7 @@ ], "test": ["vendor/bin/phpunit"], "tests": ["@cs", "@sa", "@test"], - "coverage": ["php -dzend_extension=xdebug.so ./vendor/bin/phpunit --coverage-text --coverage-html=build/coverage"], + "coverage": ["php -dzend_extension=xdebug.so -dxdebug.mode=coverage ./vendor/bin/phpunit --coverage-text --coverage-html=build/coverage"], "pcov": ["php -dextension=pcov.so -d pcov.enabled=1 ./vendor/bin/phpunit --coverage-text --coverage-html=build/coverage --coverage-clover=coverage.xml"], "cs": ["./vendor/bin/phpcs --standard=phpcs.xml src tests"], "cs-fix": ["./vendor/bin/phpcbf src tests"],