@@ -60,20 +60,20 @@ 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 | |
73 | 73 | $force = $input->getOption('dontforce') ? '' : ' --force'; |
74 | 74 | $commands = array_merge($commands, [ |
75 | 75 | 'php artisan dusk:install', |
76 | - 'php artisan adminlte:publish'.$force, |
|
76 | + 'php artisan adminlte:publish' . $force, |
|
77 | 77 | ]); |
78 | 78 | |
79 | 79 | $process = new Process( |
@@ -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 | } |