Skip to content

Commit

Permalink
chore: remove ignoreErrors
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Dec 19, 2023
1 parent 2810327 commit 479a904
Showing 1 changed file with 1 addition and 21 deletions.
22 changes: 1 addition & 21 deletions phpstan-baseline.php
Original file line number Diff line number Diff line change
Expand Up @@ -3011,11 +3011,6 @@
'count' => 1,
'path' => __DIR__ . '/system/Session/SessionInterface.php',
];
$ignoreErrors[] = [
'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
'count' => 4,
'path' => __DIR__ . '/system/Test/CIDatabaseTestCase.php',
];
$ignoreErrors[] = [
'message' => '#^Method CodeIgniter\\\\Test\\\\CIDatabaseTestCase\\:\\:clearInsertCache\\(\\) has no return type specified\\.$#',
'count' => 1,
Expand Down Expand Up @@ -3188,7 +3183,7 @@
];
$ignoreErrors[] = [
'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
'count' => 6,
'count' => 2,
'path' => __DIR__ . '/system/Test/FeatureTestCase.php',
];
$ignoreErrors[] = [
Expand Down Expand Up @@ -3591,11 +3586,6 @@
'count' => 1,
'path' => __DIR__ . '/system/Test/TestLogger.php',
];
$ignoreErrors[] = [
'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
'count' => 1,
'path' => __DIR__ . '/system/Test/TestResponse.php',
];
$ignoreErrors[] = [
'message' => '#^Method CodeIgniter\\\\Test\\\\TestResponse\\:\\:__call\\(\\) should return mixed but return statement is missing\\.$#',
'count' => 1,
Expand Down Expand Up @@ -3711,21 +3701,11 @@
'count' => 1,
'path' => __DIR__ . '/system/Throttle/Throttler.php',
];
$ignoreErrors[] = [
'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
'count' => 1,
'path' => __DIR__ . '/system/Validation/CreditCardRules.php',
];
$ignoreErrors[] = [
'message' => '#^Only booleans are allowed in a negated boolean, array\\|null given\\.$#',
'count' => 6,
'path' => __DIR__ . '/system/Validation/FileRules.php',
];
$ignoreErrors[] = [
'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
'count' => 8,
'path' => __DIR__ . '/system/Validation/Rules.php',
];
$ignoreErrors[] = [
'message' => '#^Method CodeIgniter\\\\Validation\\\\Validation\\:\\:isClosure\\(\\) has parameter \\$rule with no signature specified for Closure\\.$#',
'count' => 1,
Expand Down

0 comments on commit 479a904

Please sign in to comment.