Merge pull request #772 from MaurizioMoreo/pcov_fix

Add PCOV availability check
This commit is contained in:
Nuno Maduro
2023-04-16 14:11:05 +01:00
committed by GitHub

View File

@ -42,6 +42,14 @@ final class Coverage
return false;
}
if ($runtime->hasPCOV()) {
return true;
}
if ($runtime->hasPHPDBGCodeCoverage()) {
return true;
}
if (! $runtime->hasXdebug()) {
return true;
}