function DirectDispatcher::handleThrowable
Throws
Throwable
1 call to DirectDispatcher::handleThrowable()
- DirectDispatcher::dispatch in vendor/
phpunit/ phpunit/ src/ Event/ Dispatcher/ DirectDispatcher.php
File
-
vendor/
phpunit/ phpunit/ src/ Event/ Dispatcher/ DirectDispatcher.php, line 115
Class
- DirectDispatcher
- @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
Namespace
PHPUnit\EventCode
public function handleThrowable(Throwable $t) : void {
if ($this->isThrowableFromThirdPartySubscriber($t)) {
Facade::emitter()->testRunnerTriggeredWarning(sprintf('Exception in third-party event subscriber: %s%s%s', $t->getMessage(), PHP_EOL, $t->getTraceAsString()));
return;
}
// @codeCoverageIgnoreStart
throw $t;
// @codeCoverageIgnoreEnd
}