function PhptTestCase::runClean
1 call to PhptTestCase::runClean()
- PhptTestCase::run in vendor/
phpunit/ phpunit/ src/ Runner/ PhptTestCase.php - Runs a test and collects its result in a TestResult instance.
File
-
vendor/
phpunit/ phpunit/ src/ Runner/ PhptTestCase.php, line 427
Class
- PhptTestCase
- @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
Namespace
PHPUnit\RunnerCode
private function runClean(array $sections, bool $collectCoverage) : void {
$this->phpUtil
->setStdin('');
$this->phpUtil
->setArgs('');
if (isset($sections['CLEAN'])) {
$cleanCode = $this->render($sections['CLEAN']);
$this->phpUtil
->runJob($cleanCode, $this->settings($collectCoverage));
}
}