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

@ -5,7 +5,6 @@ declare(strict_types=1);
namespace Modules\Update\Commands;
use CodeIgniter\CLI\BaseCommand;
use Config\Services;
use Override;
class DatabaseUpdate extends BaseCommand
@ -28,7 +27,7 @@ class DatabaseUpdate extends BaseCommand
#[Override]
public function run(array $params): void
{
$migrate = Services::migrations();
$migrate = service('migrations');
$migrate->setNamespace(null)
->latest();