This commit is contained in:
Nuno Maduro
2022-09-15 21:11:42 +01:00
parent 3f111708e3
commit 0669423138
3 changed files with 2 additions and 3 deletions

View File

@ -113,7 +113,6 @@ final class Coverage implements AddsOutput, HandlesArguments
}
}
$this->output->writeln(['']);
return $exitCode;

View File

@ -11,6 +11,7 @@ use SebastianBergmann\CodeCoverage\Node\File;
use SebastianBergmann\Environment\Runtime;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Terminal;
use function Termwind\render;
use function Termwind\renderUsing;
@ -121,7 +122,6 @@ final class Coverage
));
}
$totalCoverageAsString = $totalCoverage->asFloat() === 0.0
? '0.0'
: number_format($totalCoverage->asFloat(), 1, '.', '');