Completed
Branch master (b6a56e)
by Sergi Tur
03:41
created
src/Console/LlumCommand.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -339,7 +339,7 @@  discard block
 block discarded – undo
339 339
      *
340 340
      * @param string $str
341 341
      *
342
-     * @return mixed
342
+     * @return string
343 343
      */
344 344
     private function scapeSingleQuotes($str)
345 345
     {
@@ -401,7 +401,7 @@  discard block
 block discarded – undo
401 401
     /**
402 402
      * Installs alias/facade in laravel config/app.php file.
403 403
      *
404
-     * @param $aliasName
404
+     * @param OutputInterface $aliasName
405 405
      * @param $aliasClass
406 406
      */
407 407
     protected function alias($aliasName, $aliasClass)
@@ -481,7 +481,7 @@  discard block
 block discarded – undo
481 481
     /**
482 482
      * Installs laravel package form config/packages.php file.
483 483
      *
484
-     * @param $name
484
+     * @param string $name
485 485
      */
486 486
     protected function package($name)
487 487
     {
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
     protected function check_port($port = 8000, $host = '127.0.0.1', $timeout = 3)
182 182
     {
183 183
         $fp = @fsockopen($host, $port, $errno, $errstr, $timeout);
184
-        if (! $fp) {
184
+        if (!$fp) {
185 185
             return true;
186 186
         } else {
187 187
             fclose($fp);
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
      */
224 224
     protected function installConfigAppFile()
225 225
     {
226
-        if (! $this->checkIfLaravelConfigFileExists()) {
226
+        if (!$this->checkIfLaravelConfigFileExists()) {
227 227
             $this->output->writeln('<error>File '.$this->laravel_config_file.' doesn\'t exists');
228 228
 
229 229
             return -1;
@@ -357,7 +357,7 @@  discard block
 block discarded – undo
357 357
 
358 358
         $process = new Process($composer.' require '.$package.'', null, null, null, null);
359 359
         $this->output->writeln('<info>Running composer require '.$package.'</info>');
360
-        $process->run(function ($type, $line) {
360
+        $process->run(function($type, $line) {
361 361
             $this->output->write($line);
362 362
         });
363 363
     }
Please login to merge, or discard this patch.
src/config/packages.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -13,28 +13,28 @@
 block discarded – undo
13 13
 
14 14
     'AdminLTE' => [
15 15
         'name' => 'acacha/admin-lte-template-laravel',
16
-        'providers' => ['Barryvdh\Debugbar\ServiceProvider::class'],
17
-        'aliases' => ['AdminLTE' => 'Acacha\AdminLTETemplateLaravel\Facades\AdminLTE::class'],
16
+        'providers' => [ 'Barryvdh\Debugbar\ServiceProvider::class' ],
17
+        'aliases' => [ 'AdminLTE' => 'Acacha\AdminLTETemplateLaravel\Facades\AdminLTE::class' ],
18 18
     ],
19 19
 
20 20
     'LaravelDebugbar' => [
21 21
         'name' => 'barryvdh/laravel-debugbar',
22
-        'providers' => ['Barryvdh\Debugbar\ServiceProvider::class'],
23
-        'aliases' => ['Debugbar' => 'Barryvdh\Debugbar\Facade::class'],
22
+        'providers' => [ 'Barryvdh\Debugbar\ServiceProvider::class' ],
23
+        'aliases' => [ 'Debugbar' => 'Barryvdh\Debugbar\Facade::class' ],
24 24
         'after' => 'php artisan vendor:publish --provider="Barryvdh\Debugbar\ServiceProvider"',
25 25
     ],
26 26
 
27 27
     'LaravelIdeHelper' => [
28 28
         'name' => 'barryvdh/laravel-ide-helper',
29
-        'providers' => ['Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class'],
30
-        'aliases' => [''],
29
+        'providers' => [ 'Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class' ],
30
+        'aliases' => [ '' ],
31 31
         'after' => 'php artisan ide-helper:generate',
32 32
     ],
33 33
 
34 34
     'Socialite' => [
35 35
         'name' => 'laravel/socialite',
36
-        'providers' => ['Laravel\Socialite\SocialiteServiceProvider::class'],
37
-        'aliases' => ['Socialite' => 'Laravel\Socialite\Facades\Socialite::class'],
36
+        'providers' => [ 'Laravel\Socialite\SocialiteServiceProvider::class' ],
37
+        'aliases' => [ 'Socialite' => 'Laravel\Socialite\Facades\Socialite::class' ],
38 38
     ],
39 39
 
40 40
 ];
Please login to merge, or discard this patch.