public function onConcurrentRunnerEnd($errors)
    {
        $this->output->writeln(sprintf(' Run time: %s', \PHP_Timer::secondsToTimeString($this->getTime())));
        $errorCount = count($errors);
        if (! $errorCount) {
            return;
        }

        $labels = ['was', 'error'];

        if ($errorCount > 1) {
            $labels = ['were', 'errors'];
        }

        $this->output->writeln('');
        $this->output->writeln($this->color('error', sprintf('There %s %d %s:', $labels[0], $errorCount, $labels[1])));
        $this->outputErrors($errors);
    }
public function onConcurrentRunnerEnd($errors)
    {
        $this->output->writeln(sprintf(' Run time: %s', \PHP_Timer::secondsToTimeString($this->getTime())));
        $errorCount = count($errors);
        if (! $errorCount) {
            return;
        }

        $labels = ['was', 'error'];

        if ($errorCount > 1) {
            $labels = ['were', 'errors'];
        }

        $this->output->writeln('');
        $this->output->writeln($this->color('error', sprintf('There %s %d %s:', $labels[0], $errorCount, $labels[1])));
        $this->outputErrors($errors);
    }
public function onConcurrentRunnerEnd ( $ errors ) { $ this -> output -> writeln ( sprintf ( ' Run time: %s' , \ PHP_Timer :: secondsToTimeString ( $ this -> getTime ( ) ) ) ) ; $ errorCount = count ( $ errors ) ; if ( ! $ errorCount ) { return ; } $ labels = [ 'was' , 'error' ] ; if ( $ errorCount > 1 ) { $ labels = [ 'were' , 'errors' ] ; } $ this -> output -> writeln ( '' ) ; $ this -> output -> writeln ( $ this -> color ( 'error' , sprintf ( 'There %s %d %s:' , $ labels [ 0 ] , $ errorCount , $ labels [ 1 ] ) ) ) ; $ this -> outputErrors ( $ errors ) ; }
Output test stats. If any errors were written to stderr at any point, then
they will be dumped here.

@param array $errors
@return void
Output test stats . If any errors were written to stderr at any point then they will be dumped here .