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
- $ignoreErrors[] = [
23
- // identifier: isset.property
24
- 'message' => '#^Property Config\\\\Autoload\\:\\:\\$helpers \\(array\\<int, string\\>\\) in isset\\(\\) is not nullable\\.$#',
25
- 'count' => 1,
26
- 'path' => __DIR__ . '/system/Autoloader/Autoloader.php',
27
- ];
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
10
$ignoreErrors[] = [
59
11
// identifier: missingType.iterableValue
60
12
'message' => '#^Method CodeIgniter\\\\BaseModel\\:\\:__call\\(\\) has parameter \\$params with 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\\.$#',
17047
16897
'count' => 1,
17048
16898
'path' => __DIR__ . '/tests/system/Session/Handlers/Database/AbstractHandlerTestCase.php',
17049
16899
];
17050
- $ignoreErrors[] = [
17051
- // identifier: missingType.callable
17052
- 'message' => '#^Method CodeIgniter\\\\Session\\\\Handlers\\\\Database\\\\AbstractHandlerTestCase\\:\\:getPrivateMethodInvoker\\(\\) return type has no signature specified for Closure\\.$#',
17053
- 'count' => 1,
17054
- 'path' => __DIR__ . '/tests/system/Session/Handlers/Database/AbstractHandlerTestCase.php',
17055
- ];
17056
- $ignoreErrors[] = [
17057
- // identifier: missingType.return
17058
- 'message' => '#^Method CodeIgniter\\\\Session\\\\Handlers\\\\Database\\\\AbstractHandlerTestCase\\:\\:setPrivateProperty\\(\\) has no return type specified\\.$#',
17059
- 'count' => 1,
17060
- 'path' => __DIR__ . '/tests/system/Session/Handlers/Database/AbstractHandlerTestCase.php',
17061
- ];
17062
16900
$ignoreErrors[] = [
17063
16901
// identifier: missingType.return
17064
16902
'message' => '#^Method CodeIgniter\\\\Session\\\\Handlers\\\\Database\\\\MySQLiHandlerTest\\:\\:getInstance\\(\\) has no return type specified\\.$#',
18331
18169
'count' => 1,
18332
18170
'path' => __DIR__ . '/tests/system/Validation/ValidationTest.php',
18333
18171
];
18334
- $ignoreErrors[] = [
18335
- // identifier: assign.propertyType
18336
- 'message' => '#^Property CodeIgniter\\\\View\\\\DecoratorsTest\\:\\:\\$loader \\(CodeIgniter\\\\Autoloader\\\\FileLocator\\) does not accept CodeIgniter\\\\Autoloader\\\\FileLocatorInterface\\.$#',
18337
- 'count' => 1,
18338
- 'path' => __DIR__ . '/tests/system/View/DecoratorsTest.php',
18339
- ];
18340
- $ignoreErrors[] = [
18341
- // identifier: assign.propertyType
18342
- 'message' => '#^Property CodeIgniter\\\\View\\\\ParserFilterTest\\:\\:\\$loader \\(CodeIgniter\\\\Autoloader\\\\FileLocator\\) does not accept CodeIgniter\\\\Autoloader\\\\FileLocatorInterface\\.$#',
18343
- 'count' => 1,
18344
- 'path' => __DIR__ . '/tests/system/View/ParserFilterTest.php',
18345
- ];
18346
18172
$ignoreErrors[] = [
18347
18173
// identifier: missingType.return
18348
18174
'message' => '#^Method CodeIgniter\\\\View\\\\ParserPluginTest\\:\\:setHints\\(\\) has no return type specified\\.$#',
@@ -18367,36 +18193,12 @@
18367
18193
'count' => 1,
18368
18194
'path' => __DIR__ . '/tests/system/View/ParserTest.php',
18369
18195
];
18370
- $ignoreErrors[] = [
18371
- // identifier: missingType.iterableValue
18372
- 'message' => '#^Method class@anonymous/tests/system/View/ParserTest\\.php\\:340\\:\\:toArray\\(\\) return type has no value type specified in iterable type array\\.$#',
18373
- 'count' => 1,
18374
- 'path' => __DIR__ . '/tests/system/View/ParserTest.php',
18375
- ];
18376
18196
$ignoreErrors[] = [
18377
18197
// identifier: argument.type
18378
18198
'message' => '#^Parameter \\#2 \\$context of method CodeIgniter\\\\View\\\\Parser\\:\\:setData\\(\\) expects \'attr\'\\|\'css\'\\|\'html\'\\|\'js\'\\|\'raw\'\\|\'url\'\\|null, \'unknown\' given\\.$#',
18379
18199
'count' => 3,
18380
18200
'path' => __DIR__ . '/tests/system/View/ParserTest.php',
18381
18201
];
18382
- $ignoreErrors[] = [
18383
- // identifier: assign.propertyType
18384
- 'message' => '#^Property CodeIgniter\\\\View\\\\ParserTest\\:\\:\\$loader \\(CodeIgniter\\\\Autoloader\\\\FileLocator\\) does not accept CodeIgniter\\\\Autoloader\\\\FileLocatorInterface\\.$#',
18385
- 'count' => 1,
18386
- 'path' => __DIR__ . '/tests/system/View/ParserTest.php',
18387
- ];
18388
- $ignoreErrors[] = [
18389
- // identifier: missingType.property
18390
- 'message' => '#^Property class@anonymous/tests/system/View/ParserTest\\.php\\:340\\:\\:\\$bar has no type specified\\.$#',
18391
- 'count' => 1,
18392
- 'path' => __DIR__ . '/tests/system/View/ParserTest.php',
18393
- ];
18394
- $ignoreErrors[] = [
18395
- // identifier: missingType.property
18396
- 'message' => '#^Property class@anonymous/tests/system/View/ParserTest\\.php\\:340\\:\\:\\$foo has no type specified\\.$#',
18397
- 'count' => 1,
18398
- 'path' => __DIR__ . '/tests/system/View/ParserTest.php',
18399
- ];
18400
18202
$ignoreErrors[] = [
18401
18203
// identifier: method.notFound
18402
18204
'message' => '#^Call to an undefined method CodeIgniter\\\\View\\\\Table\\:\\:compileTemplate\\(\\)\\.$#',
18487
18289
'count' => 1,
18488
18290
'path' => __DIR__ . '/tests/system/View/TableTest.php',
18489
18291
];
18490
- $ignoreErrors[] = [
18491
- // identifier: assign.propertyType
18492
- 'message' => '#^Property CodeIgniter\\\\View\\\\ViewTest\\:\\:\\$loader \\(CodeIgniter\\\\Autoloader\\\\FileLocator\\) does not accept CodeIgniter\\\\Autoloader\\\\FileLocatorInterface\\.$#',
18493
- 'count' => 1,
18494
- 'path' => __DIR__ . '/tests/system/View/ViewTest.php',
18495
- ];
18496
18292
18497
18293
return ['parameters' => ['ignoreErrors' => $ignoreErrors]];
0 commit comments