Skip to content

Commit

Permalink
level 0 achievement
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm committed Jun 13, 2022
1 parent e20066a commit ef93d8d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pages/analysis.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,15 @@
echo '<p>No phpstan result</p>';
} else {
$totalErrors = $phpstanResult['totals']['file_errors'];

if ($totalErrors === 0) {
$level = RexStanUserConfig::getLevel();

$emoji = '';
switch ($level) {
case 0:
$emoji = '❤️️';
break;
case 1:
$emoji = '✌️';
break;
Expand Down

0 comments on commit ef93d8d

Please sign in to comment.