function XdebugDriver::__construct
Throws
File
-
vendor/
phpunit/ php-code-coverage/ src/ Driver/ XdebugDriver.php, line 69
Class
- XdebugDriver
- @internal This class is not covered by the backward compatibility promise for phpunit/php-code-coverage
Namespace
SebastianBergmann\CodeCoverage\DriverCode
public function __construct(Filter $filter) {
$this->ensureXdebugIsAvailable();
$this->ensureXdebugCodeCoverageFeatureIsEnabled();
if (!$filter->isEmpty()) {
xdebug_set_filter(XDEBUG_FILTER_CODE_COVERAGE, XDEBUG_PATH_INCLUDE, $filter->files());
}
}