function TestRunner::shouldErrorHandlerBeUsed
1 call to TestRunner::shouldErrorHandlerBeUsed()
- TestRunner::run in vendor/
phpunit/ phpunit/ src/ Framework/ TestRunner.php
File
-
vendor/
phpunit/ phpunit/ src/ Framework/ TestRunner.php, line 464
Class
- TestRunner
- @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
Namespace
PHPUnit\FrameworkCode
private function shouldErrorHandlerBeUsed(TestCase $test) : bool {
if (MetadataRegistry::parser()->forMethod($test::class, $test->name())
->isWithoutErrorHandler()
->isNotEmpty()) {
return false;
}
return true;
}