function ResultPrinter::printPhpunitErrors
1 call to ResultPrinter::printPhpunitErrors()
- ResultPrinter::print in vendor/
phpunit/ phpunit/ src/ TextUI/ Output/ Default/ ResultPrinter.php
File
-
vendor/
phpunit/ phpunit/ src/ TextUI/ Output/ Default/ ResultPrinter.php, line 149
Class
- ResultPrinter
- @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
Namespace
PHPUnit\TextUI\Output\DefaultCode
private function printPhpunitErrors(TestResult $result) : void {
if (!$result->hasTestTriggeredPhpunitErrorEvents()) {
return;
}
$elements = $this->mapTestsWithIssuesEventsToElements($result->testTriggeredPhpunitErrorEvents());
$this->printListHeaderWithNumber($elements['numberOfTestsWithIssues'], 'PHPUnit error');
$this->printList($elements['elements']);
}