| Conditions | 2 |
| Paths | 2 |
| Total Lines | 15 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 2 |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | 15 | public function boot() |
|
| 24 | { |
||
| 25 | // configuration |
||
| 26 | 15 | $this->publishes([ |
|
| 27 | 15 | __DIR__ . '/../config/geld.php' => config_path('geld.php') |
|
| 28 | ]); |
||
| 29 | |||
| 30 | // migrations |
||
| 31 | 15 | $this->loadMigrationsFrom(__DIR__ . '/../database/migrations'); |
|
| 32 | |||
| 33 | 15 | if ($this->app->runningInConsole()) { |
|
| 34 | 15 | $this->commands([ |
|
| 35 | 15 | UpdateExchangeRatesCommand::class, |
|
| 36 | CheckRetentionCommand::class, |
||
| 37 | DataIncineratorCommand::class, |
||
| 38 | ]); |
||
| 61 |