Skip to content

Commit

Permalink
Merge pull request #8139 from kenjis/remove-ModelFactory
Browse files Browse the repository at this point in the history
refactor: remove deprecated ModelFactory
  • Loading branch information
kenjis authored Nov 5, 2023
2 parents d7272b8 + 38b373d commit b58a168
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 140 deletions.
10 changes: 0 additions & 10 deletions phpstan-baseline.php
Original file line number Diff line number Diff line change
Expand Up @@ -1186,16 +1186,6 @@
'count' => 1,
'path' => __DIR__ . '/system/Database/MigrationRunner.php',
];
$ignoreErrors[] = [
'message' => '#^Method CodeIgniter\\\\Database\\\\ModelFactory\\:\\:injectMock\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/system/Database/ModelFactory.php',
];
$ignoreErrors[] = [
'message' => '#^Method CodeIgniter\\\\Database\\\\ModelFactory\\:\\:reset\\(\\) has no return type specified\\.$#',
'count' => 1,
'path' => __DIR__ . '/system/Database/ModelFactory.php',
];
$ignoreErrors[] = [
'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
'count' => 1,
Expand Down
53 changes: 0 additions & 53 deletions system/Database/ModelFactory.php

This file was deleted.

77 changes: 0 additions & 77 deletions tests/system/Database/ModelFactoryTest.php

This file was deleted.

5 changes: 5 additions & 0 deletions user_guide_src/source/changelogs/v4.5.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,11 @@ Filters
- ``Router::$filterInfo``
- ``Router::getFilter()``

Database
--------

- ``ModelFactory``

Model
-----

Expand Down

0 comments on commit b58a168

Please sign in to comment.