Skip to content

Commit 3ff50fb

Browse files
committed
chore: update phpstan-baseline
1 parent 3037635 commit 3ff50fb

File tree

1 file changed

+4
-208
lines changed

1 file changed

+4
-208
lines changed

phpstan-baseline.php

Lines changed: 4 additions & 208 deletions
Original file line numberDiff line numberDiff line change
@@ -5125,18 +5125,6 @@
51255125
'count' => 1,
51265126
'path' => __DIR__ . '/system/Entity/Entity.php',
51275127
];
5128-
$ignoreErrors[] = [
5129-
// identifier: missingType.iterableValue
5130-
'message' => '#^Property CodeIgniter\\\\Entity\\\\Entity\\:\\:\\$attributes type has no value type specified in iterable type array\\.$#',
5131-
'count' => 1,
5132-
'path' => __DIR__ . '/system/Entity/Entity.php',
5133-
];
5134-
$ignoreErrors[] = [
5135-
// identifier: missingType.iterableValue
5136-
'message' => '#^Property CodeIgniter\\\\Entity\\\\Entity\\:\\:\\$original type has no value type specified in iterable type array\\.$#',
5137-
'count' => 1,
5138-
'path' => __DIR__ . '/system/Entity/Entity.php',
5139-
];
51405128
$ignoreErrors[] = [
51415129
// identifier: codeigniter.configArgumentInstanceof
51425130
'message' => '#^Argument \\#1 \\$name \\(\'Config\\\\\\\\Modules\'\\) passed to function config does not extend CodeIgniter\\\\\\\\Config\\\\\\\\BaseConfig\\.$#',
@@ -10855,12 +10843,6 @@
1085510843
'count' => 1,
1085610844
'path' => __DIR__ . '/tests/_support/Entity/CustomUser.php',
1085710845
];
10858-
$ignoreErrors[] = [
10859-
// identifier: missingType.iterableValue
10860-
'message' => '#^Property Tests\\\\Support\\\\Entity\\\\User\\:\\:\\$attributes type has no value type specified in iterable type array\\.$#',
10861-
'count' => 1,
10862-
'path' => __DIR__ . '/tests/_support/Entity/User.php',
10863-
];
1086410846
$ignoreErrors[] = [
1086510847
// identifier: missingType.return
1086610848
'message' => '#^Method Tests\\\\Support\\\\Language\\\\SecondMockLanguage\\:\\:loaded\\(\\) has no return type specified\\.$#',
@@ -11095,12 +11077,6 @@
1109511077
'count' => 1,
1109611078
'path' => __DIR__ . '/tests/_support/Models/UserModel.php',
1109711079
];
11098-
$ignoreErrors[] = [
11099-
// identifier: missingType.iterableValue
11100-
'message' => '#^Property Tests\\\\Support\\\\SomeEntity\\:\\:\\$attributes type has no value type specified in iterable type array\\.$#',
11101-
'count' => 1,
11102-
'path' => __DIR__ . '/tests/_support/SomeEntity.php',
11103-
];
1110411080
$ignoreErrors[] = [
1110511081
// identifier: missingType.return
1110611082
'message' => '#^Method Tests\\\\Support\\\\Test\\\\TestForReflectionHelper\\:\\:getPrivate\\(\\) has no return type specified\\.$#',
@@ -13239,15 +13215,15 @@
1323913215
];
1324013216
$ignoreErrors[] = [
1324113217
// identifier: property.notFound
13242-
'message' => '#^Access to an undefined property CodeIgniter\\\\Database\\\\BaseConnection\\:\\:\\$numberNative\\.$#',
13218+
'message' => '#^Access to an undefined property CodeIgniter\\\\Database\\\\BaseConnection\\:\\:\\$foundRows\\.$#',
1324313219
'count' => 2,
13244-
'path' => __DIR__ . '/tests/system/Database/Live/MySQLi/NumberNativeTest.php',
13220+
'path' => __DIR__ . '/tests/system/Database/Live/MySQLi/FoundRowsTest.php',
1324513221
];
1324613222
$ignoreErrors[] = [
1324713223
// identifier: property.notFound
13248-
'message' => '#^Access to an undefined property CodeIgniter\\\\Database\\\\BaseConnection\\:\\:\\$foundRows\\.$#',
13224+
'message' => '#^Access to an undefined property CodeIgniter\\\\Database\\\\BaseConnection\\:\\:\\$numberNative\\.$#',
1324913225
'count' => 2,
13250-
'path' => __DIR__ . '/tests/system/Database/Live/MySQLi/FoundRowsTest.php',
13226+
'path' => __DIR__ . '/tests/system/Database/Live/MySQLi/NumberNativeTest.php',
1325113227
];
1325213228
$ignoreErrors[] = [
1325313229
// identifier: missingType.property
@@ -13591,180 +13567,6 @@
1359113567
'count' => 1,
1359213568
'path' => __DIR__ . '/tests/system/Entity/EntityTest.php',
1359313569
];
13594-
$ignoreErrors[] = [
13595-
// identifier: missingType.return
13596-
'message' => '#^Method class@anonymous/tests/system/Entity/EntityTest\\.php\\:1078\\:\\:getBar\\(\\) has no return type specified\\.$#',
13597-
'count' => 1,
13598-
'path' => __DIR__ . '/tests/system/Entity/EntityTest.php',
13599-
];
13600-
$ignoreErrors[] = [
13601-
// identifier: missingType.return
13602-
'message' => '#^Method class@anonymous/tests/system/Entity/EntityTest\\.php\\:1078\\:\\:getFakeBar\\(\\) has no return type specified\\.$#',
13603-
'count' => 1,
13604-
'path' => __DIR__ . '/tests/system/Entity/EntityTest.php',
13605-
];
13606-
$ignoreErrors[] = [
13607-
// identifier: missingType.return
13608-
'message' => '#^Method class@anonymous/tests/system/Entity/EntityTest\\.php\\:1078\\:\\:setBar\\(\\) has no return type specified\\.$#',
13609-
'count' => 1,
13610-
'path' => __DIR__ . '/tests/system/Entity/EntityTest.php',
13611-
];
13612-
$ignoreErrors[] = [
13613-
// identifier: missingType.parameter
13614-
'message' => '#^Method class@anonymous/tests/system/Entity/EntityTest\\.php\\:1078\\:\\:setBar\\(\\) has parameter \\$value with no type specified\\.$#',
13615-
'count' => 1,
13616-
'path' => __DIR__ . '/tests/system/Entity/EntityTest.php',
13617-
];
13618-
$ignoreErrors[] = [
13619-
// identifier: missingType.return
13620-
'message' => '#^Method class@anonymous/tests/system/Entity/EntityTest\\.php\\:1116\\:\\:_getBar\\(\\) has no return type specified\\.$#',
13621-
'count' => 1,
13622-
'path' => __DIR__ . '/tests/system/Entity/EntityTest.php',
13623-
];
13624-
$ignoreErrors[] = [
13625-
// identifier: missingType.return
13626-
'message' => '#^Method class@anonymous/tests/system/Entity/EntityTest\\.php\\:1116\\:\\:_setBar\\(\\) has no return type specified\\.$#',
13627-
'count' => 1,
13628-
'path' => __DIR__ . '/tests/system/Entity/EntityTest.php',
13629-
];
13630-
$ignoreErrors[] = [
13631-
// identifier: missingType.parameter
13632-
'message' => '#^Method class@anonymous/tests/system/Entity/EntityTest\\.php\\:1116\\:\\:_setBar\\(\\) has parameter \\$value with no type specified\\.$#',
13633-
'count' => 1,
13634-
'path' => __DIR__ . '/tests/system/Entity/EntityTest.php',
13635-
];
13636-
$ignoreErrors[] = [
13637-
// identifier: missingType.return
13638-
'message' => '#^Method class@anonymous/tests/system/Entity/EntityTest\\.php\\:1116\\:\\:getBar\\(\\) has no return type specified\\.$#',
13639-
'count' => 1,
13640-
'path' => __DIR__ . '/tests/system/Entity/EntityTest.php',
13641-
];
13642-
$ignoreErrors[] = [
13643-
// identifier: missingType.return
13644-
'message' => '#^Method class@anonymous/tests/system/Entity/EntityTest\\.php\\:1116\\:\\:setBar\\(\\) has no return type specified\\.$#',
13645-
'count' => 1,
13646-
'path' => __DIR__ . '/tests/system/Entity/EntityTest.php',
13647-
];
13648-
$ignoreErrors[] = [
13649-
// identifier: missingType.parameter
13650-
'message' => '#^Method class@anonymous/tests/system/Entity/EntityTest\\.php\\:1116\\:\\:setBar\\(\\) has parameter \\$value with no type specified\\.$#',
13651-
'count' => 1,
13652-
'path' => __DIR__ . '/tests/system/Entity/EntityTest.php',
13653-
];
13654-
$ignoreErrors[] = [
13655-
// identifier: missingType.return
13656-
'message' => '#^Method class@anonymous/tests/system/Entity/EntityTest\\.php\\:1162\\:\\:getSimple\\(\\) has no return type specified\\.$#',
13657-
'count' => 1,
13658-
'path' => __DIR__ . '/tests/system/Entity/EntityTest.php',
13659-
];
13660-
$ignoreErrors[] = [
13661-
// identifier: missingType.parameter
13662-
'message' => '#^Method class@anonymous/tests/system/Entity/EntityTest\\.php\\:1229\\:\\:setSeventh\\(\\) has parameter \\$seventh with no type specified\\.$#',
13663-
'count' => 1,
13664-
'path' => __DIR__ . '/tests/system/Entity/EntityTest.php',
13665-
];
13666-
$ignoreErrors[] = [
13667-
// identifier: missingType.iterableValue
13668-
'message' => '#^Property class@anonymous/tests/system/Entity/EntityTest\\.php\\:1078\\:\\:\\$attributes type has no value type specified in iterable type array\\.$#',
13669-
'count' => 1,
13670-
'path' => __DIR__ . '/tests/system/Entity/EntityTest.php',
13671-
];
13672-
$ignoreErrors[] = [
13673-
// identifier: missingType.iterableValue
13674-
'message' => '#^Property class@anonymous/tests/system/Entity/EntityTest\\.php\\:1078\\:\\:\\$original type has no value type specified in iterable type array\\.$#',
13675-
'count' => 1,
13676-
'path' => __DIR__ . '/tests/system/Entity/EntityTest.php',
13677-
];
13678-
$ignoreErrors[] = [
13679-
// identifier: missingType.iterableValue
13680-
'message' => '#^Property class@anonymous/tests/system/Entity/EntityTest\\.php\\:1116\\:\\:\\$attributes type has no value type specified in iterable type array\\.$#',
13681-
'count' => 1,
13682-
'path' => __DIR__ . '/tests/system/Entity/EntityTest.php',
13683-
];
13684-
$ignoreErrors[] = [
13685-
// identifier: missingType.iterableValue
13686-
'message' => '#^Property class@anonymous/tests/system/Entity/EntityTest\\.php\\:1116\\:\\:\\$original type has no value type specified in iterable type array\\.$#',
13687-
'count' => 1,
13688-
'path' => __DIR__ . '/tests/system/Entity/EntityTest.php',
13689-
];
13690-
$ignoreErrors[] = [
13691-
// identifier: missingType.property
13692-
'message' => '#^Property class@anonymous/tests/system/Entity/EntityTest\\.php\\:1162\\:\\:\\$_original has no type specified\\.$#',
13693-
'count' => 1,
13694-
'path' => __DIR__ . '/tests/system/Entity/EntityTest.php',
13695-
];
13696-
$ignoreErrors[] = [
13697-
// identifier: missingType.iterableValue
13698-
'message' => '#^Property class@anonymous/tests/system/Entity/EntityTest\\.php\\:1162\\:\\:\\$attributes type has no value type specified in iterable type array\\.$#',
13699-
'count' => 1,
13700-
'path' => __DIR__ . '/tests/system/Entity/EntityTest.php',
13701-
];
13702-
$ignoreErrors[] = [
13703-
// identifier: missingType.property
13704-
'message' => '#^Property class@anonymous/tests/system/Entity/EntityTest\\.php\\:1192\\:\\:\\$_original has no type specified\\.$#',
13705-
'count' => 1,
13706-
'path' => __DIR__ . '/tests/system/Entity/EntityTest.php',
13707-
];
13708-
$ignoreErrors[] = [
13709-
// identifier: missingType.iterableValue
13710-
'message' => '#^Property class@anonymous/tests/system/Entity/EntityTest\\.php\\:1192\\:\\:\\$attributes type has no value type specified in iterable type array\\.$#',
13711-
'count' => 1,
13712-
'path' => __DIR__ . '/tests/system/Entity/EntityTest.php',
13713-
];
13714-
$ignoreErrors[] = [
13715-
// identifier: missingType.property
13716-
'message' => '#^Property class@anonymous/tests/system/Entity/EntityTest\\.php\\:1211\\:\\:\\$_original has no type specified\\.$#',
13717-
'count' => 1,
13718-
'path' => __DIR__ . '/tests/system/Entity/EntityTest.php',
13719-
];
13720-
$ignoreErrors[] = [
13721-
// identifier: missingType.iterableValue
13722-
'message' => '#^Property class@anonymous/tests/system/Entity/EntityTest\\.php\\:1211\\:\\:\\$attributes type has no value type specified in iterable type array\\.$#',
13723-
'count' => 1,
13724-
'path' => __DIR__ . '/tests/system/Entity/EntityTest.php',
13725-
];
13726-
$ignoreErrors[] = [
13727-
// identifier: missingType.property
13728-
'message' => '#^Property class@anonymous/tests/system/Entity/EntityTest\\.php\\:1229\\:\\:\\$_original has no type specified\\.$#',
13729-
'count' => 1,
13730-
'path' => __DIR__ . '/tests/system/Entity/EntityTest.php',
13731-
];
13732-
$ignoreErrors[] = [
13733-
// identifier: missingType.iterableValue
13734-
'message' => '#^Property class@anonymous/tests/system/Entity/EntityTest\\.php\\:1229\\:\\:\\$attributes type has no value type specified in iterable type array\\.$#',
13735-
'count' => 1,
13736-
'path' => __DIR__ . '/tests/system/Entity/EntityTest.php',
13737-
];
13738-
$ignoreErrors[] = [
13739-
// identifier: missingType.property
13740-
'message' => '#^Property class@anonymous/tests/system/Entity/EntityTest\\.php\\:1287\\:\\:\\$_original has no type specified\\.$#',
13741-
'count' => 1,
13742-
'path' => __DIR__ . '/tests/system/Entity/EntityTest.php',
13743-
];
13744-
$ignoreErrors[] = [
13745-
// identifier: missingType.iterableValue
13746-
'message' => '#^Property class@anonymous/tests/system/Entity/EntityTest\\.php\\:1287\\:\\:\\$attributes type has no value type specified in iterable type array\\.$#',
13747-
'count' => 1,
13748-
'path' => __DIR__ . '/tests/system/Entity/EntityTest.php',
13749-
];
13750-
$ignoreErrors[] = [
13751-
// identifier: missingType.property
13752-
'message' => '#^Property class@anonymous/tests/system/Entity/EntityTest\\.php\\:1316\\:\\:\\$_original has no type specified\\.$#',
13753-
'count' => 1,
13754-
'path' => __DIR__ . '/tests/system/Entity/EntityTest.php',
13755-
];
13756-
$ignoreErrors[] = [
13757-
// identifier: missingType.iterableValue
13758-
'message' => '#^Property class@anonymous/tests/system/Entity/EntityTest\\.php\\:1316\\:\\:\\$attributes type has no value type specified in iterable type array\\.$#',
13759-
'count' => 1,
13760-
'path' => __DIR__ . '/tests/system/Entity/EntityTest.php',
13761-
];
13762-
$ignoreErrors[] = [
13763-
// identifier: missingType.iterableValue
13764-
'message' => '#^Property class@anonymous/tests/system/Entity/EntityTest\\.php\\:895\\:\\:\\$attributes type has no value type specified in iterable type array\\.$#',
13765-
'count' => 1,
13766-
'path' => __DIR__ . '/tests/system/Entity/EntityTest.php',
13767-
];
1376813570
$ignoreErrors[] = [
1376913571
// identifier: codeigniter.configArgumentInstanceof
1377013572
'message' => '#^Argument \\#1 \\$name \\(\'Modules\'\\) passed to function config does not extend CodeIgniter\\\\\\\\Config\\\\\\\\BaseConfig\\.$#',
@@ -18511,12 +18313,6 @@
1851118313
'count' => 1,
1851218314
'path' => __DIR__ . '/tests/system/View/ParserTest.php',
1851318315
];
18514-
$ignoreErrors[] = [
18515-
// identifier: missingType.iterableValue
18516-
'message' => '#^Property class@anonymous/tests/system/View/ParserTest\\.php\\:370\\:\\:\\$attributes type has no value type specified in iterable type array\\.$#',
18517-
'count' => 1,
18518-
'path' => __DIR__ . '/tests/system/View/ParserTest.php',
18519-
];
1852018316
$ignoreErrors[] = [
1852118317
// identifier: method.notFound
1852218318
'message' => '#^Call to an undefined method CodeIgniter\\\\View\\\\Table\\:\\:compileTemplate\\(\\)\\.$#',

0 commit comments

Comments
 (0)