We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0ae6a9 commit 6cbe8beCopy full SHA for 6cbe8be
1 file changed
src/Command/ErrorFormatter/TableErrorFormatter.php
@@ -91,7 +91,7 @@ public function formatErrors(
91
}
92
93
$forceShowAll = getenv('PHPSTAN_TABLE_ERROR_FORMATTER_FORCE_SHOW_ALL_ERRORS');
94
- if ($forceShowAll === false || $forceShowAll === '0') {
+ if (\in_array($forceShowAll, [false, '0'], true)) {
95
$errorsBudget = self::ERRORS_LIMIT;
96
} else {
97
$errorsBudget = 0;
0 commit comments