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>');
        }
    }
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>');
        }
    }
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>' ) ; } }
Print legend.

@param bool $errors
@param bool $warnings

@return void
Print legend .