Skip to content

Commit 66429c3

Browse files
committed
chore: update phpstan-baseline.php
1 parent dec4b71 commit 66429c3

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

phpstan-baseline.php

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@
1616
'count' => 1,
1717
'path' => __DIR__ . '/app/Config/Kint.php',
1818
];
19+
$ignoreErrors[] = [
20+
'message' => '#^Property Config\\\\Routing\\:\\:\\$override404 has no type specified\\.$#',
21+
'count' => 1,
22+
'path' => __DIR__ . '/app/Config/Routing.php',
23+
];
1924
$ignoreErrors[] = [
2025
'message' => '#^Method App\\\\Controllers\\\\BaseController\\:\\:initController\\(\\) has no return type specified\\.$#',
2126
'count' => 1,
@@ -531,6 +536,11 @@
531536
'count' => 1,
532537
'path' => __DIR__ . '/system/Config/Publisher.php',
533538
];
539+
$ignoreErrors[] = [
540+
'message' => '#^Property CodeIgniter\\\\Config\\\\Routing\\:\\:\\$override404 has no type specified\\.$#',
541+
'count' => 1,
542+
'path' => __DIR__ . '/system/Config/Routing.php',
543+
];
534544
$ignoreErrors[] = [
535545
'message' => '#^Property CodeIgniter\\\\Config\\\\View\\:\\:\\$filters has no type specified\\.$#',
536546
'count' => 1,
@@ -911,6 +921,11 @@
911921
'count' => 1,
912922
'path' => __DIR__ . '/system/Database/Seeder.php',
913923
];
924+
$ignoreErrors[] = [
925+
'message' => '#^Method CodeIgniter\\\\Debug\\\\BaseExceptionHandler\\:\\:maskSensitiveData\\(\\) has no return type specified\\.$#',
926+
'count' => 1,
927+
'path' => __DIR__ . '/system/Debug/BaseExceptionHandler.php',
928+
];
914929
$ignoreErrors[] = [
915930
'message' => '#^Method CodeIgniter\\\\Debug\\\\Exceptions\\:\\:exceptionHandler\\(\\) has no return type specified\\.$#',
916931
'count' => 1,
@@ -1151,6 +1166,11 @@
11511166
'count' => 1,
11521167
'path' => __DIR__ . '/system/Exceptions/FrameworkException.php',
11531168
];
1169+
$ignoreErrors[] = [
1170+
'message' => '#^Method CodeIgniter\\\\Exceptions\\\\FrameworkException\\:\\:forInvalidDirectory\\(\\) has no return type specified\\.$#',
1171+
'count' => 1,
1172+
'path' => __DIR__ . '/system/Exceptions/FrameworkException.php',
1173+
];
11541174
$ignoreErrors[] = [
11551175
'message' => '#^Method CodeIgniter\\\\Exceptions\\\\FrameworkException\\:\\:forInvalidFile\\(\\) has no return type specified\\.$#',
11561176
'count' => 1,
@@ -1406,6 +1426,11 @@
14061426
'count' => 1,
14071427
'path' => __DIR__ . '/system/HTTP/Response.php',
14081428
];
1429+
$ignoreErrors[] = [
1430+
'message' => '#^Method CodeIgniter\\\\HTTP\\\\SiteURI\\:\\:applyParts\\(\\) has no return type specified\\.$#',
1431+
'count' => 1,
1432+
'path' => __DIR__ . '/system/HTTP/SiteURI.php',
1433+
];
14091434
$ignoreErrors[] = [
14101435
'message' => '#^Method CodeIgniter\\\\HTTP\\\\URI\\:\\:applyParts\\(\\) has no return type specified\\.$#',
14111436
'count' => 1,
@@ -1511,6 +1536,11 @@
15111536
'count' => 1,
15121537
'path' => __DIR__ . '/system/Honeypot/Honeypot.php',
15131538
];
1539+
$ignoreErrors[] = [
1540+
'message' => '#^Method CodeIgniter\\\\HotReloader\\\\HotReloader\\:\\:run\\(\\) has no return type specified\\.$#',
1541+
'count' => 1,
1542+
'path' => __DIR__ . '/system/HotReloader/HotReloader.php',
1543+
];
15141544
$ignoreErrors[] = [
15151545
'message' => '#^Method CodeIgniter\\\\I18n\\\\Time\\:\\:setTestNow\\(\\) has no return type specified\\.$#',
15161546
'count' => 1,
@@ -1731,6 +1761,11 @@
17311761
'count' => 1,
17321762
'path' => __DIR__ . '/system/Router/AutoRouter.php',
17331763
];
1764+
$ignoreErrors[] = [
1765+
'message' => '#^Method CodeIgniter\\\\Router\\\\AutoRouterImproved\\:\\:createSegments\\(\\) has no return type specified\\.$#',
1766+
'count' => 1,
1767+
'path' => __DIR__ . '/system/Router/AutoRouterImproved.php',
1768+
];
17341769
$ignoreErrors[] = [
17351770
'message' => '#^Method CodeIgniter\\\\Router\\\\RouteCollection\\:\\:add\\(\\) has parameter \\$to with no signature specified for Closure\\.$#',
17361771
'count' => 1,

0 commit comments

Comments
 (0)