Skip to content

Commit 83c7eca

Browse files
committed
Update TableErrorFormatter.php
1 parent 8ede14c commit 83c7eca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/Command/ErrorFormatter/TableErrorFormatter.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,9 @@ public function formatErrors(
121121

122122
if (
123123
$error->getIdentifier() !== null
124-
&& in_array($error->getIdentifier(), ['phpstan.type', 'phpstan.nativeType', 'phpstan.variable'], true)
124+
&& in_array($error->getIdentifier(), ['phpstan.type', 'phpstan.nativeType', 'phpstan.variable', 'phpstan.dumpType', 'phpstan.unknownExpectation'], true)
125125
) {
126-
$message = '<info>' . $message . '</info>';
126+
$message = '<error>' . $message . '</error>';
127127
}
128128

129129
$rows[] = [

0 commit comments

Comments
 (0)