function CodeCoverage::start
Same name in this branch
- 11.1.x vendor/phpunit/phpunit/src/Runner/CodeCoverage.php \PHPUnit\Runner\CodeCoverage::start()
File
-
vendor/
phpunit/ php-code-coverage/ src/ CodeCoverage.php, line 163
Class
- CodeCoverage
- Provides collection functionality for PHP code coverage information.
Namespace
SebastianBergmann\CodeCoverageCode
public function start(string $id, ?TestSize $size = null, bool $clear = false) : void {
if ($clear) {
$this->clear();
}
$this->currentId = $id;
$this->currentSize = $size;
$this->driver
->start();
$this->cachedReport = null;
}