From 49cba0140d90f4e83999891937851da6c8f3b3e4 Mon Sep 17 00:00:00 2001 From: neznaika0 Date: Thu, 5 Dec 2024 19:21:18 +0300 Subject: [PATCH] dev: Update phpstan-baseline.php --- phpstan-baseline.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/phpstan-baseline.php b/phpstan-baseline.php index 0f31aeb56f41..5391db46cad1 100644 --- a/phpstan-baseline.php +++ b/phpstan-baseline.php @@ -799,6 +799,12 @@ 'count' => 1, 'path' => __DIR__ . '/system/Commands/Utilities/Routes.php', ]; +$ignoreErrors[] = [ + // identifier: codeigniter.superglobalAccessAssign + 'message' => '#^Assigning string directly on offset \'HTTP_HOST\' of \\$_SERVER is discouraged\\.$#', + 'count' => 1, + 'path' => __DIR__ . '/system/Commands/Utilities/Routes.php', +]; $ignoreErrors[] = [ // identifier: variable.implicitArray 'message' => '#^Implicit array creation is not allowed \\- variable \\$filters might not exist\\.$#',