protected function printLegend(bool $errors, bool $warnings): void
    {
        if ($errors) {
            $this->output->write('<fg=red>F</>');
        } elseif ($warnings) {
            $this->output->write('<fg=yellow>W</>');
        } else {
            $this->output->write('<info>.</info>');
        }
    }