@@ -97,8 +97,8 @@ discard block |
||
| 97 | 97 | } else { |
| 98 | 98 | $llum = $this->findLlum(); |
| 99 | 99 | $package = $this->getPackageName(); |
| 100 | - $output->writeln('<info>'.$llum.' package '.$this->getDevOption()." $package".'</info>'); |
|
| 101 | - passthru($llum.' package '.$this->getDevOption().' '.$package); |
|
| 100 | + $output->writeln('<info>' . $llum . ' package ' . $this->getDevOption() . " $package" . '</info>'); |
|
| 101 | + passthru($llum . ' package ' . $this->getDevOption() . ' ' . $package); |
|
| 102 | 102 | } |
| 103 | 103 | } |
| 104 | 104 | |
@@ -123,17 +123,17 @@ discard block |
||
| 123 | 123 | { |
| 124 | 124 | $composer = $this->findComposer(); |
| 125 | 125 | |
| 126 | - $process = new Process($composer.' require acacha/admin-lte-template-laravel'.$this->getDevSuffix(), |
|
| 126 | + $process = new Process($composer . ' require acacha/admin-lte-template-laravel' . $this->getDevSuffix(), |
|
| 127 | 127 | null, null, null, null); |
| 128 | 128 | |
| 129 | 129 | $output->writeln( |
| 130 | - '<info>Running composer require acacha/admin-lte-template-laravel'.$this->getDevSuffix().'</info>'); |
|
| 131 | - $process->run(function ($type, $line) use ($output) { |
|
| 130 | + '<info>Running composer require acacha/admin-lte-template-laravel' . $this->getDevSuffix() . '</info>'); |
|
| 131 | + $process->run(function($type, $line) use ($output) { |
|
| 132 | 132 | $output->write($line); |
| 133 | 133 | }); |
| 134 | 134 | |
| 135 | - $output->writeln('<info>Copying file '.__DIR__.'/stubs/app.php'.' into '.getcwd().'/config/app.php</info>'); |
|
| 136 | - copy(__DIR__.'/stubs/app.php', getcwd().'/config/app.php'); |
|
| 135 | + $output->writeln('<info>Copying file ' . __DIR__ . '/stubs/app.php' . ' into ' . getcwd() . '/config/app.php</info>'); |
|
| 136 | + copy(__DIR__ . '/stubs/app.php', getcwd() . '/config/app.php'); |
|
| 137 | 137 | |
| 138 | 138 | $this->useVendorPublish ? $this->publishWithVendor($output) : $this->publish($output); |
| 139 | 139 | } |
@@ -145,8 +145,8 @@ discard block |
||
| 145 | 145 | */ |
| 146 | 146 | private function findComposer() |
| 147 | 147 | { |
| 148 | - if (file_exists(getcwd().'/composer.phar')) { |
|
| 149 | - return '"'.PHP_BINARY.'" composer.phar"'; |
|
| 148 | + if (file_exists(getcwd() . '/composer.phar')) { |
|
| 149 | + return '"' . PHP_BINARY . '" composer.phar"'; |
|
| 150 | 150 | } |
| 151 | 151 | |
| 152 | 152 | return 'composer'; |