Skip to content

Commit f4f30b0

Browse files
author
Shawn McCool
authored
Merge pull request #126 from nafiesl/laravel_7_support
Add support for laravel 7
2 parents 7e71a1d + d20a3af commit f4f30b0

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

composer.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
"require": {
1717
"backup-manager/backup-manager": "^1.0",
1818
"php": ">=5.5.0",
19-
"symfony/process": "^2.0||^3.0||^4.0",
20-
"illuminate/support": "^4.0||^5.0||^6.0",
21-
"illuminate/container": "^4.0||^5.0||^6.0",
22-
"illuminate/console": "^4.0||^5.0||^6.0"
19+
"symfony/process": "^2.0||^3.0||^4.0||^5.0",
20+
"illuminate/support": "^4.0||^5.0||^6.0||^7.0",
21+
"illuminate/container": "^4.0||^5.0||^6.0||^7.0",
22+
"illuminate/console": "^4.0||^5.0||^6.0||^7.0"
2323
},
2424
"require-dev": {
2525
"mockery/mockery": "dev-master",

src/Laravel55ServiceProvider.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ private function registerCompressorProvider() {
9797
*/
9898
private function registerShellProcessor() {
9999
$this->app->bind(\BackupManager\ShellProcessing\ShellProcessor::class, function () {
100-
return new ShellProcessor(new Process('', null, null, null, null));
100+
return new ShellProcessor(new Process([], null, null, null, null));
101101
});
102102
}
103103

0 commit comments

Comments
 (0)