From 576fc3e9191de58b729f43c19ea58637aabe4803 Mon Sep 17 00:00:00 2001 From: kenjis Date: Thu, 1 Feb 2024 16:45:56 +0900 Subject: [PATCH] refactor: remove deprecated CodeIgniter\Entity --- system/Entity.php | 25 --------------------- user_guide_src/source/changelogs/v4.5.0.rst | 2 ++ 2 files changed, 2 insertions(+), 25 deletions(-) delete mode 100644 system/Entity.php diff --git a/system/Entity.php b/system/Entity.php deleted file mode 100644 index a27e0d3068a0..000000000000 --- a/system/Entity.php +++ /dev/null @@ -1,25 +0,0 @@ - - * - * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. - */ - -namespace CodeIgniter; - -use CodeIgniter\Entity\Entity as CoreEntity; - -/** - * Entity encapsulation, for use with CodeIgniter\Model - * - * @deprecated use CodeIgniter\Entity\Entity class instead - */ -class Entity extends CoreEntity -{ -} diff --git a/user_guide_src/source/changelogs/v4.5.0.rst b/user_guide_src/source/changelogs/v4.5.0.rst index d019ca469606..5d8703229fe8 100644 --- a/user_guide_src/source/changelogs/v4.5.0.rst +++ b/user_guide_src/source/changelogs/v4.5.0.rst @@ -224,6 +224,8 @@ Others - **Config:** The deprecated ``CodeIgniter\Config\Config`` class has been removed. - **Controller:** The deprecated ``Controller::loadHelpers()`` method has been removed. - **Exceptions:** The deprecated ``CodeIgniter\Exceptions\CastException`` class has been removed. +- **Entity:** The deprecated ``CodeIgniter\Entity`` class has been removed. Use + ``CodeIgniter\Entity\Entity`` instead. Enhancements ************