We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | */ |
45 | 45 | public function setupRoutes(Router $router) |
46 | 46 | { |
47 | - $router->group(['namespace' => 'Backpack\BackupManager\app\Http\Controllers'], function ($router) { |
|
47 | + $router->group(['namespace' => 'Backpack\BackupManager\app\Http\Controllers'], function($router) { |
|
48 | 48 | require __DIR__.'/app/Http/routes.php'; |
49 | 49 | }); |
50 | 50 | } |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | |
68 | 68 | private function registerBackupManager() |
69 | 69 | { |
70 | - $this->app->bind('backupmanager', function ($app) { |
|
70 | + $this->app->bind('backupmanager', function($app) { |
|
71 | 71 | return new BackupManager($app); |
72 | 72 | }); |
73 | 73 | } |
@@ -49,14 +49,14 @@ |
||
49 | 49 | { |
50 | 50 | try { |
51 | 51 | ini_set('max_execution_time', 300); |
52 | - // start the backup process |
|
53 | - Artisan::call('backup:run'); |
|
52 | + // start the backup process |
|
53 | + Artisan::call('backup:run'); |
|
54 | 54 | $output = Artisan::output(); |
55 | 55 | |
56 | - // log the results |
|
57 | - Log::info("Backpack\BackupManager -- new backup started from admin interface \r\n".$output); |
|
58 | - // return the results as a response to the ajax call |
|
59 | - echo $output; |
|
56 | + // log the results |
|
57 | + Log::info("Backpack\BackupManager -- new backup started from admin interface \r\n".$output); |
|
58 | + // return the results as a response to the ajax call |
|
59 | + echo $output; |
|
60 | 60 | } catch (Exception $e) { |
61 | 61 | Response::make($e->getMessage(), 500); |
62 | 62 | } |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -Route::group(['prefix' => config('backpack.base.route_prefix', 'admin'), 'middleware' => ['web', 'auth']], function () { |
|
3 | +Route::group(['prefix' => config('backpack.base.route_prefix', 'admin'), 'middleware' => ['web', 'auth']], function() { |
|
4 | 4 | |
5 | 5 | // Backup |
6 | 6 | Route::get('backup', 'BackupController@index'); |