private function setExitCode() { if ($this->interpreter->getTotalErrors()) { $this->exitcode = self::PHPUNIT_ERRORS; } elseif ($this->interpreter->getTotalFailures()) { $this->exitcode = self::PHPUNIT_FAILURES; } else { $this->exitcode = 0; } }