protected function printLogResult(InputInterface $input, float $startTime, int $totalFiles): void
    {
        $time = round(microtime(true) - $startTime, 2);

        $this->output->writeln('');
        $this->output->writeln('');
        $this->output->writeln('Checked ' . number_format($totalFiles) . ' files in ' . $time . ' seconds.');
        $this->output->write('<info>' . number_format($this->passed) . ' Passed</info>');
        $this->output->write(' / <fg=red>' . number_format(count($this->errors)) . ' Errors</>');
        $this->output->write(' / <fg=yellow>' . number_format(count($this->warnings)) . ' Warnings</>');
        $this->output->writeln('');

        if (!empty($this->errors) && !$input->getOption('info-only')) {
            $this->printErrors();
        }

        if (!empty($this->warnings) && !$input->getOption('info-only')) {
            $this->printWarnings();
        }

        $this->output->writeln('');
    }