diff --git a/src/TestFramework/Coverage/CoverageDoesNotExistException.php b/src/TestFramework/Coverage/CoverageDoesNotExistException.php index f59e62712..a335ea393 100644 --- a/src/TestFramework/Coverage/CoverageDoesNotExistException.php +++ b/src/TestFramework/Coverage/CoverageDoesNotExistException.php @@ -45,6 +45,7 @@ final class CoverageDoesNotExistException extends InfectionException private const INFECTION_USAGE_SUGGESTION = <<getMessage() ); @@ -87,9 +88,10 @@ public function test_for_correctly_escaped_output_of_subprocesses(): void public function test_log_missed_debugger_or_coverage_option(): void { - $message = 'Neither phpdbg or xdebug has been found. One of those is required by Infection in order to generate coverage data. Either:' . "\n" . + $message = 'Neither pcov, phpdbg or xdebug has been found. One of those is required by Infection in order to generate coverage data. Either:' . "\n" . '- Enable xdebug and run infection again' . "\n" . '- Use phpdbg: phpdbg -qrr infection' . "\n" . + '- Enable pcov and run infection again' . "\n" . '- Use --coverage option with path to the existing coverage report' . "\n" . '- Use --initial-tests-php-options option with `-d zend_extension=xdebug.so` and/or any extra php parameters';