@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | } |
70 | 70 | |
71 | 71 | $process = new Process( |
72 | - $this->findComposer().' require '.$package = $this->getPackageName().$this->getDevSuffix($input).$noansi, |
|
72 | + $this->findComposer() . ' require ' . $package = $this->getPackageName() . $this->getDevSuffix($input) . $noansi, |
|
73 | 73 | null, |
74 | 74 | null, |
75 | 75 | null, |
@@ -81,9 +81,9 @@ discard block |
||
81 | 81 | } |
82 | 82 | |
83 | 83 | $output->writeln( |
84 | - '<info>Running composer require '.$package.'</info>' |
|
84 | + '<info>Running composer require ' . $package . '</info>' |
|
85 | 85 | ); |
86 | - $process->run(function ($type, $line) use ($output) { |
|
86 | + $process->run(function($type, $line) use ($output) { |
|
87 | 87 | $output->write($line); |
88 | 88 | }); |
89 | 89 |
@@ -52,15 +52,15 @@ |
||
52 | 52 | protected function execute(InputInterface $input, OutputInterface $output) |
53 | 53 | { |
54 | 54 | $process = new Process( |
55 | - $this->findComposer().' require '.$package = $this->getPackageName().$this->getDevSuffix($input), |
|
55 | + $this->findComposer() . ' require ' . $package = $this->getPackageName() . $this->getDevSuffix($input), |
|
56 | 56 | null, |
57 | 57 | null, |
58 | 58 | null, |
59 | 59 | null |
60 | 60 | ); |
61 | 61 | |
62 | - $output->writeln('<info>Running composer require '.$package.'</info>'); |
|
63 | - $process->run(function ($type, $line) use ($output) { |
|
62 | + $output->writeln('<info>Running composer require ' . $package . '</info>'); |
|
63 | + $process->run(function($type, $line) use ($output) { |
|
64 | 64 | $output->write($line); |
65 | 65 | }); |
66 | 66 |