We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50f8e49 commit 71d0327Copy full SHA for 71d0327
issue-bot/src/Playground/TabCreator.php
@@ -2,7 +2,9 @@
2
3
namespace PHPStan\IssueBot\Playground;
4
5
+use function array_filter;
6
use function array_map;
7
+use function array_values;
8
use function count;
9
use function floor;
10
use function ksort;
@@ -26,6 +28,7 @@ public function create(array $versionedErrors): array
26
28
$last = null;
27
29
30
foreach ($versionedErrors as $phpVersion => $errors) {
31
+ $errors = array_values(array_filter($errors, static fn (PlaygroundError $error) => $error->getIdentifier() !== 'phpstanPlayground.configParameter'));
32
$errors = array_map(static function (PlaygroundError $error): PlaygroundError {
33
if ($error->getIdentifier() === null) {
34
return $error;
0 commit comments