Total Complexity | 3 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Coverage | 55.56% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | final class Plugin implements EventSubscriberInterface, PluginInterface |
||
18 | { |
||
19 | /** |
||
20 | * {@inheritdoc} |
||
21 | */ |
||
22 | 1 | public function activate(Composer $composer, IOInterface $io): void |
|
23 | { |
||
24 | 1 | $io->write('<info>drupol/composer-packages:</info> Enabled.'); |
|
25 | 1 | } |
|
26 | |||
27 | /** |
||
28 | * {@inheritdoc} |
||
29 | */ |
||
30 | 1 | public static function getSubscribedEvents(): array |
|
33 | } |
||
34 | |||
35 | /** |
||
36 | * @param \Composer\Script\Event $composerEvent |
||
37 | * |
||
38 | * @throws \ReflectionException |
||
39 | * @throws \Twig\Error\LoaderError |
||
40 | * @throws \Twig\Error\RuntimeError |
||
41 | * @throws \Twig\Error\SyntaxError |
||
42 | */ |
||
43 | public static function regeneration(Event $composerEvent): void |
||
50 | } |
||
51 | } |
||
52 |