| Conditions | 2 |
| Paths | 2 |
| Total Lines | 15 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 10 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | 72 | public function boot() |
|
| 24 | { |
||
| 25 | 72 | if ($this->app->runningInConsole()) { |
|
| 26 | 72 | $this->publishes([ |
|
| 27 | 72 | __DIR__.'/../config/assetlibrary.php' => config_path('assetlibrary.php'), |
|
| 28 | 72 | ], 'config'); |
|
| 29 | |||
| 30 | 72 | $this->mergeConfigFrom(__DIR__.'/../config/assetlibrary.php', 'assetlibrary'); |
|
| 31 | |||
| 32 | 72 | $this->publishMigrations(); |
|
| 33 | |||
| 34 | 72 | $this->app->bind('command.assetlibrary:migrate-image', ImageToAssetMigrateCommand::class); |
|
| 35 | |||
| 36 | 72 | $this->commands([ |
|
| 37 | 72 | 'command.assetlibrary:migrate-image', |
|
| 38 | ]); |
||
| 58 |
Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.