@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | */ |
122 | 122 | protected function getDevOption() |
123 | 123 | { |
124 | - return $this->installDev ? ":dev-master" : ""; |
|
124 | + return $this->installDev ? ":dev-master" : ""; |
|
125 | 125 | } |
126 | 126 | |
127 | 127 | /** |
@@ -133,10 +133,10 @@ discard block |
||
133 | 133 | { |
134 | 134 | $composer = $this->findComposer(); |
135 | 135 | |
136 | - $process = new Process($composer.' require '.$package.'' . $this->getDevOption(), |
|
136 | + $process = new Process($composer.' require '.$package.''.$this->getDevOption(), |
|
137 | 137 | null, null, null, null); |
138 | 138 | $this->output->writeln('<info>Running composer require '.$package.'</info>'); |
139 | - $process->run(function ($type, $line) { |
|
139 | + $process->run(function($type, $line) { |
|
140 | 140 | $this->output->write($line); |
141 | 141 | }); |
142 | 142 | } |
@@ -282,7 +282,7 @@ discard block |
||
282 | 282 | $name = $command->name(); |
283 | 283 | $description = $command->description(); |
284 | 284 | |
285 | - if (! is_string($name) || ! is_string($description)) { |
|
285 | + if (!is_string($name) || !is_string($description)) { |
|
286 | 286 | throw new InvalidCommandException; |
287 | 287 | } |
288 | 288 |