Skip to content

Commit f2fb30c

Browse files
committed
chore: update phpstan-baseline
1 parent e6be5f5 commit f2fb30c

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

phpstan-baseline.php

+10-4
Original file line numberDiff line numberDiff line change
@@ -7495,6 +7495,12 @@
74957495
'count' => 1,
74967496
'path' => __DIR__ . '/system/I18n/TimeLegacy.php',
74977497
];
7498+
$ignoreErrors[] = [
7499+
// identifier: method.childReturnType
7500+
'message' => '#^Return type \\(CodeIgniter\\\\I18n\\\\TimeLegacy\\) of method CodeIgniter\\\\I18n\\\\TimeLegacy\\:\\:setTimestamp\\(\\) should be covariant with return type \\(static\\(DateTime\\)\\) of method DateTime\\:\\:setTimestamp\\(\\)$#',
7501+
'count' => 1,
7502+
'path' => __DIR__ . '/system/I18n/TimeLegacy.php',
7503+
];
74987504
$ignoreErrors[] = [
74997505
// identifier: ternary.shortNotAllowed
75007506
'message' => '#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#',
@@ -13215,15 +13221,15 @@
1321513221
];
1321613222
$ignoreErrors[] = [
1321713223
// identifier: property.notFound
13218-
'message' => '#^Access to an undefined property CodeIgniter\\\\Database\\\\BaseConnection\\:\\:\\$numberNative\\.$#',
13224+
'message' => '#^Access to an undefined property CodeIgniter\\\\Database\\\\BaseConnection\\:\\:\\$foundRows\\.$#',
1321913225
'count' => 2,
13220-
'path' => __DIR__ . '/tests/system/Database/Live/MySQLi/NumberNativeTest.php',
13226+
'path' => __DIR__ . '/tests/system/Database/Live/MySQLi/FoundRowsTest.php',
1322113227
];
1322213228
$ignoreErrors[] = [
1322313229
// identifier: property.notFound
13224-
'message' => '#^Access to an undefined property CodeIgniter\\\\Database\\\\BaseConnection\\:\\:\\$foundRows\\.$#',
13230+
'message' => '#^Access to an undefined property CodeIgniter\\\\Database\\\\BaseConnection\\:\\:\\$numberNative\\.$#',
1322513231
'count' => 2,
13226-
'path' => __DIR__ . '/tests/system/Database/Live/MySQLi/FoundRowsTest.php',
13232+
'path' => __DIR__ . '/tests/system/Database/Live/MySQLi/NumberNativeTest.php',
1322713233
];
1322813234
$ignoreErrors[] = [
1322913235
// identifier: missingType.property

0 commit comments

Comments
 (0)