Completed
Pull Request — master (#12)
by
unknown
05:34
created
src/Commands/MigrateResetCommand.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/SeedCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
 
99 99
         $namespace = $this->laravel['modules']->config('namespace');
100 100
 
101
-        return $namespace . '\\' . $name . '\Database\Seeders\\' . $name . 'DatabaseSeeder';
101
+        return $namespace.'\\'.$name.'\Database\Seeders\\'.$name.'DatabaseSeeder';
102 102
     }
103 103
 
104 104
     /**
Please login to merge, or discard this patch.
src/Traits/MigrationLoaderTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,9 +11,9 @@
 block discarded – undo
11 11
      */
12 12
     protected function loadMigrationFiles($module)
13 13
     {
14
-        $path = $this->laravel['modules']->getModulePath($module) . $this->getMigrationGeneratorPath();
14
+        $path = $this->laravel['modules']->getModulePath($module).$this->getMigrationGeneratorPath();
15 15
 
16
-        $files = $this->laravel['files']->glob($path . '/*_*.php');
16
+        $files = $this->laravel['files']->glob($path.'/*_*.php');
17 17
 
18 18
         foreach ($files as $file) {
19 19
             $this->laravel['files']->requireOnce($file);
Please login to merge, or discard this patch.
src/Process/Installer.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
         $process->setTimeout($this->timeout);
136 136
 
137 137
         if ($this->console instanceof Command) {
138
-            $process->run(function ($type, $line) {
138
+            $process->run(function($type, $line) {
139 139
                 $this->console->line($line);
140 140
             });
141 141
         }
@@ -239,10 +239,10 @@  discard block
 block discarded – undo
239 239
     public function getPackageName()
240 240
     {
241 241
         if (is_null($this->version)) {
242
-            return $this->name . ':dev-master';
242
+            return $this->name.':dev-master';
243 243
         }
244 244
 
245
-        return $this->name . ':' . $this->version;
245
+        return $this->name.':'.$this->version;
246 246
     }
247 247
 
248 248
     /**
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.