Conditions | 2 |
Paths | 1 |
Total Lines | 18 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 6 |
Changes | 0 |
1 | <?php |
||
42 | public function install(): void |
||
43 | { |
||
44 | $this->call('app:install', ['component' => 'database']); |
||
45 | |||
46 | $this->require('illuminate/bus "5.8.*"'); |
||
47 | $this->require('illuminate/queue "5.8.*"'); |
||
48 | |||
49 | $this->task( |
||
50 | 'Creating default queue configuration', |
||
51 | function () { |
||
52 | if (! File::exists(config_path('queue.php'))) { |
||
53 | return File::copy( |
||
54 | static::CONFIG_FILE, |
||
55 | $this->app->configPath('queue.php') |
||
56 | ); |
||
57 | } |
||
58 | |||
59 | return false; |
||
60 | } |
||
64 |