From ef93d8d33f31a20f1501ff90787b2ef9b20aca26 Mon Sep 17 00:00:00 2001 From: Markus Staab Date: Mon, 13 Jun 2022 21:09:14 +0200 Subject: [PATCH] level 0 achievement --- pages/analysis.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pages/analysis.php b/pages/analysis.php index 81cf70c1e..6842d1d24 100644 --- a/pages/analysis.php +++ b/pages/analysis.php @@ -16,12 +16,15 @@ echo '

No phpstan result

'; } else { $totalErrors = $phpstanResult['totals']['file_errors']; - + if ($totalErrors === 0) { $level = RexStanUserConfig::getLevel(); $emoji = ''; switch ($level) { + case 0: + $emoji = '❤️️'; + break; case 1: $emoji = '✌️'; break;