Completed
Pull Request — master (#1543)
by
unknown
06:50
created
src/Commands/MigrateFreshCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
 
41 41
 
42 42
         $database = $this->option('database');
43
-        if(!$database) {
43
+        if (!$database) {
44 44
             $database = $module->getDatabaseName();
45 45
         }
46 46
 
Please login to merge, or discard this patch.
src/Commands/MigrateResetCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
         }
48 48
 
49 49
         foreach ($this->module->getOrdered($this->option('direction')) as $module) {
50
-            $this->line('Running for module: <info>' . $module->getName() . '</info>');
50
+            $this->line('Running for module: <info>'.$module->getName().'</info>');
51 51
 
52 52
             $this->reset($module);
53 53
         }
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
         $migrator = new Migrator($module, $this->getLaravel());
70 70
 
71 71
         $database = $this->option('database');
72
-        if(!$database) {
72
+        if (!$database) {
73 73
             $database = $module->getDatabaseName();
74 74
         }
75 75
 
Please login to merge, or discard this patch.
src/Commands/MigrateCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
         }
50 50
 
51 51
         foreach ($this->module->getOrdered($this->option('direction')) as $module) {
52
-            $this->line('Running for module: <info>' . $module->getName() . '</info>');
52
+            $this->line('Running for module: <info>'.$module->getName().'</info>');
53 53
 
54 54
             $this->migrate($module);
55 55
         }
@@ -65,14 +65,14 @@  discard block
 block discarded – undo
65 65
     protected function migrate(Module $module)
66 66
     {
67 67
         $database = $this->option('database');
68
-        if(!$database) {
68
+        if (!$database) {
69 69
             $database = $module->getDatabaseName();
70 70
         }
71 71
 
72 72
         $path = str_replace(base_path(), '', (new Migrator($module, $this->getLaravel()))->getPath());
73 73
 
74 74
         if ($this->option('subpath')) {
75
-            $path = $path . "/" . $this->option("subpath");
75
+            $path = $path."/".$this->option("subpath");
76 76
         }
77 77
 
78 78
         $this->call('migrate', [
Please login to merge, or discard this patch.
src/Commands/MigrateRefreshCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
         }
40 40
 
41 41
         $database = $this->option('database');
42
-        if(!$database) {
42
+        if (!$database) {
43 43
             $database = $module->getDatabaseName();
44 44
         }
45 45
 
Please login to merge, or discard this patch.