protected function guardLinterIsInstalled() { if (!$this->linter->isInstalled()) { throw new RuntimeException(sprintf('The %s can\'t run on your system. Please install all dependencies.', $this->getName())); } }