|
7 | 7 | 'count' => 1, |
8 | 8 | 'path' => __DIR__ . '/app/Config/Filters.php', |
9 | 9 | ]; |
10 | | -$ignoreErrors[] = [ |
11 | | - // identifier: function.alreadyNarrowedType |
12 | | - 'message' => '#^Call to function method_exists\\(\\) with \'Composer\\\\\\\\InstalledVersions\' and \'getAllRawData\' will always evaluate to true\\.$#', |
13 | | - 'count' => 1, |
14 | | - 'path' => __DIR__ . '/system/Autoloader/Autoloader.php', |
15 | | -]; |
16 | | -$ignoreErrors[] = [ |
17 | | - // identifier: missingType.iterableValue |
18 | | - 'message' => '#^Method CodeIgniter\\\\Autoloader\\\\Autoloader\\:\\:loadComposerNamespaces\\(\\) has parameter \\$composerPackages with no value type specified in iterable type array\\.$#', |
19 | | - 'count' => 1, |
20 | | - 'path' => __DIR__ . '/system/Autoloader/Autoloader.php', |
21 | | -]; |
22 | 10 | $ignoreErrors[] = [ |
23 | 11 | // identifier: isset.property |
24 | 12 | 'message' => '#^Property Config\\\\Autoload\\:\\:\\$helpers \\(array\\<int, string\\>\\) in isset\\(\\) is not nullable\\.$#', |
25 | 13 | 'count' => 1, |
26 | 14 | 'path' => __DIR__ . '/system/Autoloader/Autoloader.php', |
27 | 15 | ]; |
28 | | -$ignoreErrors[] = [ |
29 | | - // identifier: ternary.condNotBoolean |
30 | | - 'message' => '#^Only booleans are allowed in a ternary operator condition, int\\|string given\\.$#', |
31 | | - 'count' => 1, |
32 | | - 'path' => __DIR__ . '/system/Autoloader/FileLocator.php', |
33 | | -]; |
34 | | -$ignoreErrors[] = [ |
35 | | - // identifier: ternary.shortNotAllowed |
36 | | - 'message' => '#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#', |
37 | | - 'count' => 6, |
38 | | - 'path' => __DIR__ . '/system/Autoloader/FileLocator.php', |
39 | | -]; |
40 | | -$ignoreErrors[] = [ |
41 | | - // identifier: missingType.iterableValue |
42 | | - 'message' => '#^Method CodeIgniter\\\\Autoloader\\\\FileLocatorCached\\:\\:search\\(\\) return type has no value type specified in iterable type array\\.$#', |
43 | | - 'count' => 1, |
44 | | - 'path' => __DIR__ . '/system/Autoloader/FileLocatorCached.php', |
45 | | -]; |
46 | | -$ignoreErrors[] = [ |
47 | | - // identifier: missingType.iterableValue |
48 | | - 'message' => '#^Property CodeIgniter\\\\Autoloader\\\\FileLocatorCached\\:\\:\\$cache type has no value type specified in iterable type array\\.$#', |
49 | | - 'count' => 1, |
50 | | - 'path' => __DIR__ . '/system/Autoloader/FileLocatorCached.php', |
51 | | -]; |
52 | | -$ignoreErrors[] = [ |
53 | | - // identifier: missingType.iterableValue |
54 | | - 'message' => '#^Method CodeIgniter\\\\Autoloader\\\\FileLocatorInterface\\:\\:search\\(\\) return type has no value type specified in iterable type array\\.$#', |
55 | | - 'count' => 1, |
56 | | - 'path' => __DIR__ . '/system/Autoloader/FileLocatorInterface.php', |
57 | | -]; |
58 | 16 | $ignoreErrors[] = [ |
59 | 17 | // identifier: missingType.iterableValue |
60 | 18 | 'message' => '#^Method CodeIgniter\\\\BaseModel\\:\\:__call\\(\\) has parameter \\$params with no value type specified in iterable type array\\.$#', |
|
1021 | 979 | 'count' => 1, |
1022 | 980 | 'path' => __DIR__ . '/system/Common.php', |
1023 | 981 | ]; |
1024 | | -$ignoreErrors[] = [ |
1025 | | - // identifier: empty.notAllowed |
1026 | | - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
1027 | | - 'count' => 4, |
1028 | | - 'path' => __DIR__ . '/system/Common.php', |
1029 | | -]; |
1030 | 982 | $ignoreErrors[] = [ |
1031 | 983 | // identifier: missingType.iterableValue |
1032 | 984 | 'message' => '#^Function cache\\(\\) return type has no value type specified in iterable type array\\.$#', |
|
1297 | 1249 | 'count' => 1, |
1298 | 1250 | 'path' => __DIR__ . '/system/Config/Factories.php', |
1299 | 1251 | ]; |
1300 | | -$ignoreErrors[] = [ |
1301 | | - // identifier: booleanNot.exprNotBoolean |
1302 | | - 'message' => '#^Only booleans are allowed in a negated boolean, array given\\.$#', |
1303 | | - 'count' => 1, |
1304 | | - 'path' => __DIR__ . '/system/Config/Factories.php', |
1305 | | -]; |
1306 | | -$ignoreErrors[] = [ |
1307 | | - // identifier: booleanNot.exprNotBoolean |
1308 | | - 'message' => '#^Only booleans are allowed in a negated boolean, string\\|null given\\.$#', |
1309 | | - 'count' => 2, |
1310 | | - 'path' => __DIR__ . '/system/Config/Factories.php', |
1311 | | -]; |
1312 | 1252 | $ignoreErrors[] = [ |
1313 | 1253 | // identifier: missingType.iterableValue |
1314 | 1254 | 'message' => '#^Property CodeIgniter\\\\Config\\\\Factory\\:\\:\\$default type has no value type specified in iterable type array\\.$#', |
|
9241 | 9181 | 'count' => 1, |
9242 | 9182 | 'path' => __DIR__ . '/system/Test/CIUnitTestCase.php', |
9243 | 9183 | ]; |
9244 | | -$ignoreErrors[] = [ |
9245 | | - // identifier: missingType.callable |
9246 | | - 'message' => '#^Method CodeIgniter\\\\Test\\\\CIUnitTestCase\\:\\:getPrivateMethodInvoker\\(\\) return type has no signature specified for Closure\\.$#', |
9247 | | - 'count' => 1, |
9248 | | - 'path' => __DIR__ . '/system/Test/CIUnitTestCase.php', |
9249 | | -]; |
9250 | 9184 | $ignoreErrors[] = [ |
9251 | 9185 | // identifier: missingType.return |
9252 | 9186 | 'message' => '#^Method CodeIgniter\\\\Test\\\\CIUnitTestCase\\:\\:mockCache\\(\\) has no return type specified\\.$#', |
|
9277 | 9211 | 'count' => 1, |
9278 | 9212 | 'path' => __DIR__ . '/system/Test/CIUnitTestCase.php', |
9279 | 9213 | ]; |
9280 | | -$ignoreErrors[] = [ |
9281 | | - // identifier: missingType.return |
9282 | | - 'message' => '#^Method CodeIgniter\\\\Test\\\\CIUnitTestCase\\:\\:setPrivateProperty\\(\\) has no return type specified\\.$#', |
9283 | | - 'count' => 1, |
9284 | | - 'path' => __DIR__ . '/system/Test/CIUnitTestCase.php', |
9285 | | -]; |
9286 | 9214 | $ignoreErrors[] = [ |
9287 | 9215 | // identifier: booleanNot.exprNotBoolean |
9288 | 9216 | 'message' => '#^Only booleans are allowed in a negated boolean, CodeIgniter\\\\CodeIgniter given\\.$#', |
|
11821 | 11749 | 'count' => 1, |
11822 | 11750 | 'path' => __DIR__ . '/tests/system/AutoReview/FrameworkCodeTest.php', |
11823 | 11751 | ]; |
11824 | | -$ignoreErrors[] = [ |
11825 | | - // identifier: missingType.callable |
11826 | | - 'message' => '#^Method CodeIgniter\\\\Autoloader\\\\AutoloaderTest\\:\\:getPrivateMethodInvoker\\(\\) return type has no signature specified for Closure\\.$#', |
11827 | | - 'count' => 1, |
11828 | | - 'path' => __DIR__ . '/tests/system/Autoloader/AutoloaderTest.php', |
11829 | | -]; |
11830 | | -$ignoreErrors[] = [ |
11831 | | - // identifier: missingType.return |
11832 | | - 'message' => '#^Method CodeIgniter\\\\Autoloader\\\\AutoloaderTest\\:\\:setPrivateProperty\\(\\) has no return type specified\\.$#', |
11833 | | - 'count' => 1, |
11834 | | - 'path' => __DIR__ . '/tests/system/Autoloader/AutoloaderTest.php', |
11835 | | -]; |
11836 | | -$ignoreErrors[] = [ |
11837 | | - // identifier: ternary.shortNotAllowed |
11838 | | - 'message' => '#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#', |
11839 | | - 'count' => 2, |
11840 | | - 'path' => __DIR__ . '/tests/system/Autoloader/AutoloaderTest.php', |
11841 | | -]; |
11842 | | -$ignoreErrors[] = [ |
11843 | | - // identifier: method.notFound |
11844 | | - 'message' => '#^Call to an undefined method CodeIgniter\\\\Autoloader\\\\FileLocatorInterface\\:\\:__destruct\\(\\)\\.$#', |
11845 | | - 'count' => 1, |
11846 | | - 'path' => __DIR__ . '/tests/system/Autoloader/FileLocatorCachedTest.php', |
11847 | | -]; |
11848 | | -$ignoreErrors[] = [ |
11849 | | - // identifier: method.notFound |
11850 | | - 'message' => '#^Call to an undefined method CodeIgniter\\\\Autoloader\\\\FileLocatorInterface\\:\\:deleteCache\\(\\)\\.$#', |
11851 | | - 'count' => 1, |
11852 | | - 'path' => __DIR__ . '/tests/system/Autoloader/FileLocatorCachedTest.php', |
11853 | | -]; |
11854 | 11752 | $ignoreErrors[] = [ |
11855 | 11753 | // identifier: codeigniter.superglobalAccessAssign |
11856 | 11754 | 'message' => '#^Assigning 3 directly on offset \'argc\' of \\$_SERVER is discouraged\\.$#', |
@@ -13141,24 +13039,12 @@ |
13141 | 13039 | 'count' => 1, |
13142 | 13040 | 'path' => __DIR__ . '/tests/system/Database/Builder/WhereTest.php', |
13143 | 13041 | ]; |
13144 | | -$ignoreErrors[] = [ |
13145 | | - // identifier: missingType.callable |
13146 | | - 'message' => '#^Method CodeIgniter\\\\Database\\\\ConfigTest\\:\\:getPrivateMethodInvoker\\(\\) return type has no signature specified for Closure\\.$#', |
13147 | | - 'count' => 1, |
13148 | | - 'path' => __DIR__ . '/tests/system/Database/ConfigTest.php', |
13149 | | -]; |
13150 | 13042 | $ignoreErrors[] = [ |
13151 | 13043 | // identifier: missingType.iterableValue |
13152 | 13044 | 'message' => '#^Method CodeIgniter\\\\Database\\\\ConfigTest\\:\\:provideConvertDSN\\(\\) return type has no value type specified in iterable type iterable\\.$#', |
13153 | 13045 | 'count' => 1, |
13154 | 13046 | 'path' => __DIR__ . '/tests/system/Database/ConfigTest.php', |
13155 | 13047 | ]; |
13156 | | -$ignoreErrors[] = [ |
13157 | | - // identifier: missingType.return |
13158 | | - 'message' => '#^Method CodeIgniter\\\\Database\\\\ConfigTest\\:\\:setPrivateProperty\\(\\) has no return type specified\\.$#', |
13159 | | - 'count' => 1, |
13160 | | - 'path' => __DIR__ . '/tests/system/Database/ConfigTest.php', |
13161 | | -]; |
13162 | 13048 | $ignoreErrors[] = [ |
13163 | 13049 | // identifier: missingType.iterableValue |
13164 | 13050 | 'message' => '#^Property CodeIgniter\\\\Database\\\\ConfigTest\\:\\:\\$dsnGroup type has no value type specified in iterable type array\\.$#', |
|
13501 | 13387 | 'count' => 1, |
13502 | 13388 | 'path' => __DIR__ . '/tests/system/Debug/ExceptionsTest.php', |
13503 | 13389 | ]; |
13504 | | -$ignoreErrors[] = [ |
13505 | | - // identifier: missingType.callable |
13506 | | - 'message' => '#^Method CodeIgniter\\\\Debug\\\\ExceptionsTest\\:\\:getPrivateMethodInvoker\\(\\) return type has no signature specified for Closure\\.$#', |
13507 | | - 'count' => 1, |
13508 | | - 'path' => __DIR__ . '/tests/system/Debug/ExceptionsTest.php', |
13509 | | -]; |
13510 | | -$ignoreErrors[] = [ |
13511 | | - // identifier: missingType.return |
13512 | | - 'message' => '#^Method CodeIgniter\\\\Debug\\\\ExceptionsTest\\:\\:setPrivateProperty\\(\\) has no return type specified\\.$#', |
13513 | | - 'count' => 1, |
13514 | | - 'path' => __DIR__ . '/tests/system/Debug/ExceptionsTest.php', |
13515 | | -]; |
13516 | 13390 | $ignoreErrors[] = [ |
13517 | 13391 | // identifier: argument.type |
13518 | 13392 | 'message' => '#^Parameter \\#2 \\$callable of method CodeIgniter\\\\Debug\\\\Timer\\:\\:record\\(\\) expects callable\\(\\)\\: mixed, \'strlen\' given\\.$#', |
|
13651 | 13525 | 'count' => 1, |
13652 | 13526 | 'path' => __DIR__ . '/tests/system/Entity/EntityTest.php', |
13653 | 13527 | ]; |
13654 | | -$ignoreErrors[] = [ |
13655 | | - // identifier: missingType.callable |
13656 | | - 'message' => '#^Method CodeIgniter\\\\Entity\\\\EntityTest\\:\\:getPrivateMethodInvoker\\(\\) return type has no signature specified for Closure\\.$#', |
13657 | | - 'count' => 1, |
13658 | | - 'path' => __DIR__ . '/tests/system/Entity/EntityTest.php', |
13659 | | -]; |
13660 | 13528 | $ignoreErrors[] = [ |
13661 | 13529 | // identifier: missingType.return |
13662 | 13530 | 'message' => '#^Method CodeIgniter\\\\Entity\\\\EntityTest\\:\\:getSimpleSwappedEntity\\(\\) has no return type specified\\.$#', |
|
13669 | 13537 | 'count' => 1, |
13670 | 13538 | 'path' => __DIR__ . '/tests/system/Entity/EntityTest.php', |
13671 | 13539 | ]; |
13672 | | -$ignoreErrors[] = [ |
13673 | | - // identifier: missingType.return |
13674 | | - 'message' => '#^Method CodeIgniter\\\\Entity\\\\EntityTest\\:\\:setPrivateProperty\\(\\) has no return type specified\\.$#', |
13675 | | - 'count' => 1, |
13676 | | - 'path' => __DIR__ . '/tests/system/Entity/EntityTest.php', |
13677 | | -]; |
13678 | 13540 | $ignoreErrors[] = [ |
13679 | 13541 | // identifier: codeigniter.configArgumentInstanceof |
13680 | 13542 | 'message' => '#^Argument \\#1 \\$name \\(\'Modules\'\\) passed to function config does not extend CodeIgniter\\\\\\\\Config\\\\\\\\BaseConfig\\.$#', |
|
15979 | 15841 | 'count' => 1, |
15980 | 15842 | 'path' => __DIR__ . '/tests/system/Models/InsertModelTest.php', |
15981 | 15843 | ]; |
15982 | | -$ignoreErrors[] = [ |
15983 | | - // identifier: missingType.callable |
15984 | | - 'message' => '#^Method CodeIgniter\\\\Models\\\\LiveModelTestCase\\:\\:getPrivateMethodInvoker\\(\\) return type has no signature specified for Closure\\.$#', |
15985 | | - 'count' => 1, |
15986 | | - 'path' => __DIR__ . '/tests/system/Models/LiveModelTestCase.php', |
15987 | | -]; |
15988 | | -$ignoreErrors[] = [ |
15989 | | - // identifier: missingType.return |
15990 | | - 'message' => '#^Method CodeIgniter\\\\Models\\\\LiveModelTestCase\\:\\:setPrivateProperty\\(\\) has no return type specified\\.$#', |
15991 | | - 'count' => 1, |
15992 | | - 'path' => __DIR__ . '/tests/system/Models/LiveModelTestCase.php', |
15993 | | -]; |
15994 | 15844 | $ignoreErrors[] = [ |
15995 | 15845 | // identifier: property.nonObject |
15996 | 15846 | 'message' => '#^Cannot access property \\$created_at on array\\.$#', |
|
17041 | 16891 | 'count' => 1, |
17042 | 16892 | 'path' => __DIR__ . '/tests/system/Session/Handlers/Database/AbstractHandlerTestCase.php', |
17043 | 16893 | ]; |
17044 | | -$ignoreErrors[] = [ |
17045 | | - // identifier: missingType.callable |
17046 | | - 'message' => '#^Method CodeIgniter\\\\Session\\\\Handlers\\\\Database\\\\AbstractHandlerTestCase\\:\\:getPrivateMethodInvoker\\(\\) return type has no signature specified for Closure\\.$#', |
17047 | | - 'count' => 1, |
17048 | | - 'path' => __DIR__ . '/tests/system/Session/Handlers/Database/AbstractHandlerTestCase.php', |
17049 | | -]; |
17050 | | -$ignoreErrors[] = [ |
17051 | | - // identifier: missingType.return |
17052 | | - 'message' => '#^Method CodeIgniter\\\\Session\\\\Handlers\\\\Database\\\\AbstractHandlerTestCase\\:\\:setPrivateProperty\\(\\) has no return type specified\\.$#', |
17053 | | - 'count' => 1, |
17054 | | - 'path' => __DIR__ . '/tests/system/Session/Handlers/Database/AbstractHandlerTestCase.php', |
17055 | | -]; |
17056 | 16894 | $ignoreErrors[] = [ |
17057 | 16895 | // identifier: missingType.return |
17058 | 16896 | 'message' => '#^Method CodeIgniter\\\\Session\\\\Handlers\\\\Database\\\\MySQLiHandlerTest\\:\\:getInstance\\(\\) has no return type specified\\.$#', |
|
18325 | 18163 | 'count' => 1, |
18326 | 18164 | 'path' => __DIR__ . '/tests/system/Validation/ValidationTest.php', |
18327 | 18165 | ]; |
18328 | | -$ignoreErrors[] = [ |
18329 | | - // identifier: assign.propertyType |
18330 | | - 'message' => '#^Property CodeIgniter\\\\View\\\\DecoratorsTest\\:\\:\\$loader \\(CodeIgniter\\\\Autoloader\\\\FileLocator\\) does not accept CodeIgniter\\\\Autoloader\\\\FileLocatorInterface\\.$#', |
18331 | | - 'count' => 1, |
18332 | | - 'path' => __DIR__ . '/tests/system/View/DecoratorsTest.php', |
18333 | | -]; |
18334 | | -$ignoreErrors[] = [ |
18335 | | - // identifier: assign.propertyType |
18336 | | - 'message' => '#^Property CodeIgniter\\\\View\\\\ParserFilterTest\\:\\:\\$loader \\(CodeIgniter\\\\Autoloader\\\\FileLocator\\) does not accept CodeIgniter\\\\Autoloader\\\\FileLocatorInterface\\.$#', |
18337 | | - 'count' => 1, |
18338 | | - 'path' => __DIR__ . '/tests/system/View/ParserFilterTest.php', |
18339 | | -]; |
18340 | 18166 | $ignoreErrors[] = [ |
18341 | 18167 | // identifier: missingType.return |
18342 | 18168 | 'message' => '#^Method CodeIgniter\\\\View\\\\ParserPluginTest\\:\\:setHints\\(\\) has no return type specified\\.$#', |
|
18367 | 18193 | 'count' => 3, |
18368 | 18194 | 'path' => __DIR__ . '/tests/system/View/ParserTest.php', |
18369 | 18195 | ]; |
18370 | | -$ignoreErrors[] = [ |
18371 | | - // identifier: assign.propertyType |
18372 | | - 'message' => '#^Property CodeIgniter\\\\View\\\\ParserTest\\:\\:\\$loader \\(CodeIgniter\\\\Autoloader\\\\FileLocator\\) does not accept CodeIgniter\\\\Autoloader\\\\FileLocatorInterface\\.$#', |
18373 | | - 'count' => 1, |
18374 | | - 'path' => __DIR__ . '/tests/system/View/ParserTest.php', |
18375 | | -]; |
18376 | 18196 | $ignoreErrors[] = [ |
18377 | 18197 | // identifier: method.notFound |
18378 | 18198 | 'message' => '#^Call to an undefined method CodeIgniter\\\\View\\\\Table\\:\\:compileTemplate\\(\\)\\.$#', |
|
18463 | 18283 | 'count' => 1, |
18464 | 18284 | 'path' => __DIR__ . '/tests/system/View/TableTest.php', |
18465 | 18285 | ]; |
18466 | | -$ignoreErrors[] = [ |
18467 | | - // identifier: assign.propertyType |
18468 | | - 'message' => '#^Property CodeIgniter\\\\View\\\\ViewTest\\:\\:\\$loader \\(CodeIgniter\\\\Autoloader\\\\FileLocator\\) does not accept CodeIgniter\\\\Autoloader\\\\FileLocatorInterface\\.$#', |
18469 | | - 'count' => 1, |
18470 | | - 'path' => __DIR__ . '/tests/system/View/ViewTest.php', |
18471 | | -]; |
18472 | 18286 |
|
18473 | 18287 | return ['parameters' => ['ignoreErrors' => $ignoreErrors]]; |
0 commit comments