Completed
Push — master ( 3ef5e5...589da8 )
by Nicolas
10:10
created
src/Migrations/Migrator.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
      */
52 52
     public function getMigrations($reverse = false)
53 53
     {
54
-        $files = $this->laravel['files']->glob($this->getPath() . '/*_*.php');
54
+        $files = $this->laravel['files']->glob($this->getPath().'/*_*.php');
55 55
 
56 56
         // Once we have the array of files in the directory we will just remove the
57 57
         // extension and take the basename of the file which is all we need when
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
             return array();
61 61
         }
62 62
 
63
-        $files = array_map(function ($file) {
63
+        $files = array_map(function($file) {
64 64
             return str_replace('.php', '', basename($file));
65 65
 
66 66
         }, $files);
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
         $path = $this->getPath();
180 180
 
181 181
         foreach ($files as $file) {
182
-            $this->laravel['files']->requireOnce($path . '/' . $file . '.php');
182
+            $this->laravel['files']->requireOnce($path.'/'.$file.'.php');
183 183
         }
184 184
     }
185 185
 
@@ -259,7 +259,7 @@  discard block
 block discarded – undo
259 259
 
260 260
         $result = $query->orderBy('migration', 'desc')->get();
261 261
 
262
-        return collect($result)->map(function ($item) {
262
+        return collect($result)->map(function($item) {
263 263
             return (array) $item;
264 264
         })->lists('migration');
265 265
     }
Please login to merge, or discard this patch.
config/config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
 
25 25
     'stubs' => [
26 26
         'enabled' => false,
27
-        'path' => base_path() . '/vendor/nwidart/laravel-modules/src/Commands/stubs',
27
+        'path' => base_path().'/vendor/nwidart/laravel-modules/src/Commands/stubs',
28 28
         'files' => [
29 29
             'start' => 'start.php',
30 30
             'routes' => 'Http/routes.php',
Please login to merge, or discard this patch.
src/Commands/MigrateRollbackCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
         }
43 43
 
44 44
         foreach (array_reverse($this->laravel['modules']->all()) as $module) {
45
-            $this->line('Running for module: <info>' . $module->getName() . '</info>');
45
+            $this->line('Running for module: <info>'.$module->getName().'</info>');
46 46
 
47 47
             $this->reset($module);
48 48
         }
Please login to merge, or discard this patch.
src/Commands/MigrateCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
         }
43 43
 
44 44
         foreach (array_reverse($this->laravel['modules']->all()) as $module) {
45
-            $this->line('Running for module: <info>' . $module->getName() . '</info>');
45
+            $this->line('Running for module: <info>'.$module->getName().'</info>');
46 46
 
47 47
             $this->reset($module);
48 48
         }
Please login to merge, or discard this patch.
src/Commands/MakeRequestCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
 
73 73
         $seederPath = $this->laravel['modules']->config('paths.generator.filter');
74 74
 
75
-        return $path . $seederPath . '/' . $this->getFileName() . '.php';
75
+        return $path.$seederPath.'/'.$this->getFileName().'.php';
76 76
     }
77 77
 
78 78
     /**
Please login to merge, or discard this patch.
src/Commands/CommandCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
 
73 73
         $seederPath = $this->laravel['modules']->config('paths.generator.filter');
74 74
 
75
-        return $path . $seederPath . '/' . $this->getFileName() . '.php';
75
+        return $path.$seederPath.'/'.$this->getFileName().'.php';
76 76
     }
77 77
 
78 78
     /**
Please login to merge, or discard this patch.