Completed
Pull Request — master (#697)
by
unknown
17:47
created
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
             'routes/web' => 'Routes/web.php',
30 30
             'routes/api' => 'Routes/api.php',
Please login to merge, or discard this patch.
src/Commands/RouteProviderMakeCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
 
79 79
         $generatorPath = GenerateConfigReader::read('provider');
80 80
 
81
-        return $path . $generatorPath->getPath() . '/' . $this->getFileName() . '.php';
81
+        return $path.$generatorPath->getPath().'/'.$this->getFileName().'.php';
82 82
     }
83 83
 
84 84
     /**
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
      */
87 87
     protected function getWebRoutesPath()
88 88
     {
89
-        return '/' . $this->laravel['config']->get('stubs.files.routes', 'Routes/web.php');
89
+        return '/'.$this->laravel['config']->get('stubs.files.routes', 'Routes/web.php');
90 90
     }
91 91
 
92 92
     /**
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
      */
95 95
     protected function getApiRoutesPath()
96 96
     {
97
-        return '/' . $this->laravel['config']->get('stubs.files.routes', 'Routes/api.php');
97
+        return '/'.$this->laravel['config']->get('stubs.files.routes', 'Routes/api.php');
98 98
     }
99 99
 
100 100
     public function getDefaultNamespace() : string
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
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
         $process->setTimeout($this->timeout);
144 144
 
145 145
         if ($this->console instanceof Command) {
146
-            $process->run(function ($type, $line) {
146
+            $process->run(function($type, $line) {
147 147
                 $this->console->line($line);
148 148
             });
149 149
         }
@@ -266,11 +266,11 @@  discard block
 block discarded – undo
266 266
     public function getPackageName()
267 267
     {
268 268
         if (is_null($this->version)) {
269
-            return $this->name . ':dev-master';
269
+            return $this->name.':dev-master';
270 270
         } elseif (!$this->version) {
271 271
             return $this->name;
272 272
         } else {
273
-            return $this->name . ':' . $this->version;
273
+            return $this->name.':'.$this->version;
274 274
         }
275 275
     }
276 276
 
Please login to merge, or discard this patch.
src/Commands/RequireCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
         $requireKey = $this->option('dev') ? 'require-dev' : 'require';
85 85
         $requireOtherKey = $this->option('dev') ? 'require' : 'require-dev';
86 86
         [$newPackage, $newPackageVersion] = $this->getNewPackageInfo($composer, $requireKey);
87
-        $moduleComposerPath = $this->getModule()->getPath() . '/composer.json';
87
+        $moduleComposerPath = $this->getModule()->getPath().'/composer.json';
88 88
         $moduleComposer = $this->getComposer($moduleComposerPath);
89 89
         $moduleComposer = $this->setModuleComposer(
90 90
             $moduleComposer,
Please login to merge, or discard this patch.