' ✓', 'info' => ' i', 'warn' => ' !', 'fail' => ' ✗']; $findings = $overrides->check(); $this->line('Platform folder: ' . platform_path()); foreach ($findings as $finding) { $this->line("{$marks[$finding['level']]} {$finding['message']}"); } $count = fn (string $level) => count(array_filter($findings, fn ($f) => $f['level'] === $level)); $this->newLine(); $this->line("{$count('warn')} warnings, {$count('fail')} failed"); return $count('fail') ? self::FAILURE : self::SUCCESS; } }