Completed
Push — master ( a2efe5...fbaaf9 )
by Sergi Tur
02:47
created
src/Console/InstallCommand.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -60,20 +60,20 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.