Skip to content

Commit 839abfb

Browse files
committed
chore: remove ignoreErrors
1 parent 0ed469c commit 839abfb

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
@@ -16,11 +16,6 @@
1616
'count' => 1,
1717
'path' => __DIR__ . '/system/Autoloader/Autoloader.php',
1818
];
19-
$ignoreErrors[] = [
20-
'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
21-
'count' => 3,
22-
'path' => __DIR__ . '/system/Autoloader/FileLocator.php',
23-
];
2419
$ignoreErrors[] = [
2520
'message' => '#^Only booleans are allowed in a ternary operator condition, int\\|string given\\.$#',
2621
'count' => 1,
@@ -31,11 +26,6 @@
3126
'count' => 6,
3227
'path' => __DIR__ . '/system/Autoloader/FileLocator.php',
3328
];
34-
$ignoreErrors[] = [
35-
'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
36-
'count' => 8,
37-
'path' => __DIR__ . '/system/BaseModel.php',
38-
];
3929
$ignoreErrors[] = [
4030
'message' => '#^Method CodeIgniter\\\\BaseModel\\:\\:chunk\\(\\) has parameter \\$userFunc with no signature specified for Closure\\.$#',
4131
'count' => 1,
@@ -1721,16 +1711,6 @@
17211711
'count' => 1,
17221712
'path' => __DIR__ . '/system/Debug/BaseExceptionHandler.php',
17231713
];
1724-
$ignoreErrors[] = [
1725-
'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
1726-
'count' => 1,
1727-
'path' => __DIR__ . '/system/Debug/ExceptionHandler.php',
1728-
];
1729-
$ignoreErrors[] = [
1730-
'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
1731-
'count' => 1,
1732-
'path' => __DIR__ . '/system/Debug/Exceptions.php',
1733-
];
17341714
$ignoreErrors[] = [
17351715
'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
17361716
'count' => 5,
@@ -2546,11 +2526,6 @@
25462526
'count' => 1,
25472527
'path' => __DIR__ . '/system/RESTful/BaseResource.php',
25482528
];
2549-
$ignoreErrors[] = [
2550-
'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
2551-
'count' => 1,
2552-
'path' => __DIR__ . '/system/RESTful/ResourceController.php',
2553-
];
25542529
$ignoreErrors[] = [
25552530
'message' => '#^Only booleans are allowed in a ternary operator condition, string\\|null given\\.$#',
25562531
'count' => 1,
@@ -3501,11 +3476,6 @@
35013476
'count' => 1,
35023477
'path' => __DIR__ . '/system/Test/Mock/MockResourceController.php',
35033478
];
3504-
$ignoreErrors[] = [
3505-
'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
3506-
'count' => 1,
3507-
'path' => __DIR__ . '/system/Test/Mock/MockResourcePresenter.php',
3508-
];
35093479
$ignoreErrors[] = [
35103480
'message' => '#^Method CodeIgniter\\\\Test\\\\Mock\\\\MockResourcePresenter\\:\\:getFormat\\(\\) has no return type specified\\.$#',
35113481
'count' => 1,

0 commit comments

Comments
 (0)