mirror of
https://github.com/pestphp/pest.git
synced 2026-03-12 02:37:22 +01:00
Add PCOV availability check
This commit is contained in:
@ -42,6 +42,10 @@ final class Coverage
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($runtime->hasPCOV()) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
if (! $runtime->hasXdebug()) {
|
if (! $runtime->hasXdebug()) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user