Passed
Push — master ( 165234...f29c82 )
by Marcin
04:05
created
src/QuickDatabaseMigrations.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
tests/Providers/ServiceProviderTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
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(
Please login to merge, or discard this patch.