Completed
Push — master ( e6ea5a...6df19f )
by
unknown
16s queued 13s
created
src/Commands/Database/MigrateCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,11 +26,11 @@
 block discarded – undo
26 26
     {
27 27
         $module = $this->getModuleModel($name);
28 28
 
29
-        $this->components->task("Running Migration <fg=cyan;options=bold>{$module->getName()}</> Module", function () use ($module) {
29
+        $this->components->task("Running Migration <fg=cyan;options=bold>{$module->getName()}</> Module", function() use ($module) {
30 30
             $path = str_replace(base_path(), '', (new Migrator($module, $this->getLaravel()))->getPath());
31 31
 
32 32
             if ($this->option('subpath')) {
33
-                $path = $path . "/" . $this->option("subpath");
33
+                $path = $path."/".$this->option("subpath");
34 34
             }
35 35
 
36 36
             $this->call('migrate', [
Please login to merge, or discard this patch.
src/Commands/Database/MigrateRefreshCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     {
26 26
         $module = $this->getModuleModel($name);
27 27
 
28
-        $this->components->task("Refreshing Migration {$module->getName()} module", function () use ($module) {
28
+        $this->components->task("Refreshing Migration {$module->getName()} module", function() use ($module) {
29 29
             $this->call('module:migrate-reset', [
30 30
                 'module'     => $module->getStudlyName(),
31 31
                 '--database' => $this->option('database'),
Please login to merge, or discard this patch.
src/Commands/Make/ChannelMakeCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
 
62 62
         $channelPath = GenerateConfigReader::read('channels');
63 63
 
64
-        return $path . $channelPath->getPath() . '/' . $this->getFileName() . '.php';
64
+        return $path.$channelPath->getPath().'/'.$this->getFileName().'.php';
65 65
     }
66 66
 
67 67
     /**
Please login to merge, or discard this patch.
src/Commands/Make/ResourceMakeCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
 
70 70
         $resourcePath = GenerateConfigReader::read('resource');
71 71
 
72
-        return $path . $resourcePath->getPath() . '/' . $this->getFileName() . '.php';
72
+        return $path.$resourcePath->getPath().'/'.$this->getFileName().'.php';
73 73
     }
74 74
 
75 75
     /**
Please login to merge, or discard this patch.
src/Commands/Make/RequestMakeCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
 
79 79
         $requestPath = GenerateConfigReader::read('request');
80 80
 
81
-        return $path . $requestPath->getPath() . '/' . $this->getFileName() . '.php';
81
+        return $path.$requestPath->getPath().'/'.$this->getFileName().'.php';
82 82
     }
83 83
 
84 84
     /**
Please login to merge, or discard this patch.
src/Commands/Make/MiddlewareMakeCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
 
79 79
         $middlewarePath = GenerateConfigReader::read('filter');
80 80
 
81
-        return $path . $middlewarePath->getPath() . '/' . $this->getFileName() . '.php';
81
+        return $path.$middlewarePath->getPath().'/'.$this->getFileName().'.php';
82 82
     }
83 83
 
84 84
     /**
Please login to merge, or discard this patch.
src/Commands/Make/ComponentClassMakeCommand.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      */
50 50
     protected function writeComponentViewTemplate()
51 51
     {
52
-        $this->call('module:make-component-view', ['name' => $this->argument('name') , 'module' => $this->argument('module')]);
52
+        $this->call('module:make-component-view', ['name' => $this->argument('name'), 'module' => $this->argument('module')]);
53 53
     }
54 54
 
55 55
     public function getDefaultNamespace(): string
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
             'NAMESPACE'         => $this->getClassNamespace($module),
83 83
             'CLASS'             => $this->getClass(),
84 84
             'LOWER_NAME'        => $module->getLowerName(),
85
-            'COMPONENT_NAME'    => 'components.' . Str::lower($this->argument('name')),
85
+            'COMPONENT_NAME'    => 'components.'.Str::lower($this->argument('name')),
86 86
         ]))->render();
87 87
     }
88 88
 
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
         $path = $this->laravel['modules']->getModulePath($this->getModuleName());
95 95
         $factoryPath = GenerateConfigReader::read('component-class');
96 96
 
97
-        return $path . $factoryPath->getPath() . '/' . $this->getFileName();
97
+        return $path.$factoryPath->getPath().'/'.$this->getFileName();
98 98
     }
99 99
 
100 100
     /**
@@ -102,6 +102,6 @@  discard block
 block discarded – undo
102 102
      */
103 103
     private function getFileName()
104 104
     {
105
-        return Str::studly($this->argument('name')) . '.php';
105
+        return Str::studly($this->argument('name')).'.php';
106 106
     }
107 107
 }
Please login to merge, or discard this patch.
src/Commands/Make/MailMakeCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
 
75 75
         $mailPath = GenerateConfigReader::read('emails');
76 76
 
77
-        return $path . $mailPath->getPath() . '/' . $this->getFileName() . '.php';
77
+        return $path.$mailPath->getPath().'/'.$this->getFileName().'.php';
78 78
     }
79 79
 
80 80
     /**
Please login to merge, or discard this patch.
src/Commands/Make/ProviderMakeCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
         /** @var Module $module */
77 77
         $module = $this->laravel['modules']->findOrFail($this->getModuleName());
78 78
 
79
-        return (new Stub('/' . $stub . '.stub', [
79
+        return (new Stub('/'.$stub.'.stub', [
80 80
             'NAMESPACE'        => $this->getClassNamespace($module),
81 81
             'CLASS'            => $this->getClass(),
82 82
             'LOWER_NAME'       => $module->getLowerName(),
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
 
102 102
         $generatorPath = GenerateConfigReader::read('provider');
103 103
 
104
-        return $path . $generatorPath->getPath() . '/' . $this->getFileName() . '.php';
104
+        return $path.$generatorPath->getPath().'/'.$this->getFileName().'.php';
105 105
     }
106 106
 
107 107
     /**
Please login to merge, or discard this patch.