Skip to content

Commit b58a168

Browse files
authored
Merge pull request #8139 from kenjis/remove-ModelFactory
refactor: remove deprecated ModelFactory
2 parents d7272b8 + 38b373d commit b58a168

File tree

4 files changed

+5
-140
lines changed

4 files changed

+5
-140
lines changed

phpstan-baseline.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1186,16 +1186,6 @@
11861186
'count' => 1,
11871187
'path' => __DIR__ . '/system/Database/MigrationRunner.php',
11881188
];
1189-
$ignoreErrors[] = [
1190-
'message' => '#^Method CodeIgniter\\\\Database\\\\ModelFactory\\:\\:injectMock\\(\\) has no return type specified\\.$#',
1191-
'count' => 1,
1192-
'path' => __DIR__ . '/system/Database/ModelFactory.php',
1193-
];
1194-
$ignoreErrors[] = [
1195-
'message' => '#^Method CodeIgniter\\\\Database\\\\ModelFactory\\:\\:reset\\(\\) has no return type specified\\.$#',
1196-
'count' => 1,
1197-
'path' => __DIR__ . '/system/Database/ModelFactory.php',
1198-
];
11991189
$ignoreErrors[] = [
12001190
'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
12011191
'count' => 1,

system/Database/ModelFactory.php

Lines changed: 0 additions & 53 deletions
This file was deleted.

tests/system/Database/ModelFactoryTest.php

Lines changed: 0 additions & 77 deletions
This file was deleted.

user_guide_src/source/changelogs/v4.5.0.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,11 @@ Filters
128128
- ``Router::$filterInfo``
129129
- ``Router::getFilter()``
130130

131+
Database
132+
--------
133+
134+
- ``ModelFactory``
135+
131136
Model
132137
-----
133138

0 commit comments

Comments
 (0)