fix: adds link to xdebug coverage mode

This commit is contained in:
Nuno Maduro
2021-10-10 15:33:27 +01:00
parent 1e011c7b40
commit de46ee0f64

View File

@ -54,7 +54,7 @@ final class Coverage
if (!file_exists($reportPath = self::getPath())) { if (!file_exists($reportPath = self::getPath())) {
if (self::usingXdebug()) { if (self::usingXdebug()) {
$output->writeln( $output->writeln(
" <fg=black;bg=yellow;options=bold> WARN </> Unable to get coverage using Xdebug. Did you set Xdebug's coverage mode?</>", " <fg=black;bg=yellow;options=bold> WARN </> Unable to get coverage using Xdebug. Did you set <href=https://xdebug.org/docs/code_coverage#mode>Xdebug's coverage mode</>?</>",
); );
return 0.0; return 0.0;