@@ -149,7 +149,7 @@ discard block |
||
149 | 149 | $process = new Process($composer.' require '.$package.''.$this->getDevOption(), |
150 | 150 | null, null, null, null); |
151 | 151 | $this->output->writeln('<info>Running composer require '.$package.$this->getDevOption().'</info>'); |
152 | - $process->run(function ($type, $line) { |
|
152 | + $process->run(function($type, $line) { |
|
153 | 153 | $this->output->write($line); |
154 | 154 | }); |
155 | 155 | } |
@@ -264,7 +264,7 @@ discard block |
||
264 | 264 | private function getPackageNameByComposerName($composerPackageName) |
265 | 265 | { |
266 | 266 | foreach ($this->config->all() as $key => $configItem) { |
267 | - if ($configItem['name'] == $composerPackageName) { |
|
267 | + if ($configItem[ 'name' ] == $composerPackageName) { |
|
268 | 268 | return $key; |
269 | 269 | } |
270 | 270 | } |
@@ -301,9 +301,9 @@ discard block |
||
301 | 301 | $this->setName($name) |
302 | 302 | ->setDescription($description); |
303 | 303 | if ($command->argument() != null) { |
304 | - $this->addArgument($command->argument()['name'], |
|
305 | - $command->argument()['type'], |
|
306 | - $command->argument()['description'] |
|
304 | + $this->addArgument($command->argument()[ 'name' ], |
|
305 | + $command->argument()[ 'type' ], |
|
306 | + $command->argument()[ 'description' ] |
|
307 | 307 | ); |
308 | 308 | } |
309 | 309 | } |
@@ -328,7 +328,7 @@ discard block |
||
328 | 328 | return; |
329 | 329 | } |
330 | 330 | |
331 | - $this->$method($input,$output); |
|
331 | + $this->$method($input, $output); |
|
332 | 332 | } |
333 | 333 | |
334 | 334 | /** |
@@ -1,3 +1,3 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -define ("GITHUB_PASSWORD","bImhappyplatanito"); |
|
4 | 3 | \ No newline at end of file |
4 | +define("GITHUB_PASSWORD", "bImhappyplatanito"); |
|
5 | 5 | \ No newline at end of file |