Skip to content

Commit c27cadc

Browse files
authored
Merge pull request #8151 from paulbalandan/v1.4.2
Update to phpstan-codeigniter v1.4.2
2 parents c20c67d + 6e15dad commit c27cadc

File tree

1 file changed

+0
-30
lines changed

1 file changed

+0
-30
lines changed

phpstan-baseline.php

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -701,21 +701,6 @@
701701
'count' => 1,
702702
'path' => __DIR__ . '/system/Commands/Server/Serve.php',
703703
];
704-
$ignoreErrors[] = [
705-
'message' => '#^Accessing offset \'DOCUMENT_ROOT\' directly on \\$_SERVER is discouraged\\.$#',
706-
'count' => 2,
707-
'path' => __DIR__ . '/system/Commands/Server/rewrite.php',
708-
];
709-
$ignoreErrors[] = [
710-
'message' => '#^Accessing offset \'REQUEST_URI\' directly on \\$_SERVER is discouraged\\.$#',
711-
'count' => 1,
712-
'path' => __DIR__ . '/system/Commands/Server/rewrite.php',
713-
];
714-
$ignoreErrors[] = [
715-
'message' => '#^Assigning \'/index\\.php\' directly on offset \'SCRIPT_NAME\' of \\$_SERVER is discouraged\\.$#',
716-
'count' => 1,
717-
'path' => __DIR__ . '/system/Commands/Server/rewrite.php',
718-
];
719704
$ignoreErrors[] = [
720705
'message' => '#^Accessing offset \'CI_ENVIRONMENT\' directly on \\$_SERVER is discouraged\\.$#',
721706
'count' => 3,
@@ -3916,21 +3901,6 @@
39163901
'count' => 1,
39173902
'path' => __DIR__ . '/system/Test/TestResponse.php',
39183903
];
3919-
$ignoreErrors[] = [
3920-
'message' => '#^Accessing offset \'app\\.baseURL\' directly on \\$_SERVER is discouraged\\.$#',
3921-
'count' => 1,
3922-
'path' => __DIR__ . '/system/Test/bootstrap.php',
3923-
];
3924-
$ignoreErrors[] = [
3925-
'message' => '#^Assigning \'http\\://example\\.com/\' directly on offset \'app\\.baseURL\' of \\$_SERVER is discouraged\\.$#',
3926-
'count' => 1,
3927-
'path' => __DIR__ . '/system/Test/bootstrap.php',
3928-
];
3929-
$ignoreErrors[] = [
3930-
'message' => '#^Assigning \'testing\' directly on offset \'CI_ENVIRONMENT\' of \\$_SERVER is discouraged\\.$#',
3931-
'count' => 1,
3932-
'path' => __DIR__ . '/system/Test/bootstrap.php',
3933-
];
39343904
$ignoreErrors[] = [
39353905
'message' => '#^Property CodeIgniter\\\\Throttle\\\\Throttler\\:\\:\\$testTime \\(int\\) on left side of \\?\\? is not nullable\\.$#',
39363906
'count' => 1,

0 commit comments

Comments
 (0)