| Conditions | 2 |
| Paths | 2 |
| Total Lines | 15 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 32 | public function boot(): void |
||
| 33 | { |
||
| 34 | // Publish configuration |
||
| 35 | $this->publishes([ |
||
| 36 | __DIR__ . '/../../config/super_cache_invalidate.php' => config_path('super_cache_invalidate.php'), |
||
| 37 | ], 'config'); |
||
| 38 | |||
| 39 | // Publish migrations |
||
| 40 | $this->loadMigrationsFrom(__DIR__ . '/../../database/migrations'); |
||
| 41 | |||
| 42 | // Register commands |
||
| 43 | if ($this->app->runningInConsole()) { |
||
| 44 | $this->commands([ |
||
| 45 | ProcessCacheInvalidationEventsCommand::class, |
||
| 46 | PruneCacheInvalidationDataCommand::class, |
||
| 47 | ]); |
||
| 51 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.