src/Runners/PHPUnit/ResultPrinter.php
private function getFailedFooter(): string
    {
        $formatString = "FAILURES!\nTests: %d, Assertions: %d, Failures: %d, Errors: %d.\n";

        return "\n" . $this->red(
            sprintf(
                $formatString,
                $this->results->getTotalTests(),
                $this->results->getTotalAssertions(),
                $this->results->getTotalFailures(),
                $this->results->getTotalErrors()
            )
        );
    }
private function getFailedFooter(): string
    {
        $formatString = "FAILURES!\nTests: %d, Assertions: %d, Failures: %d, Errors: %d.\n";

        return "\n" . $this->red(
            sprintf(
                $formatString,
                $this->results->getTotalTests(),
                $this->results->getTotalAssertions(),
                $this->results->getTotalFailures(),
                $this->results->getTotalErrors()
            )
        );
    }
private function getFailedFooter ( ) : string { $ formatString = "FAILURES!\nTests: %d, Assertions: %d, Failures: %d, Errors: %d.\n" ; return "\n" . $ this -> red ( sprintf ( $ formatString , $ this -> results -> getTotalTests ( ) , $ this -> results -> getTotalAssertions ( ) , $ this -> results -> getTotalFailures ( ) , $ this -> results -> getTotalErrors ( ) ) ) ; }
Get the footer for a test collection that had tests with
failures or errors.

@return string
Get the footer for a test collection that had tests with failures or errors .