diff --git a/core/Command/SetupChecks.php b/core/Command/SetupChecks.php index d266b62a0f2..ed0d22bdfc0 100644 --- a/core/Command/SetupChecks.php +++ b/core/Command/SetupChecks.php @@ -59,7 +59,8 @@ class SetupChecks extends Base { $styleTag = match ($check->getSeverity()) { 'success' => 'info', 'error' => 'error', - default => 'comment', + 'warning' => 'comment', + default => null, }; $emoji = match ($check->getSeverity()) { 'success' => '✓', @@ -70,11 +71,12 @@ class SetupChecks extends Base { $verbosity = ($check->getSeverity() === 'error' ? OutputInterface::VERBOSITY_QUIET : OutputInterface::VERBOSITY_NORMAL); $description = $check->getDescription(); $output->writeln( - "\t\t<{$styleTag}>". + "\t\t". + ($styleTag !== null ? "<{$styleTag}>" : ''). "{$emoji} ". $title. ($description !== null ? ': '.$description : ''). - "", + ($styleTag !== null ? "" : ''), $verbosity ); }