chore: update CodeIgniter to v4.5.6

+ update php dependencies to latest
This commit is contained in:
Yassine Doghri 2024-12-29 16:02:08 +00:00
commit f295e9aa4c
31 changed files with 85 additions and 116 deletions

View file

@ -19,7 +19,6 @@ use CodeIgniter\HTTP\ResponseInterface;
use CodeIgniter\Shield\Entities\User;
use CodeIgniter\Shield\Exceptions\ValidationException as ShieldValidationException;
use Config\Database;
use Config\Services;
use Dotenv\Dotenv;
use Dotenv\Exception\ValidationException;
use Modules\Auth\Models\UserModel;
@ -247,7 +246,7 @@ class InstallController extends Controller
*/
public function migrate(): void
{
$migrate = Services::migrations();
$migrate = service('migrations');
$migrate->setNamespace(null)
->latest();