protected function renderBody() { $slowTests = $this->slow; $length = $this->getReportLength(); for ($i = 1; $i <= $length; ++$i) { $label = key($slowTests); $time = array_shift($slowTests); echo sprintf(" %s. %sms to run %s\n", $i, $time, $label); } }