function SummaryPrinter::printCountString
1 call to SummaryPrinter::printCountString()
- SummaryPrinter::print in vendor/
phpunit/ phpunit/ src/ TextUI/ Output/ SummaryPrinter.php
File
-
vendor/
phpunit/ phpunit/ src/ TextUI/ Output/ SummaryPrinter.php, line 127
Class
- SummaryPrinter
- @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
Namespace
PHPUnit\TextUI\OutputCode
private function printCountString(int $count, string $name, string $color, bool $always = false) : void {
if ($always || $count > 0) {
$this->printWithColor($color, sprintf('%s%s: %d', $this->countPrinted ? ', ' : '', $name, $count), false);
$this->countPrinted = true;
}
}