Skip to content

Commit 312311a

Browse files
committed
try fix line wrapping
1 parent 43725b5 commit 312311a

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

tests/PHPStan/Command/ErrorFormatter/TableErrorFormatterTest.php

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,8 @@ public static function dataErrorLimit(): iterable
329329
[ERROR] Found 1+ errors
330330
331331
! [NOTE] Result is limited to the first 1 errors
332-
! - Pass PHPSTAN_TABLE_ERROR_FORMATTER_FORCE_SHOW_ALL_ERRORS=1 environment variable to show all errors
332+
! - Pass PHPSTAN_TABLE_ERROR_FORMATTER_FORCE_SHOW_ALL_ERRORS=1
333+
! environment variable to show all errors
333334
! - Consider using PHPStan Pro for more comfortable error browsing
334335
! Learn more: https://phpstan.com
335336
@@ -353,7 +354,8 @@ public static function dataErrorLimit(): iterable
353354
354355
! [NOTE] Result is limited to the first 3 errors
355356
! - Consider lowering the PHPStan level
356-
! - Pass PHPSTAN_TABLE_ERROR_FORMATTER_FORCE_SHOW_ALL_ERRORS=1 environment variable to show all errors
357+
! - Pass PHPSTAN_TABLE_ERROR_FORMATTER_FORCE_SHOW_ALL_ERRORS=1
358+
! environment variable to show all errors
357359
! - Consider using PHPStan Pro for more comfortable error browsing
358360
! Learn more: https://phpstan.com
359361
@@ -376,10 +378,10 @@ public static function dataErrorLimit(): iterable
376378
[ERROR] Found 3+ errors
377379
378380
! [NOTE] Result is limited to the first 3 errors
379-
! - Pass PHPSTAN_TABLE_ERROR_FORMATTER_FORCE_SHOW_ALL_ERRORS=1 environment variable to show all errors
381+
! - Pass PHPSTAN_TABLE_ERROR_FORMATTER_FORCE_SHOW_ALL_ERRORS=1
382+
! environment variable to show all errors
380383
! - Consider using PHPStan Pro for more comfortable error browsing
381384
! Learn more: https://phpstan.com
382-
383385
',
384386
];
385387

@@ -454,7 +456,7 @@ public function testErrorLimit(
454456
int $generateErrorsCount = 4,
455457
): void
456458
{
457-
putenv('COLUMNS=120');
459+
putenv('COLUMNS=80');
458460
if ($showAllErrors) {
459461
if ($errorsBudget !== null) {
460462
$this->fail('showAllErrors cannot be true when errorsBudget is set');

0 commit comments

Comments
 (0)