Completed
Push — master ( e5f766...c83ef0 )
by Sergi Tur
03:08
created
src/Traits/Serve.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
     protected function check_port($port = 8000, $host = '127.0.0.1', $timeout = 3)
46 46
     {
47 47
         $fp = @fsockopen($host, $port, $errno, $errstr, $timeout);
48
-        if (! $fp) {
48
+        if (!$fp) {
49 49
             return true;
50 50
         } else {
51 51
             fclose($fp);
Please login to merge, or discard this patch.
src/Console/LlumCommand.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -377,7 +377,7 @@
 block discarded – undo
377 377
     /**
378 378
      * Obtain package.
379 379
      *
380
-     * @param $name
380
+     * @param string $name
381 381
      * @return array|int
382 382
      */
383 383
     private function obtainPackage($name){
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
      */
136 136
     protected function getDevOption()
137 137
     {
138
-        return $this->installDev ? ":dev-master"  : "";
138
+        return $this->installDev ? ":dev-master" : "";
139 139
     }
140 140
 
141 141
     /**
@@ -146,10 +146,10 @@  discard block
 block discarded – undo
146 146
     private function requireComposerPackage($package)
147 147
     {
148 148
         $composer = $this->findComposer();
149
-        $process = new Process($composer.' require '.$package.'' . $this->getDevOption(),
149
+        $process = new Process($composer.' require '.$package.''.$this->getDevOption(),
150 150
                        null, null, null, null);
151
-        $this->output->writeln('<info>Running composer require '.$package. $this->getDevOption().'</info>');
152
-        $process->run(function ($type, $line) {
151
+        $this->output->writeln('<info>Running composer require '.$package.$this->getDevOption().'</info>');
152
+        $process->run(function($type, $line) {
153 153
             $this->output->write($line);
154 154
         });
155 155
     }
@@ -295,7 +295,7 @@  discard block
 block discarded – undo
295 295
         $name = $command->name();
296 296
         $description = $command->description();
297 297
 
298
-        if (! is_string($name) || ! is_string($description)) {
298
+        if (!is_string($name) || !is_string($description)) {
299 299
             throw new InvalidCommandException;
300 300
         }
301 301
 
Please login to merge, or discard this patch.
src/Traits/LaravelConfigFile.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -202,7 +202,7 @@
 block discarded – undo
202 202
      */
203 203
     private function testLaravelConfigFileExists()
204 204
     {
205
-        if (! $this->checkIfLaravelConfigFileExists()) {
205
+        if (!$this->checkIfLaravelConfigFileExists()) {
206 206
             $this->output->writeln('<error>File '.$this->laravel_config_file.' doesn\'t exists');
207 207
 
208 208
             return -1;
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -112,9 +112,9 @@
 block discarded – undo
112 112
     /**
113 113
      * Insert file into file using mountpoint.
114 114
      *
115
-     * @param $mountpoint
115
+     * @param string $mountpoint
116 116
      * @param $fileToInsert
117
-     * @return mixed
117
+     * @return integer|null
118 118
      */
119 119
     private function addFileIntoMountPoint($mountpoint, $fileToInsert)
120 120
     {
Please login to merge, or discard this patch.
src/config/packages.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -13,40 +13,40 @@
 block discarded – undo
13 13
 
14 14
     'AdminLTE' => [
15 15
         'name' => 'acacha/admin-lte-template-laravel',
16
-        'providers' => ['Acacha\AdminLTETemplateLaravel\Providers\AdminLTETemplateServiceProvider::class'],
17
-        'aliases' => ['AdminLTE' => 'Acacha\AdminLTETemplateLaravel\Facades\AdminLTE::class'],
16
+        'providers' => [ 'Acacha\AdminLTETemplateLaravel\Providers\AdminLTETemplateServiceProvider::class' ],
17
+        'aliases' => [ 'AdminLTE' => 'Acacha\AdminLTETemplateLaravel\Facades\AdminLTE::class' ],
18 18
         'after' => 'php artisan adminlte-laravel:publish',
19 19
     ],
20 20
 
21 21
     'AdminLTEVendorPublish' => [
22 22
         'name' => 'acacha/admin-lte-template-laravel',
23
-        'providers' => ['Acacha\AdminLTETemplateLaravel\Providers\AdminLTETemplateServiceProvider::class'],
24
-        'aliases' => ['AdminLTE' => 'Acacha\AdminLTETemplateLaravel\Facades\AdminLTE::class'],
23
+        'providers' => [ 'Acacha\AdminLTETemplateLaravel\Providers\AdminLTETemplateServiceProvider::class' ],
24
+        'aliases' => [ 'AdminLTE' => 'Acacha\AdminLTETemplateLaravel\Facades\AdminLTE::class' ],
25 25
         'after' => 'php artisan vendor:publish --tag=adminlte --force',
26 26
     ],
27 27
 
28 28
     'LaravelDebugbar' => [
29 29
         'name' => 'barryvdh/laravel-debugbar',
30
-        'providers' => ['Barryvdh\Debugbar\ServiceProvider::class'],
31
-        'aliases' => ['Debugbar' => 'Barryvdh\Debugbar\Facade::class'],
30
+        'providers' => [ 'Barryvdh\Debugbar\ServiceProvider::class' ],
31
+        'aliases' => [ 'Debugbar' => 'Barryvdh\Debugbar\Facade::class' ],
32 32
         'after' => 'php artisan vendor:publish --provider="Barryvdh\Debugbar\ServiceProvider"',
33 33
     ],
34 34
 
35 35
     'LaravelIdeHelper' => [
36 36
         'name' => 'barryvdh/laravel-ide-helper',
37
-        'providers' => ['Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class'],
37
+        'providers' => [ 'Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class' ],
38 38
         'after' => 'php artisan ide-helper:generate',
39 39
     ],
40 40
 
41 41
     'Socialite' => [
42 42
         'name' => 'laravel/socialite',
43
-        'providers' => ['Laravel\Socialite\SocialiteServiceProvider::class'],
44
-        'aliases' => ['Socialite' => 'Laravel\Socialite\Facades\Socialite::class'],
43
+        'providers' => [ 'Laravel\Socialite\SocialiteServiceProvider::class' ],
44
+        'aliases' => [ 'Socialite' => 'Laravel\Socialite\Facades\Socialite::class' ],
45 45
     ],
46 46
 
47 47
     'AcachaSocialite' => [
48 48
         'name' => 'acacha/acacha-socialite',
49
-        'providers' => ['Acacha\Socialite\Providers\AcachaSocialiteServiceProvider::class'],
49
+        'providers' => [ 'Acacha\Socialite\Providers\AcachaSocialiteServiceProvider::class' ],
50 50
         'after' => 'php artisan vendor:publish --tag=acachasocialite --force',
51 51
     ],
52 52
 
Please login to merge, or discard this patch.