We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -14,7 +14,7 @@ |
||
14 | 14 | 'namespace' => 'Backpack\BackupManager\app\Http\Controllers', |
15 | 15 | 'prefix' => config('backpack.base.route_prefix', 'admin'), |
16 | 16 | 'middleware' => ['web', 'admin'], |
17 | -], function () { |
|
17 | +], function() { |
|
18 | 18 | Route::get('backup', 'BackupController@index'); |
19 | 19 | Route::put('backup/create', 'BackupController@create'); |
20 | 20 | Route::get('backup/download/{file_name?}', 'BackupController@download'); |
@@ -2,7 +2,6 @@ discard block |
||
2 | 2 | |
3 | 3 | namespace Backpack\BackupManager\app\Http\Controllers; |
4 | 4 | |
5 | -use Artisan; |
|
6 | 5 | use Exception; |
7 | 6 | use Illuminate\Routing\Controller; |
8 | 7 | use League\Flysystem\Adapter\Local; |
@@ -11,7 +10,6 @@ discard block |
||
11 | 10 | use Response; |
12 | 11 | use Storage; |
13 | 12 | use Symfony\Component\Process\Process as Process; |
14 | -use Symfony\Component\Process\Exception\ProcessFailedException; |
|
15 | 13 | |
16 | 14 | class BackupController extends Controller |
17 | 15 | { |