mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-12 11:16:43 +02:00
chore: update CodeIgniter to v4.5.6
+ update php dependencies to latest
This commit is contained in:
parent
fc2e7a0d83
commit
f295e9aa4c
31 changed files with 85 additions and 116 deletions
|
|
@ -6,7 +6,6 @@ namespace Modules\Install\Commands;
|
|||
|
||||
use CodeIgniter\CLI\BaseCommand;
|
||||
use Config\Database;
|
||||
use Config\Services;
|
||||
use Override;
|
||||
|
||||
class InitDatabase extends BaseCommand
|
||||
|
|
@ -30,7 +29,7 @@ class InitDatabase extends BaseCommand
|
|||
public function run(array $params): void
|
||||
{
|
||||
// Run all migrations
|
||||
$migrate = Services::migrations();
|
||||
$migrate = service('migrations');
|
||||
$migrate->setNamespace(null)
|
||||
->latest();
|
||||
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue