Skip to content

Commit 49cba01

Browse files
committed
dev: Update phpstan-baseline.php
1 parent 9db9b5a commit 49cba01

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

phpstan-baseline.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -799,6 +799,12 @@
799799
'count' => 1,
800800
'path' => __DIR__ . '/system/Commands/Utilities/Routes.php',
801801
];
802+
$ignoreErrors[] = [
803+
// identifier: codeigniter.superglobalAccessAssign
804+
'message' => '#^Assigning string directly on offset \'HTTP_HOST\' of \\$_SERVER is discouraged\\.$#',
805+
'count' => 1,
806+
'path' => __DIR__ . '/system/Commands/Utilities/Routes.php',
807+
];
802808
$ignoreErrors[] = [
803809
// identifier: variable.implicitArray
804810
'message' => '#^Implicit array creation is not allowed \\- variable \\$filters might not exist\\.$#',

0 commit comments

Comments
 (0)