DummyEventSubscriber   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 0
dl 0
loc 17
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A dummy() 0 3 1
A getSubscribedEvents() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace DoctrineModuleTest\Service\TestAsset;
6
7
use Doctrine\Common\EventSubscriber;
8
9
/**
10
 * Dummy event subscriber used to test injections
11
 */
12
class DummyEventSubscriber implements EventSubscriber
13
{
14
    /**
15
     * Empty callback method
16
     */
17
    public function dummy() : void
18
    {
19
    }
20
21
    /**
22
     * {@inheritDoc}
23
     */
24
    public function getSubscribedEvents()
25
    {
26
        return ['dummy'];
27
    }
28
}
29