@@ -143,7 +143,7 @@ discard block |
||
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 |
||
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 |
@@ -84,7 +84,7 @@ |
||
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, |