Skip to content

Commit 71d0327

Browse files
committed
Issue bot - skip phpstanPlayground.configParameter errors
1 parent 50f8e49 commit 71d0327

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

issue-bot/src/Playground/TabCreator.php

+3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
namespace PHPStan\IssueBot\Playground;
44

5+
use function array_filter;
56
use function array_map;
7+
use function array_values;
68
use function count;
79
use function floor;
810
use function ksort;
@@ -26,6 +28,7 @@ public function create(array $versionedErrors): array
2628
$last = null;
2729

2830
foreach ($versionedErrors as $phpVersion => $errors) {
31+
$errors = array_values(array_filter($errors, static fn (PlaygroundError $error) => $error->getIdentifier() !== 'phpstanPlayground.configParameter'));
2932
$errors = array_map(static function (PlaygroundError $error): PlaygroundError {
3033
if ($error->getIdentifier() === null) {
3134
return $error;

0 commit comments

Comments
 (0)