Add an emoji for warnings as well

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
Côme Chilliet 2023-10-26 12:01:52 +02:00 committed by Côme Chilliet
parent a1a7774374
commit 802da2b801

View file

@ -64,6 +64,7 @@ class SetupChecks extends Base {
$emoji = match ($check->getSeverity()) {
'success' => '✓',
'error' => '❌',
'warning' => '⚠',
default => '',
};
$verbosity = ($check->getSeverity() === 'error' ? OutputInterface::VERBOSITY_QUIET : OutputInterface::VERBOSITY_NORMAL);