feat: support for deprecated, notices, and warnings

This commit is contained in:
Nuno Maduro
2023-03-02 20:37:18 +00:00
parent 3f6b2e856e
commit 1e61034e86
11 changed files with 124 additions and 38 deletions

View File

@ -36,8 +36,8 @@ final class CompactPrinter
'.' => ['gray', '.'],
'S' => ['yellow', 's'],
'T' => ['cyan', 't'],
'I' => ['yellow', 'i'],
'N' => ['yellow', 'i'],
'I' => ['yellow', '!'],
'N' => ['yellow', '!'],
'D' => ['yellow', '!'],
'R' => ['yellow', '!'],
'W' => ['yellow', '!'],
@ -106,7 +106,9 @@ final class CompactPrinter
*/
public function errors(State $state): void
{
$this->style->writeErrorsSummary($state, false);
$this->output->writeln('');
$this->style->writeErrorsSummary($state);
}
/**