We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0018a36 commit 853b1a2Copy full SHA for 853b1a2
src/Command/ErrorFormatter/TableErrorFormatter.php
@@ -29,7 +29,7 @@
29
final class TableErrorFormatter implements ErrorFormatter
30
{
31
32
- private const MAX_ERRORS_TO_SHOW = 1000;
+ private const DEFAULT_MAX_ERRORS_TO_SHOW = 1000;
33
34
public function __construct(
35
private RelativePathHelper $relativePathHelper,
@@ -90,7 +90,7 @@ public function formatErrors(
90
91
$errorsBudget = getenv('PHPSTAN_ERRORS_LIMIT');
92
if ($errorsBudget === false) {
93
- $errorsBudget = self::MAX_ERRORS_TO_SHOW;
+ $errorsBudget = self::DEFAULT_MAX_ERRORS_TO_SHOW;
94
}
95
$errorsBudget = (int) $errorsBudget;
96
0 commit comments