Skip to content

Commit 43a06ae

Browse files
authored
Merge pull request #8311 from kenjis/update-phpstan-baseline
chore: update phpstan-baseline.php
2 parents e91e5b6 + 1dbc95d commit 43a06ae

File tree

1 file changed

+0
-35
lines changed

1 file changed

+0
-35
lines changed

phpstan-baseline.php

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1261,11 +1261,6 @@
12611261
'count' => 3,
12621262
'path' => __DIR__ . '/system/Database/MySQLi/PreparedQuery.php',
12631263
];
1264-
$ignoreErrors[] = [
1265-
'message' => '#^Return type \\(CodeIgniter\\\\Database\\\\MySQLi\\\\PreparedQuery\\) of method CodeIgniter\\\\Database\\\\MySQLi\\\\PreparedQuery\\:\\:_prepare\\(\\) should be covariant with return type \\(\\$this\\(CodeIgniter\\\\Database\\\\BasePreparedQuery\\<TConnection, TStatement, TResult\\>\\)\\) of method CodeIgniter\\\\Database\\\\BasePreparedQuery\\<mysqli,mysqli_stmt,mysqli_result\\>\\:\\:_prepare\\(\\)$#',
1266-
'count' => 1,
1267-
'path' => __DIR__ . '/system/Database/MySQLi/PreparedQuery.php',
1268-
];
12691264
$ignoreErrors[] = [
12701265
'message' => '#^Return type \\(mysqli_result\\|false\\) of method CodeIgniter\\\\Database\\\\MySQLi\\\\PreparedQuery\\:\\:_getResult\\(\\) should be covariant with return type \\(object\\|resource\\|null\\) of method CodeIgniter\\\\Database\\\\BasePreparedQuery\\<mysqli,mysqli_stmt,mysqli_result\\>\\:\\:_getResult\\(\\)$#',
12711266
'count' => 1,
@@ -1381,11 +1376,6 @@
13811376
'count' => 1,
13821377
'path' => __DIR__ . '/system/Database/OCI8/PreparedQuery.php',
13831378
];
1384-
$ignoreErrors[] = [
1385-
'message' => '#^Return type \\(CodeIgniter\\\\Database\\\\OCI8\\\\PreparedQuery\\) of method CodeIgniter\\\\Database\\\\OCI8\\\\PreparedQuery\\:\\:_prepare\\(\\) should be covariant with return type \\(\\$this\\(CodeIgniter\\\\Database\\\\BasePreparedQuery\\<TConnection, TStatement, TResult\\>\\)\\) of method CodeIgniter\\\\Database\\\\BasePreparedQuery\\<resource,resource,resource\\>\\:\\:_prepare\\(\\)$#',
1386-
'count' => 1,
1387-
'path' => __DIR__ . '/system/Database/OCI8/PreparedQuery.php',
1388-
];
13891379
$ignoreErrors[] = [
13901380
'message' => '#^PHPDoc type string of property CodeIgniter\\\\Database\\\\OCI8\\\\Utils\\:\\:\\$listDatabases is not the same as PHPDoc type bool\\|string of overridden property CodeIgniter\\\\Database\\\\BaseUtils\\:\\:\\$listDatabases\\.$#',
13911381
'count' => 1,
@@ -1511,11 +1501,6 @@
15111501
'count' => 1,
15121502
'path' => __DIR__ . '/system/Database/Postgre/Forge.php',
15131503
];
1514-
$ignoreErrors[] = [
1515-
'message' => '#^Return type \\(CodeIgniter\\\\Database\\\\Postgre\\\\PreparedQuery\\) of method CodeIgniter\\\\Database\\\\Postgre\\\\PreparedQuery\\:\\:_prepare\\(\\) should be covariant with return type \\(\\$this\\(CodeIgniter\\\\Database\\\\BasePreparedQuery\\<TConnection, TStatement, TResult\\>\\)\\) of method CodeIgniter\\\\Database\\\\BasePreparedQuery\\<PgSql\\\\Connection,PgSql\\\\Result,PgSql\\\\Result\\>\\:\\:_prepare\\(\\)$#',
1516-
'count' => 1,
1517-
'path' => __DIR__ . '/system/Database/Postgre/PreparedQuery.php',
1518-
];
15191504
$ignoreErrors[] = [
15201505
'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
15211506
'count' => 1,
@@ -1651,11 +1636,6 @@
16511636
'count' => 1,
16521637
'path' => __DIR__ . '/system/Database/SQLSRV/PreparedQuery.php',
16531638
];
1654-
$ignoreErrors[] = [
1655-
'message' => '#^Return type \\(CodeIgniter\\\\Database\\\\SQLSRV\\\\PreparedQuery\\) of method CodeIgniter\\\\Database\\\\SQLSRV\\\\PreparedQuery\\:\\:_prepare\\(\\) should be covariant with return type \\(\\$this\\(CodeIgniter\\\\Database\\\\BasePreparedQuery\\<TConnection, TStatement, TResult\\>\\)\\) of method CodeIgniter\\\\Database\\\\BasePreparedQuery\\<resource,resource,resource\\>\\:\\:_prepare\\(\\)$#',
1656-
'count' => 1,
1657-
'path' => __DIR__ . '/system/Database/SQLSRV/PreparedQuery.php',
1658-
];
16591639
$ignoreErrors[] = [
16601640
'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
16611641
'count' => 1,
@@ -1726,11 +1706,6 @@
17261706
'count' => 1,
17271707
'path' => __DIR__ . '/system/Database/SQLite3/Forge.php',
17281708
];
1729-
$ignoreErrors[] = [
1730-
'message' => '#^Return type \\(CodeIgniter\\\\Database\\\\SQLite3\\\\PreparedQuery\\) of method CodeIgniter\\\\Database\\\\SQLite3\\\\PreparedQuery\\:\\:_prepare\\(\\) should be covariant with return type \\(\\$this\\(CodeIgniter\\\\Database\\\\BasePreparedQuery\\<TConnection, TStatement, TResult\\>\\)\\) of method CodeIgniter\\\\Database\\\\BasePreparedQuery\\<SQLite3,SQLite3Stmt,SQLite3Result\\>\\:\\:_prepare\\(\\)$#',
1731-
'count' => 1,
1732-
'path' => __DIR__ . '/system/Database/SQLite3/PreparedQuery.php',
1733-
];
17341709
$ignoreErrors[] = [
17351710
'message' => '#^Return type \\(SQLite3Result\\|false\\) of method CodeIgniter\\\\Database\\\\SQLite3\\\\PreparedQuery\\:\\:_getResult\\(\\) should be covariant with return type \\(object\\|resource\\|null\\) of method CodeIgniter\\\\Database\\\\BasePreparedQuery\\<SQLite3,SQLite3Stmt,SQLite3Result\\>\\:\\:_getResult\\(\\)$#',
17361711
'count' => 1,
@@ -2021,16 +1996,6 @@
20211996
'count' => 1,
20221997
'path' => __DIR__ . '/system/HTTP/DownloadResponse.php',
20231998
];
2024-
$ignoreErrors[] = [
2025-
'message' => '#^Return type \\(CodeIgniter\\\\HTTP\\\\DownloadResponse\\) of method CodeIgniter\\\\HTTP\\\\DownloadResponse\\:\\:noCache\\(\\) should be covariant with return type \\(\\$this\\(CodeIgniter\\\\HTTP\\\\Response\\)\\) of method CodeIgniter\\\\HTTP\\\\Response\\:\\:noCache\\(\\)$#',
2026-
'count' => 1,
2027-
'path' => __DIR__ . '/system/HTTP/DownloadResponse.php',
2028-
];
2029-
$ignoreErrors[] = [
2030-
'message' => '#^Return type \\(CodeIgniter\\\\HTTP\\\\DownloadResponse\\) of method CodeIgniter\\\\HTTP\\\\DownloadResponse\\:\\:noCache\\(\\) should be covariant with return type \\(\\$this\\(CodeIgniter\\\\HTTP\\\\ResponseInterface\\)\\) of method CodeIgniter\\\\HTTP\\\\ResponseInterface\\:\\:noCache\\(\\)$#',
2031-
'count' => 1,
2032-
'path' => __DIR__ . '/system/HTTP/DownloadResponse.php',
2033-
];
20341999
$ignoreErrors[] = [
20352000
'message' => '#^Return type \\(CodeIgniter\\\\HTTP\\\\DownloadResponse\\) of method CodeIgniter\\\\HTTP\\\\DownloadResponse\\:\\:sendBody\\(\\) should be covariant with return type \\(\\$this\\(CodeIgniter\\\\HTTP\\\\Response\\)\\) of method CodeIgniter\\\\HTTP\\\\Response\\:\\:sendBody\\(\\)$#',
20362001
'count' => 1,

0 commit comments

Comments
 (0)