From 8c0be0308f800f3f13c18d365979ba3b2c426d61 Mon Sep 17 00:00:00 2001 From: andychukse Date: Tue, 2 Jan 2024 16:46:45 +0100 Subject: [PATCH 1/4] composer changes composer changes to support latest illuminate dependencies - illuminate/contracts: 10 - illuminate/database: 10 - illuminate/support: 10 --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 04f8fac..b8d64ef 100644 --- a/composer.json +++ b/composer.json @@ -22,9 +22,9 @@ }, "require": { "php": "^7.4 || ^8.0", - "illuminate/contracts": "^9.0", - "illuminate/database": "^9.0", - "illuminate/support": "^9.0", + "illuminate/contracts": "^9.0 || ^10.0", + "illuminate/database": "^9.0 || ^10.0", + "illuminate/support": "^9.0 || ^10.0", "laravie/query-filter": "dev-master" }, "suggest": { From 3050aeb8dc67334646e376b60b68987fec33143b Mon Sep 17 00:00:00 2001 From: andychukse Date: Tue, 2 Jan 2024 16:54:00 +0100 Subject: [PATCH 2/4] Update composer --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index b8d64ef..a181462 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "orchestra/database", + "name": "andychukse/database", "description": "Database Component for Orchestra Platform", "keywords": ["orchestra-platform", "orchestral", "database"], "license": "MIT", From ad2be760a13c5a59e0bea1c5f126bd8de337e8de Mon Sep 17 00:00:00 2001 From: Andy Eze Date: Mon, 4 Nov 2024 13:51:10 +0100 Subject: [PATCH 3/4] added support for laravel 11 --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index a181462..fd78a13 100644 --- a/composer.json +++ b/composer.json @@ -22,9 +22,9 @@ }, "require": { "php": "^7.4 || ^8.0", - "illuminate/contracts": "^9.0 || ^10.0", - "illuminate/database": "^9.0 || ^10.0", - "illuminate/support": "^9.0 || ^10.0", + "illuminate/contracts": "^9.0 || ^10.0 || ^11.0", + "illuminate/database": "^9.0 || ^10.0 || ^11.0", + "illuminate/support": "^9.0 || ^10.0 || ^11.0", "laravie/query-filter": "dev-master" }, "suggest": { From de4e327c5822c8a9dc3e4768262d8eff91301f5b Mon Sep 17 00:00:00 2001 From: andychukse Date: Mon, 4 Nov 2024 14:12:44 +0100 Subject: [PATCH 4/4] Fixed bug Fixed argument requirement error on ConsoleServiceProvider class. --- ConsoleServiceProvider.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ConsoleServiceProvider.php b/ConsoleServiceProvider.php index 03a0e69..e3f5148 100644 --- a/ConsoleServiceProvider.php +++ b/ConsoleServiceProvider.php @@ -48,8 +48,8 @@ public function register() */ protected function registerFreshCommand() { - $this->app->singleton('command.migrate.fresh', static function () { - return new FreshCommand(); + $this->app->singleton('command.migrate.fresh', static function (Container $app) { + return new FreshCommand($app->make('migrator')); }); }