@@ -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';  | 
                                                        
@@ -85,8 +85,8 @@  | 
                                                    ||
| 85 | 85 | /**  | 
                                                        
| 86 | 86 | * Test if file has content.  | 
                                                        
| 87 | 87 | *  | 
                                                        
| 88 | - * @param $file  | 
                                                        |
| 89 | - * @param $content  | 
                                                        |
| 88 | + * @param string $file  | 
                                                        |
| 89 | + * @param string $content  | 
                                                        |
| 90 | 90 | * @return bool  | 
                                                        
| 91 | 91 | */  | 
                                                        
| 92 | 92 | private function fileHasContent($file, $content)  | 
                                                        
@@ -23,12 +23,12 @@ discard block  | 
                                                    ||
| 23 | 23 |          $command = $application->find('install'); | 
                                                        
| 24 | 24 | $commandTester = new CommandTester($command);  | 
                                                        
| 25 | 25 | $commandTester->execute([  | 
                                                        
| 26 | - 'command' => $command->getName().  | 
                                                        |
| 26 | + 'command' => $command->getName() .  | 
                                                        |
| 27 | 27 | '--force'  | 
                                                        
| 28 | 28 | ]);  | 
                                                        
| 29 | 29 | |
| 30 | 30 | $this->assertTrue(  | 
                                                        
| 31 | -            $this->fileHasContent('/composer.json','acacha/admin-lte-template-laravel')); | 
                                                        |
| 31 | +            $this->fileHasContent('/composer.json', 'acacha/admin-lte-template-laravel')); | 
                                                        |
| 32 | 32 | |
| 33 | 33 | $this->assertTrue(  | 
                                                        
| 34 | 34 | $this->fileHasContent(  | 
                                                        
@@ -91,6 +91,6 @@ discard block  | 
                                                    ||
| 91 | 91 | */  | 
                                                        
| 92 | 92 | private function fileHasContent($file, $content)  | 
                                                        
| 93 | 93 |      { | 
                                                        
| 94 | - return strpos(file_get_contents(getcwd().$file), $content) != false;  | 
                                                        |
| 94 | + return strpos(file_get_contents(getcwd() . $file), $content) != false;  | 
                                                        |
| 95 | 95 | }  | 
                                                        
| 96 | 96 | }  | 
                                                        
| 97 | 97 | \ No newline at end of file  | 
                                                        
@@ -1,3 +1,3 @@  | 
                                                    ||
| 1 | 1 | <?php  | 
                                                        
| 2 | 2 | |
| 3 | -require __DIR__.'/../vendor/autoload.php';  | 
                                                        |
| 3 | +require __DIR__ . '/../vendor/autoload.php';  | 
                                                        |