Completed
Push — master ( e7bd0a...5ac687 )
by Sergi Tur
02:15
created
src/Console/InstallCommand.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -91,8 +91,8 @@  discard block
 block discarded – undo
91 91
         } else {
92 92
             $llum = $this->findLlum();
93 93
             $package = $this->getPackageName();
94
-            $output->writeln('<info>'.$llum.' package '.$this->getDevOption()."$package".'</info>');
95
-            passthru($llum.' package '.$this->getDevOption().' '.$package);
94
+            $output->writeln('<info>' . $llum . ' package ' . $this->getDevOption() . "$package" . '</info>');
95
+            passthru($llum . ' package ' . $this->getDevOption() . ' ' . $package);
96 96
         }
97 97
     }
98 98
 
@@ -117,17 +117,17 @@  discard block
 block discarded – undo
117 117
     {
118 118
         $composer = $this->findComposer();
119 119
 
120
-        $process = new Process($composer.' require acacha/admin-lte-template-laravel'.$this->getDevSuffix(),
120
+        $process = new Process($composer . ' require acacha/admin-lte-template-laravel' . $this->getDevSuffix(),
121 121
             null, null, null, null);
122 122
 
123 123
         $output->writeln(
124
-            '<info>Running composer require acacha/admin-lte-template-laravel'.$this->getDevSuffix().'</info>');
125
-        $process->run(function ($type, $line) use ($output) {
124
+            '<info>Running composer require acacha/admin-lte-template-laravel' . $this->getDevSuffix() . '</info>');
125
+        $process->run(function($type, $line) use ($output) {
126 126
             $output->write($line);
127 127
         });
128 128
 
129
-        $output->writeln('<info>Copying file '.__DIR__.'/stubs/app.php'.' into '.getcwd().'/config/app.php</info>');
130
-        copy(__DIR__.'/stubs/app.php', getcwd().'/config/app.php');
129
+        $output->writeln('<info>Copying file ' . __DIR__ . '/stubs/app.php' . ' into ' . getcwd() . '/config/app.php</info>');
130
+        copy(__DIR__ . '/stubs/app.php', getcwd() . '/config/app.php');
131 131
 
132 132
         $this->useVendorPublish ? $this->publishWithVendor($output) : $this->publish($output);
133 133
     }
@@ -139,8 +139,8 @@  discard block
 block discarded – undo
139 139
      */
140 140
     private function findComposer()
141 141
     {
142
-        if (file_exists(getcwd().'/composer.phar')) {
143
-            return '"'.PHP_BINARY.'" composer.phar"';
142
+        if (file_exists(getcwd() . '/composer.phar')) {
143
+            return '"' . PHP_BINARY . '" composer.phar"';
144 144
         }
145 145
 
146 146
         return 'composer';
Please login to merge, or discard this patch.
src/Console/SocialCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,8 +48,8 @@
 block discarded – undo
48 48
     {
49 49
         $llum = $this->findLlum();
50 50
         $package = $this->getPackageName();
51
-        $output->writeln('<info>'.$llum.' package '.$this->getDevOption()."$package".'</info>');
52
-        passthru($llum.' package '.$this->getDevOption().' '.$package);
51
+        $output->writeln('<info>' . $llum . ' package ' . $this->getDevOption() . "$package" . '</info>');
52
+        passthru($llum . ' package ' . $this->getDevOption() . ' ' . $package);
53 53
     }
54 54
 
55 55
     /**
Please login to merge, or discard this patch.