Skip to content

Commit 28cf32b

Browse files
authored
Merge pull request #8434 from kenjis/refactor-Forge-variables
refactor: improve Forge variable names
2 parents 83c582c + 213f0b9 commit 28cf32b

File tree

8 files changed

+274
-240
lines changed

8 files changed

+274
-240
lines changed

phpstan-baseline.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1451,11 +1451,6 @@
14511451
'count' => 1,
14521452
'path' => __DIR__ . '/system/Database/Postgre/Forge.php',
14531453
];
1454-
$ignoreErrors[] = [
1455-
'message' => '#^Return type \\(array\\|bool\\|string\\) of method CodeIgniter\\\\Database\\\\Postgre\\\\Forge\\:\\:_alterTable\\(\\) should be covariant with return type \\(array\\<string\\>\\|string\\|false\\) of method CodeIgniter\\\\Database\\\\Forge\\:\\:_alterTable\\(\\)$#',
1456-
'count' => 1,
1457-
'path' => __DIR__ . '/system/Database/Postgre/Forge.php',
1458-
];
14591454
$ignoreErrors[] = [
14601455
'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
14611456
'count' => 1,
@@ -1656,11 +1651,6 @@
16561651
'count' => 1,
16571652
'path' => __DIR__ . '/system/Database/SQLite3/Forge.php',
16581653
];
1659-
$ignoreErrors[] = [
1660-
'message' => '#^Return type \\(array\\|string\\|null\\) of method CodeIgniter\\\\Database\\\\SQLite3\\\\Forge\\:\\:_alterTable\\(\\) should be covariant with return type \\(array\\<string\\>\\|string\\|false\\) of method CodeIgniter\\\\Database\\\\Forge\\:\\:_alterTable\\(\\)$#',
1661-
'count' => 1,
1662-
'path' => __DIR__ . '/system/Database/SQLite3/Forge.php',
1663-
];
16641654
$ignoreErrors[] = [
16651655
'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\\(\\)$#',
16661656
'count' => 1,

0 commit comments

Comments
 (0)