Skip to content

Commit 2d95fc5

Browse files
committed
fix
1 parent 954bdc3 commit 2d95fc5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Command/ErrorFormatter/TableErrorFormatter.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ public function formatErrors(
9090
$fileErrors[$fileSpecificError->getFile()][] = $fileSpecificError;
9191
}
9292

93-
if (getenv('PHPSTAN_TABLE_ERROR_FORMATTER_FORCE_SHOW_ALL_ERRORS') === '1') {
93+
$forceShowAll = getenv('PHPSTAN_TABLE_ERROR_FORMATTER_FORCE_SHOW_ALL_ERRORS');
94+
if ($forceShowAll === false || $forceShowAll === '0') {
9495
$errorsBudget = self::ERRORS_LIMIT;
9596
} else {
9697
$errorsBudget = 0;

0 commit comments

Comments
 (0)