function TestRunner::saveConfigurationForChildProcess
Throws
1 call to TestRunner::saveConfigurationForChildProcess()
- TestRunner::runInSeparateProcess in vendor/
phpunit/ phpunit/ src/ Framework/ TestRunner.php
File
-
vendor/
phpunit/ phpunit/ src/ Framework/ TestRunner.php, line 449
Class
- TestRunner
- @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
Namespace
PHPUnit\FrameworkCode
private function saveConfigurationForChildProcess() : string {
$path = tempnam(sys_get_temp_dir(), 'phpunit_');
if ($path === false) {
throw new ProcessIsolationException();
}
if (!ConfigurationRegistry::saveTo($path)) {
throw new ProcessIsolationException();
}
return $path;
}