| Conditions | 2 |
| Paths | 2 |
| Total Lines | 18 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 6 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | public function handle(): void |
||
| 22 | { |
||
| 23 | $originalPublishers = ServiceProvider::$publishes; |
||
| 24 | $originalGroups = ServiceProvider::$publishGroups; |
||
| 25 | |||
| 26 | // This provider's publisher is not needed as it's covered by Laravel Zero |
||
| 27 | unset(ServiceProvider::$publishes[LaravelConsoleSummaryServiceProvider::class]); |
||
| 28 | |||
| 29 | // Rename the config group to be more helpful |
||
| 30 | if (isset(ServiceProvider::$publishGroups['config'])) { |
||
| 31 | ServiceProvider::$publishGroups['vendor-configs'] = ServiceProvider::$publishGroups['config']; |
||
| 32 | unset(ServiceProvider::$publishGroups['config']); |
||
| 33 | } |
||
| 34 | |||
| 35 | parent::handle(); |
||
| 36 | |||
| 37 | ServiceProvider::$publishes = $originalPublishers; |
||
| 38 | ServiceProvider::$publishGroups = $originalGroups; |
||
| 39 | } |
||
| 41 |