when I run vendor/bin/phpunit --coverage-html coverage_report phpunit is running and happily is working thru the test-suite, while after waiting for minutes for its completion it reports:
There was 1 PHPUnit test runner warning:
1) XDEBUG_MODE=coverage (environment variable) or xdebug.mode=coverage (PHP configuration setting) has to be set
when the xdebug extension is already loaded, but in the wrong mode, couldn't phpunit restart itself with a proper XDEBUG_MODE=coverage set, so I don't need to wait for the whole testsuite to finish and re-run it manually?
this would be useful, as I usually have xdebug loaded in debugging mode
when I run
vendor/bin/phpunit --coverage-html coverage_reportphpunit is running and happily is working thru the test-suite, while after waiting for minutes for its completion it reports:when the xdebug extension is already loaded, but in the wrong mode, couldn't phpunit restart itself with a proper
XDEBUG_MODE=coverageset, so I don't need to wait for the whole testsuite to finish and re-run it manually?this would be useful, as I usually have xdebug loaded in debugging mode