Completed
Push — master ( 3e25f8...e7bd0a )
by Sergi Tur
02:09
created
bootstrap/autoload.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,3 +1,3 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-require __DIR__.'/../vendor/autoload.php';
3
+require __DIR__ . '/../vendor/autoload.php';
Please login to merge, or discard this patch.
tests/InstallCommandTest.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,6 +90,6 @@
 block discarded – undo
90 90
      */
91 91
     private function fileHasContent($file, $content)
92 92
     {
93
-        return strpos(file_get_contents(getcwd().$file), $content) != false;
93
+        return strpos(file_get_contents(getcwd() . $file), $content) != false;
94 94
     }
95 95
 }
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,8 +83,8 @@
 block discarded – undo
83 83
     /**
84 84
      * Test if file has content.
85 85
      *
86
-     * @param $file
87
-     * @param $content
86
+     * @param string $file
87
+     * @param string $content
88 88
      *
89 89
      * @return bool
90 90
      */
Please login to merge, or discard this patch.
src/Console/InstallCommand.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -97,8 +97,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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';
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.