function Runtime::hasPCOV
Returns true when the runtime used is PHP with PCOV loaded and enabled.
2 calls to Runtime::hasPCOV()
- Runtime::canCollectCodeCoverage in vendor/
sebastian/ environment/ src/ Runtime.php - Returns true when Xdebug or PCOV is available or the runtime used is PHPDBG.
- Runtime::getNameWithVersionAndCodeCoverageDriver in vendor/
sebastian/ environment/ src/ Runtime.php
File
-
vendor/
sebastian/ environment/ src/ Runtime.php, line 223
Class
Namespace
SebastianBergmann\EnvironmentCode
public function hasPCOV() : bool {
return $this->isPHP() && extension_loaded('pcov') && ini_get('pcov.enabled');
}