@@ -86,9 +86,9 @@ discard block |
||
| 86 | 86 | $this->executeWithoutLlum($output); |
| 87 | 87 | } else { |
| 88 | 88 | $llum = $this->findLlum(); |
| 89 | - $output->writeln('<info>'.$llum.' package '.$this->getDevOption().' AdminLTE'.'</info>'); |
|
| 89 | + $output->writeln('<info>' . $llum . ' package ' . $this->getDevOption() . ' AdminLTE' . '</info>'); |
|
| 90 | 90 | $this->useVendorPublish ? $package = 'AdminLTEVendorPublish' : $package = 'AdminLTE'; |
| 91 | - passthru($llum.' package '.$this->getDevOption().$package); |
|
| 91 | + passthru($llum . ' package ' . $this->getDevOption() . $package); |
|
| 92 | 92 | } |
| 93 | 93 | } |
| 94 | 94 | |
@@ -101,17 +101,17 @@ discard block |
||
| 101 | 101 | { |
| 102 | 102 | $composer = $this->findComposer(); |
| 103 | 103 | |
| 104 | - $process = new Process($composer.' require acacha/admin-lte-template-laravel'.$this->getDevSuffix(), |
|
| 104 | + $process = new Process($composer . ' require acacha/admin-lte-template-laravel' . $this->getDevSuffix(), |
|
| 105 | 105 | null, null, null, null); |
| 106 | 106 | |
| 107 | 107 | $output->writeln( |
| 108 | - '<info>Running composer require acacha/admin-lte-template-laravel'.$this->getDevSuffix().'</info>'); |
|
| 109 | - $process->run(function ($type, $line) use ($output) { |
|
| 108 | + '<info>Running composer require acacha/admin-lte-template-laravel' . $this->getDevSuffix() . '</info>'); |
|
| 109 | + $process->run(function($type, $line) use ($output) { |
|
| 110 | 110 | $output->write($line); |
| 111 | 111 | }); |
| 112 | 112 | |
| 113 | - $output->writeln('<info>Copying file '.__DIR__.'/stubs/app.php'.' into '.getcwd().'/config/app.php</info>'); |
|
| 114 | - copy(__DIR__.'/stubs/app.php', getcwd().'/config/app.php'); |
|
| 113 | + $output->writeln('<info>Copying file ' . __DIR__ . '/stubs/app.php' . ' into ' . getcwd() . '/config/app.php</info>'); |
|
| 114 | + copy(__DIR__ . '/stubs/app.php', getcwd() . '/config/app.php'); |
|
| 115 | 115 | |
| 116 | 116 | $this->useVendorPublish ? $this->publishWithVendor($output) : $this->publish($output); |
| 117 | 117 | } |
@@ -123,8 +123,8 @@ discard block |
||
| 123 | 123 | */ |
| 124 | 124 | private function findComposer() |
| 125 | 125 | { |
| 126 | - if (file_exists(getcwd().'/composer.phar')) { |
|
| 127 | - return '"'.PHP_BINARY.'" composer.phar"'; |
|
| 126 | + if (file_exists(getcwd() . '/composer.phar')) { |
|
| 127 | + return '"' . PHP_BINARY . '" composer.phar"'; |
|
| 128 | 128 | } |
| 129 | 129 | |
| 130 | 130 | return 'composer'; |