Skip to content

Commit 853b1a2

Browse files
committed
Update TableErrorFormatter.php
1 parent 0018a36 commit 853b1a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Command/ErrorFormatter/TableErrorFormatter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
final class TableErrorFormatter implements ErrorFormatter
3030
{
3131

32-
private const MAX_ERRORS_TO_SHOW = 1000;
32+
private const DEFAULT_MAX_ERRORS_TO_SHOW = 1000;
3333

3434
public function __construct(
3535
private RelativePathHelper $relativePathHelper,
@@ -90,7 +90,7 @@ public function formatErrors(
9090

9191
$errorsBudget = getenv('PHPSTAN_ERRORS_LIMIT');
9292
if ($errorsBudget === false) {
93-
$errorsBudget = self::MAX_ERRORS_TO_SHOW;
93+
$errorsBudget = self::DEFAULT_MAX_ERRORS_TO_SHOW;
9494
}
9595
$errorsBudget = (int) $errorsBudget;
9696

0 commit comments

Comments
 (0)