Skip to content

Commit 3eed205

Browse files
authored
Merge pull request #85 from spatie/analysis-M13NNv
Apply fixes from StyleCI
2 parents 31820aa + 219307f commit 3eed205

20 files changed

+33
-33
lines changed

src/Commands/Delete.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
namespace Spatie\DbSnapshots\Commands;
44

55
use Illuminate\Console\Command;
6-
use Spatie\DbSnapshots\SnapshotRepository;
76
use Spatie\DbSnapshots\Commands\Concerns\AsksForSnapshotName;
7+
use Spatie\DbSnapshots\SnapshotRepository;
88

99
class Delete extends Command
1010
{

src/Commands/ListSnapshots.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
namespace Spatie\DbSnapshots\Commands;
44

55
use Illuminate\Console\Command;
6-
use Spatie\DbSnapshots\Snapshot;
76
use Spatie\DbSnapshots\Helpers\Format;
7+
use Spatie\DbSnapshots\Snapshot;
88
use Spatie\DbSnapshots\SnapshotRepository;
99

1010
class ListSnapshots extends Command

src/Commands/Load.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
use Illuminate\Console\Command;
66
use Illuminate\Console\ConfirmableTrait;
7-
use Spatie\DbSnapshots\SnapshotRepository;
87
use Spatie\DbSnapshots\Commands\Concerns\AsksForSnapshotName;
8+
use Spatie\DbSnapshots\SnapshotRepository;
99

1010
class Load extends Command
1111
{

src/DbSnapshotsServiceProvider.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
namespace Spatie\DbSnapshots;
44

5-
use Spatie\DbSnapshots\Commands\Load;
5+
use Illuminate\Contracts\Filesystem\Factory;
66
use Illuminate\Support\ServiceProvider;
7+
use Spatie\DbSnapshots\Commands\Cleanup;
78
use Spatie\DbSnapshots\Commands\Create;
89
use Spatie\DbSnapshots\Commands\Delete;
9-
use Spatie\DbSnapshots\Commands\Cleanup;
10-
use Illuminate\Contracts\Filesystem\Factory;
1110
use Spatie\DbSnapshots\Commands\ListSnapshots;
11+
use Spatie\DbSnapshots\Commands\Load;
1212

1313
class DbSnapshotsServiceProvider extends ServiceProvider
1414
{

src/Snapshot.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
namespace Spatie\DbSnapshots;
44

55
use Carbon\Carbon;
6+
use Illuminate\Filesystem\FilesystemAdapter as Disk;
67
use Illuminate\Support\Facades\DB;
7-
use Spatie\DbSnapshots\Events\LoadedSnapshot;
88
use Spatie\DbSnapshots\Events\DeletedSnapshot;
9-
use Spatie\DbSnapshots\Events\LoadingSnapshot;
109
use Spatie\DbSnapshots\Events\DeletingSnapshot;
11-
use Illuminate\Filesystem\FilesystemAdapter as Disk;
10+
use Spatie\DbSnapshots\Events\LoadedSnapshot;
11+
use Spatie\DbSnapshots\Events\LoadingSnapshot;
1212

1313
class Snapshot
1414
{

src/SnapshotFactory.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
namespace Spatie\DbSnapshots;
44

5-
use Spatie\DbDumper\DbDumper;
65
use Illuminate\Contracts\Filesystem\Factory;
76
use Illuminate\Filesystem\FilesystemAdapter;
8-
use Spatie\DbSnapshots\Events\CreatedSnapshot;
97
use Spatie\DbDumper\Compressors\GzipCompressor;
8+
use Spatie\DbDumper\DbDumper;
9+
use Spatie\DbSnapshots\Events\CreatedSnapshot;
1010
use Spatie\DbSnapshots\Events\CreatingSnapshot;
11-
use Spatie\TemporaryDirectory\TemporaryDirectory;
1211
use Spatie\DbSnapshots\Exceptions\CannotCreateDisk;
12+
use Spatie\TemporaryDirectory\TemporaryDirectory;
1313

1414
class SnapshotFactory
1515
{

src/SnapshotRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace Spatie\DbSnapshots;
44

5-
use Illuminate\Support\Collection;
65
use Illuminate\Contracts\Filesystem\Filesystem as Disk;
6+
use Illuminate\Support\Collection;
77

88
class SnapshotRepository
99
{

tests/Commands/CleanupTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace Spatie\DbSnapshots\Commands\Test;
44

5-
use Spatie\DbSnapshots\Test\TestCase;
65
use Illuminate\Support\Facades\Artisan;
6+
use Spatie\DbSnapshots\Test\TestCase;
77

88
class CleanupTest extends TestCase
99
{

tests/Commands/CreateTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
namespace Spatie\DbSnapshots\Commands\Test;
44

55
use Carbon\Carbon;
6-
use Spatie\DbSnapshots\Test\TestCase;
76
use Illuminate\Support\Facades\Artisan;
7+
use Spatie\DbSnapshots\Test\TestCase;
88

99
class CreateTest extends TestCase
1010
{

tests/Commands/DeleteTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
namespace Spatie\DbSnapshots\Commands\Test;
44

5+
use Illuminate\Support\Facades\Artisan;
56
use Mockery as m;
67
use Spatie\DbSnapshots\Test\TestCase;
7-
use Illuminate\Support\Facades\Artisan;
88

99
class DeleteTest extends TestCase
1010
{

0 commit comments

Comments
 (0)