From 802da2b801c6b3c02bfcbb816316cf39e556911b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B4me=20Chilliet?= Date: Thu, 26 Oct 2023 12:01:52 +0200 Subject: [PATCH] Add an emoji for warnings as well MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- core/Command/SetupChecks.php | 1 + 1 file changed, 1 insertion(+) diff --git a/core/Command/SetupChecks.php b/core/Command/SetupChecks.php index f31acba63e3f1..e64f7a5058ec8 100644 --- a/core/Command/SetupChecks.php +++ b/core/Command/SetupChecks.php @@ -64,6 +64,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int $emoji = match ($check->getSeverity()) { 'success' => '✓', 'error' => '❌', + 'warning' => '⚠', default => 'ℹ', }; $verbosity = ($check->getSeverity() === 'error' ? OutputInterface::VERBOSITY_QUIET : OutputInterface::VERBOSITY_NORMAL);