Completed
Push — master ( 956130...7a076b )
by Sergi Tur
12:10 queued 09:13
created
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.
src/Console/PackageListCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,6 +48,6 @@
 block discarded – undo
48 48
      */
49 49
     private function parsePackageInfo($package)
50 50
     {
51
-        return 'Composer name: '.$package['name'];
51
+        return 'Composer name: '.$package[ 'name' ];
52 52
     }
53 53
 }
Please login to merge, or discard this patch.
src/Console/LlumCommand.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
         $process = new Process($composer.' require '.$package.''.$this->getDevOption(),
150 150
                        null, null, null, null);
151 151
         $this->output->writeln('<info>Running composer require '.$package.$this->getDevOption().'</info>');
152
-        $process->run(function ($type, $line) {
152
+        $process->run(function($type, $line) {
153 153
             $this->output->write($line);
154 154
         });
155 155
     }
@@ -264,7 +264,7 @@  discard block
 block discarded – undo
264 264
     private function getPackageNameByComposerName($composerPackageName)
265 265
     {
266 266
         foreach ($this->config->all() as $key => $configItem) {
267
-            if ($configItem['name'] == $composerPackageName) {
267
+            if ($configItem[ 'name' ] == $composerPackageName) {
268 268
                 return $key;
269 269
             }
270 270
         }
@@ -301,9 +301,9 @@  discard block
 block discarded – undo
301 301
         $this->setName($name)
302 302
              ->setDescription($description);
303 303
         if ($command->argument() != null) {
304
-            $this->addArgument($command->argument()['name'],
305
-                $command->argument()['type'],
306
-                $command->argument()['description']
304
+            $this->addArgument($command->argument()[ 'name' ],
305
+                $command->argument()[ 'type' ],
306
+                $command->argument()[ 'description' ]
307 307
             );
308 308
         }
309 309
     }
Please login to merge, or discard this patch.