function TestRunner::canTimeLimitBeEnforced
1 call to TestRunner::canTimeLimitBeEnforced()
- TestRunner::run in vendor/
phpunit/ phpunit/ src/ Framework/ TestRunner.php
File
-
vendor/
phpunit/ phpunit/ src/ Framework/ TestRunner.php, line 384
Class
- TestRunner
- @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
Namespace
PHPUnit\FrameworkCode
private function canTimeLimitBeEnforced() : bool {
if ($this->timeLimitCanBeEnforced !== null) {
return $this->timeLimitCanBeEnforced;
}
$this->timeLimitCanBeEnforced = (new Invoker())->canInvokeWithTimeout();
return $this->timeLimitCanBeEnforced;
}