| Total Complexity | 5 |
| Total Lines | 44 |
| Duplicated Lines | 0 % |
| Coverage | 58.33% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | final class Plugin implements Capable, EventSubscriberInterface, PluginInterface |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * {@inheritdoc} |
||
| 22 | */ |
||
| 23 | public function activate(Composer $composer, IOInterface $io): void |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @return array |
||
| 29 | */ |
||
| 30 | public function getCapabilities(): array |
||
| 31 | { |
||
| 32 | return [ |
||
| 33 | \Composer\Plugin\Capability\CommandProvider::class => CommandProvider::class, |
||
| 34 | ]; |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * {@inheritdoc} |
||
| 39 | */ |
||
| 40 | 1 | public static function getSubscribedEvents(): array |
|
| 43 | } |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @param Event $composerEvent |
||
| 47 | * |
||
| 48 | * @throws \ReflectionException |
||
| 49 | */ |
||
| 50 | 2 | public static function regeneration(Event $composerEvent): void |
|
| 62 | 2 | } |
|
| 63 | } |
||
| 64 |