Skip to content

Commit

Permalink
Merge branch 'master' of github.com:spatie/nova-backup-tool
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Mar 3, 2020
2 parents 7696f0e + 18be6e7 commit e9aa501
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion routes/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

use Illuminate\Support\Facades\Route;
use Spatie\BackupTool\Http\Controllers\BackupsController;
use Spatie\BackupTool\Http\Controllers\CleanBackupsController;
use Spatie\BackupTool\Http\Controllers\BackupStatusesController;
use Spatie\BackupTool\Http\Controllers\CleanBackupsController;
use Spatie\BackupTool\Http\Controllers\DownloadBackupController;

Route::get('backups', BackupsController::class.'@index');
Expand Down
4 changes: 2 additions & 2 deletions src/BackupToolServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

namespace Spatie\BackupTool;

use Laravel\Nova\Nova;
use Laravel\Nova\Events\ServingNova;
use Illuminate\Support\Facades\Route;
use Illuminate\Support\ServiceProvider;
use Laravel\Nova\Events\ServingNova;
use Laravel\Nova\Nova;
use Spatie\BackupTool\Http\Middleware\Authorize;

class BackupToolServiceProvider extends ServiceProvider
Expand Down
2 changes: 1 addition & 1 deletion src/Http/Controllers/BackupStatusesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace Spatie\BackupTool\Http\Controllers;

use Spatie\Backup\Helpers\Format;
use Illuminate\Support\Facades\Cache;
use Spatie\Backup\Helpers\Format;
use Spatie\Backup\Tasks\Monitor\BackupDestinationStatus;
use Spatie\Backup\Tasks\Monitor\BackupDestinationStatusFactory;

Expand Down
2 changes: 1 addition & 1 deletion src/Http/Controllers/CleanBackupsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace Spatie\BackupTool\Http\Controllers;

use Spatie\Backup\BackupDestination\BackupDestinationFactory;
use Spatie\Backup\Tasks\Cleanup\CleanupJob;
use Spatie\Backup\Tasks\Cleanup\CleanupStrategy;
use Spatie\Backup\BackupDestination\BackupDestinationFactory;

class CleanBackupsController extends ApiController
{
Expand Down
6 changes: 3 additions & 3 deletions src/Http/Controllers/DownloadBackupController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

namespace Spatie\BackupTool\Http\Controllers;

use Spatie\BackupTool\Rules\PathToZip;
use Spatie\BackupTool\Rules\BackupDisk;
use Spatie\Backup\BackupDestination\Backup;
use Spatie\Backup\BackupDestination\BackupDestination;
use Spatie\BackupTool\Rules\BackupDisk;
use Spatie\BackupTool\Rules\PathToZip;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Spatie\Backup\BackupDestination\BackupDestination;
use Symfony\Component\HttpFoundation\StreamedResponse;

class DownloadBackupController extends ApiController
Expand Down
2 changes: 1 addition & 1 deletion src/Jobs/CreateBackupJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
namespace Spatie\BackupTool\Jobs;

use Illuminate\Bus\Queueable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Spatie\Backup\Tasks\Backup\BackupJobFactory;

class CreateBackupJob implements ShouldQueue
Expand Down
2 changes: 1 addition & 1 deletion src/Rules/PathToZip.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace Spatie\BackupTool\Rules;

use Illuminate\Support\Str;
use Illuminate\Contracts\Validation\Rule;
use Illuminate\Support\Str;

class PathToZip implements Rule
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Controllers/BackupStatusesControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace Spatie\BackupTool\Tests;

use Closure;
use Carbon\Carbon;
use Closure;
use Illuminate\Support\Facades\Cache;

class BackupStatusesControllerTest extends TestCase
Expand Down
2 changes: 1 addition & 1 deletion tests/Controllers/BackupsControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace Spatie\BackupTool\Tests;

use Closure;
use Carbon\Carbon;
use Closure;
use Illuminate\Support\Facades\Cache;
use Illuminate\Support\Facades\Queue;
use Illuminate\Support\Facades\Storage;
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
use Illuminate\Filesystem\Filesystem;
use Illuminate\Support\Facades\Route;
use Illuminate\Support\Facades\Storage;
use Spatie\Backup\BackupServiceProvider;
use Orchestra\Testbench\TestCase as Orchestra;
use Spatie\Backup\BackupServiceProvider;
use Spatie\BackupTool\BackupToolServiceProvider;

abstract class TestCase extends Orchestra
Expand Down

0 comments on commit e9aa501

Please sign in to comment.