@@ -45,7 +45,7 @@ |
||
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); |
@@ -377,7 +377,7 @@ |
||
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){ |
@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | |
111 | 111 | $process = new Process($composer.' require '.$package.'', null, null, null, null); |
112 | 112 | $this->output->writeln('<info>Running composer require '.$package.'</info>'); |
113 | - $process->run(function ($type, $line) { |
|
113 | + $process->run(function($type, $line) { |
|
114 | 114 | $this->output->write($line); |
115 | 115 | }); |
116 | 116 | } |
@@ -252,7 +252,7 @@ discard block |
||
252 | 252 | $name = $command->name(); |
253 | 253 | $description = $command->description(); |
254 | 254 | |
255 | - if (! is_string($name) || ! is_string($description)) { |
|
255 | + if (!is_string($name) || !is_string($description)) { |
|
256 | 256 | throw new InvalidCommandException; |
257 | 257 | } |
258 | 258 |
@@ -202,7 +202,7 @@ |
||
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; |
@@ -13,27 +13,27 @@ |
||
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'], |
|
29 | + 'providers' => [ 'Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class' ], |
|
30 | 30 | 'after' => 'php artisan ide-helper:generate', |
31 | 31 | ], |
32 | 32 | |
33 | 33 | 'Socialite' => [ |
34 | 34 | 'name' => 'laravel/socialite', |
35 | - 'providers' => ['Laravel\Socialite\SocialiteServiceProvider::class'], |
|
36 | - 'aliases' => ['Socialite' => 'Laravel\Socialite\Facades\Socialite::class'], |
|
35 | + 'providers' => [ 'Laravel\Socialite\SocialiteServiceProvider::class' ], |
|
36 | + 'aliases' => [ 'Socialite' => 'Laravel\Socialite\Facades\Socialite::class' ], |
|
37 | 37 | ], |
38 | 38 | |
39 | 39 | ]; |