Test Failed
Pull Request — 4.2 (#140)
by David
05:30 queued 14s
created

VoidListener   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 12
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A onGenerate() 0 4 1
1
<?php
2
3
4
namespace Mouf\Database\TDBM\Utils;
5
6
use Mouf\Database\TDBM\ConfigurationInterface;
7
8
/**
9
 * A listener that does nothing.
10
 */
11
class VoidListener implements GeneratorListenerInterface
12
{
13
14
    /**
15
     * @param ConfigurationInterface $configuration
16
     * @param BeanDescriptorInterface[] $beanDescriptors
17
     */
18
    public function onGenerate(ConfigurationInterface $configuration, array $beanDescriptors): void
19
    {
20
        // Let's do nothing.
21
    }
22
}
23