@@ -20,7 +20,7 @@ discard block |
||
| 20 | 20 | public function runDatabaseMigrations() |
| 21 | 21 | { |
| 22 | 22 | // if disabled we just run parent method and that's it |
| 23 | - if (! config('quick_migrations.enabled')) { |
|
| 23 | + if (!config('quick_migrations.enabled')) { |
|
| 24 | 24 | $this->useDefaultWay(); |
| 25 | 25 | |
| 26 | 26 | return; |
@@ -35,7 +35,7 @@ discard block |
||
| 35 | 35 | $this->app[Kernel::class]->setArtisan(null); |
| 36 | 36 | |
| 37 | 37 | // here we don't care about rollback (to make it faster) |
| 38 | - $this->beforeApplicationDestroyed(function () { |
|
| 38 | + $this->beforeApplicationDestroyed(function() { |
|
| 39 | 39 | RefreshDatabaseState::$migrated = false; |
| 40 | 40 | }); |
| 41 | 41 | } |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | $baseDir = '/some/sample/directory'; |
| 24 | 24 | |
| 25 | 25 | $app->shouldReceive('configPath')->atLeast()->once() |
| 26 | - ->with('quick_migrations.php')->andReturn($baseDir.'/quick_migrations.php'); |
|
| 26 | + ->with('quick_migrations.php')->andReturn($baseDir . '/quick_migrations.php'); |
|
| 27 | 27 | |
| 28 | 28 | $configFile = realpath(__DIR__ . '/../../publish/config/quick_migrations.php'); |
| 29 | 29 | $provider->shouldReceive('mergeConfigFrom')->once()->with( |