@@ -60,13 +60,13 @@ discard block |
||
60 | 60 | $composer = $this->findComposer(); |
61 | 61 | |
62 | 62 | $commands = [ |
63 | - $composer.' require '. $this->getPackageName().$this->getDevSuffix($input), |
|
64 | - $composer.' require --dev laravel/dusk' |
|
63 | + $composer . ' require ' . $this->getPackageName() . $this->getDevSuffix($input), |
|
64 | + $composer . ' require --dev laravel/dusk' |
|
65 | 65 | ]; |
66 | 66 | |
67 | 67 | if ($input->getOption('no-ansi')) { |
68 | - $commands = array_map(function ($value) { |
|
69 | - return $value.' --no-ansi'; |
|
68 | + $commands = array_map(function($value) { |
|
69 | + return $value . ' --no-ansi'; |
|
70 | 70 | }, $commands); |
71 | 71 | } |
72 | 72 | |
@@ -88,8 +88,8 @@ discard block |
||
88 | 88 | $process->setTty(true); |
89 | 89 | } |
90 | 90 | |
91 | - $output->writeln('<info>Running '. $runningCommand.'</info>'); |
|
92 | - $process->run(function ($type, $line) use ($output) { |
|
91 | + $output->writeln('<info>Running ' . $runningCommand . '</info>'); |
|
92 | + $process->run(function($type, $line) use ($output) { |
|
93 | 93 | $output->write($line); |
94 | 94 | }); |
95 | 95 | } |