@@ -181,7 +181,7 @@ discard block |
||
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 |
||
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 |
||
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 | } |
@@ -456,7 +456,7 @@ discard block |
||
456 | 456 | /** |
457 | 457 | * get package from config. |
458 | 458 | * |
459 | - * @param $name |
|
459 | + * @param string $name |
|
460 | 460 | * |
461 | 461 | * @return array |
462 | 462 | */ |
@@ -582,7 +582,7 @@ discard block |
||
582 | 582 | /** |
583 | 583 | * Show package not found error. |
584 | 584 | * |
585 | - * @param $name |
|
585 | + * @param string $name |
|
586 | 586 | */ |
587 | 587 | protected function showPackageNotFoundError($name) |
588 | 588 | { |
@@ -13,28 +13,28 @@ |
||
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 | ]; |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | class BootCommand extends LlumCommand |
15 | 15 | { |
16 | - use DevTools,TouchSqliteFile,SqliteEnv,Migrate,Serve; |
|
16 | + use DevTools, TouchSqliteFile, SqliteEnv, Migrate, Serve; |
|
17 | 17 | |
18 | 18 | /** |
19 | 19 | * Command name. |
@@ -1,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Created by PhpStorm. |
|
4 | - * User: sergi |
|
5 | - * Date: 15/03/16 |
|
6 | - * Time: 19:29. |
|
7 | - */ |
|
3 | + * Created by PhpStorm. |
|
4 | + * User: sergi |
|
5 | + * Date: 15/03/16 |
|
6 | + * Time: 19:29. |
|
7 | + */ |
|
8 | 8 | namespace Acacha\Llum\Traits; |
9 | 9 | |
10 | 10 | trait TouchSqliteFile |