Completed
Push — master ( e3af10...86928f )
by Nikita
03:00
created

RebuildSettingsSubscriber::getSubscribedEvents()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 8
rs 9.4285
cc 1
eloc 4
nc 1
nop 0
1
<?php
2
3
namespace Taisiya\CoreBundle\Event;
4
5
use Taisiya\CoreBundle\Event\Composer\CommandEvent;
6
7
class RebuildSettingsSubscriber implements EventSubscriberInterface
8
{
9
    /**
10
     * {@inheritdoc}
11
     */
12
    public static function getSubscribedEvents()
13
    {
14
        return [
15
            CommandEvent::NAME => [
16
                'onComposerCommandEvent',
17
            ],
18
        ];
19
    }
20
21
    /**
22
     * @param CommandEvent $event
23
     */
24
    public function onComposerCommandEvent(CommandEvent $event): void
0 ignored issues
show
Unused Code introduced by
The parameter $event is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
25
    {
26
27
    }
28
}
29