From 8dc21f3a779e19aa06bb5ae95135266f6b1e7e7f Mon Sep 17 00:00:00 2001 From: Nafies Luthfi Date: Mon, 20 Apr 2020 00:10:36 +0800 Subject: [PATCH 1/2] Add support for laravel 7 --- composer.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 6882e99..41c56a5 100644 --- a/composer.json +++ b/composer.json @@ -16,10 +16,10 @@ "require": { "backup-manager/backup-manager": "^1.0", "php": ">=5.5.0", - "symfony/process": "^2.0||^3.0||^4.0", - "illuminate/support": "^4.0||^5.0||^6.0", - "illuminate/container": "^4.0||^5.0||^6.0", - "illuminate/console": "^4.0||^5.0||^6.0" + "symfony/process": "^2.0||^3.0||^4.0||^5.0", + "illuminate/support": "^4.0||^5.0||^6.0||^7.0", + "illuminate/container": "^4.0||^5.0||^6.0||^7.0", + "illuminate/console": "^4.0||^5.0||^6.0||^7.0" }, "require-dev": { "mockery/mockery": "dev-master", From d20a3af4cade05c826098745440a2ef3e39553a6 Mon Sep 17 00:00:00 2001 From: Nafies Luthfi Date: Thu, 23 Apr 2020 07:00:10 +0800 Subject: [PATCH 2/2] Fix Process::__construct() must be of the type array, string given --- src/Laravel55ServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Laravel55ServiceProvider.php b/src/Laravel55ServiceProvider.php index f0e7bd8..c71dd20 100644 --- a/src/Laravel55ServiceProvider.php +++ b/src/Laravel55ServiceProvider.php @@ -97,7 +97,7 @@ private function registerCompressorProvider() { */ private function registerShellProcessor() { $this->app->bind(\BackupManager\ShellProcessing\ShellProcessor::class, function () { - return new ShellProcessor(new Process('', null, null, null, null)); + return new ShellProcessor(new Process([], null, null, null, null)); }); }