Skip to content

Commit 0941b47

Browse files
Pederytterrasmuscnielsen
authored andcommitted
Apply fixes from StyleCI (#2)
1 parent 2d09706 commit 0941b47

File tree

3 files changed

+5
-10
lines changed

3 files changed

+5
-10
lines changed

src/HealthySqlDump.php

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

33
namespace Makeable\SqlCheck;
44

5-
use ZipArchive;
65
use Makeable\SqlCheck\DbImporter\DbImporterFactory;
76
use Spatie\Backup\BackupDestination\Backup;
87
use Spatie\Backup\BackupDestination\BackupDestination;
98
use Spatie\Backup\Tasks\Monitor\HealthCheck;
109
use Spatie\TemporaryDirectory\TemporaryDirectory;
1110
use Symfony\Component\Finder\Finder;
11+
use ZipArchive;
1212

1313
class HealthySqlDump extends HealthCheck
1414
{

tests/Feature/HealthySqlDumpTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ public function setUp(): void
1919
'name' => 'mysite',
2020
'disks' => ['backup'],
2121
'health_checks' => [
22-
HealthySqlDump::class
23-
]
24-
]
22+
HealthySqlDump::class,
23+
],
24+
],
2525
]);
2626
}
2727

tests/TestCase.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,8 @@
33
namespace Makeable\SqlCheck\Tests;
44

55
use Illuminate\Foundation\Bootstrap\LoadEnvironmentVariables;
6-
use Illuminate\Foundation\Testing\DatabaseMigrations;
7-
use Illuminate\Foundation\Testing\RefreshDatabase;
86
use Illuminate\Support\Facades\File;
9-
use Illuminate\Support\Facades\Storage;
107
use Orchestra\Testbench\TestCase as Orchestra;
11-
use Illuminate\Support\Facades\Schema;
128
use Spatie\Backup\BackupServiceProvider;
139

1410
class TestCase extends Orchestra
@@ -25,7 +21,6 @@ protected function getPackageProviders($app)
2521
];
2622
}
2723

28-
2924
protected function getEnvironmentSetUp($app)
3025
{
3126
// make sure, our .env file is loaded
@@ -38,7 +33,7 @@ protected function getEnvironmentSetUp($app)
3833
config()->set('database.connections.mysql.database', env('DB_DATABASE'));
3934
config()->set('filesystems.disks.backup', [
4035
'driver' => 'local',
41-
'root' => __DIR__ . '/stubs',
36+
'root' => __DIR__.'/stubs',
4237
]);
4338

4439
parent::getEnvironmentSetUp($app);

0 commit comments

Comments
 (0)