@@ -135,7 +135,7 @@ discard block |
||
| 135 | 135 | */ |
| 136 | 136 | protected function getDevOption() |
| 137 | 137 | { |
| 138 | - return $this->installDev ? ":dev-master" : ""; |
|
| 138 | + return $this->installDev ? ":dev-master" : ""; |
|
| 139 | 139 | } |
| 140 | 140 | |
| 141 | 141 | /** |
@@ -146,10 +146,10 @@ discard block |
||
| 146 | 146 | private function requireComposerPackage($package) |
| 147 | 147 | { |
| 148 | 148 | $composer = $this->findComposer(); |
| 149 | - $process = new Process($composer.' require '.$package.'' . $this->getDevOption(), |
|
| 149 | + $process = new Process($composer.' require '.$package.''.$this->getDevOption(), |
|
| 150 | 150 | null, null, null, null); |
| 151 | - $this->output->writeln('<info>Running composer require '.$package. $this->getDevOption().'</info>'); |
|
| 152 | - $process->run(function ($type, $line) { |
|
| 151 | + $this->output->writeln('<info>Running composer require '.$package.$this->getDevOption().'</info>'); |
|
| 152 | + $process->run(function($type, $line) { |
|
| 153 | 153 | $this->output->write($line); |
| 154 | 154 | }); |
| 155 | 155 | } |
@@ -295,7 +295,7 @@ discard block |
||
| 295 | 295 | $name = $command->name(); |
| 296 | 296 | $description = $command->description(); |
| 297 | 297 | |
| 298 | - if (! is_string($name) || ! is_string($description)) { |
|
| 298 | + if (!is_string($name) || !is_string($description)) { |
|
| 299 | 299 | throw new InvalidCommandException; |
| 300 | 300 | } |
| 301 | 301 | |