Skip to content

Commit

Permalink
Merge pull request #8151 from paulbalandan/v1.4.2
Browse files Browse the repository at this point in the history
Update to phpstan-codeigniter v1.4.2
  • Loading branch information
kenjis authored Nov 5, 2023
2 parents c20c67d + 6e15dad commit c27cadc
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions phpstan-baseline.php
Original file line number Diff line number Diff line change
Expand Up @@ -701,21 +701,6 @@
'count' => 1,
'path' => __DIR__ . '/system/Commands/Server/Serve.php',
];
$ignoreErrors[] = [
'message' => '#^Accessing offset \'DOCUMENT_ROOT\' directly on \\$_SERVER is discouraged\\.$#',
'count' => 2,
'path' => __DIR__ . '/system/Commands/Server/rewrite.php',
];
$ignoreErrors[] = [
'message' => '#^Accessing offset \'REQUEST_URI\' directly on \\$_SERVER is discouraged\\.$#',
'count' => 1,
'path' => __DIR__ . '/system/Commands/Server/rewrite.php',
];
$ignoreErrors[] = [
'message' => '#^Assigning \'/index\\.php\' directly on offset \'SCRIPT_NAME\' of \\$_SERVER is discouraged\\.$#',
'count' => 1,
'path' => __DIR__ . '/system/Commands/Server/rewrite.php',
];
$ignoreErrors[] = [
'message' => '#^Accessing offset \'CI_ENVIRONMENT\' directly on \\$_SERVER is discouraged\\.$#',
'count' => 3,
Expand Down Expand Up @@ -3916,21 +3901,6 @@
'count' => 1,
'path' => __DIR__ . '/system/Test/TestResponse.php',
];
$ignoreErrors[] = [
'message' => '#^Accessing offset \'app\\.baseURL\' directly on \\$_SERVER is discouraged\\.$#',
'count' => 1,
'path' => __DIR__ . '/system/Test/bootstrap.php',
];
$ignoreErrors[] = [
'message' => '#^Assigning \'http\\://example\\.com/\' directly on offset \'app\\.baseURL\' of \\$_SERVER is discouraged\\.$#',
'count' => 1,
'path' => __DIR__ . '/system/Test/bootstrap.php',
];
$ignoreErrors[] = [
'message' => '#^Assigning \'testing\' directly on offset \'CI_ENVIRONMENT\' of \\$_SERVER is discouraged\\.$#',
'count' => 1,
'path' => __DIR__ . '/system/Test/bootstrap.php',
];
$ignoreErrors[] = [
'message' => '#^Property CodeIgniter\\\\Throttle\\\\Throttler\\:\\:\\$testTime \\(int\\) on left side of \\?\\? is not nullable\\.$#',
'count' => 1,
Expand Down

0 comments on commit c27cadc

Please sign in to comment.