HgracaDoctrineTestDbRegenerationBundle   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 6
ccs 3
cts 3
cp 1
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A build() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Hgraca\DoctrineTestDbRegenerationBundle;
6
7
use Hgraca\DoctrineTestDbRegenerationBundle\DependencyInjection\CreateDbRegenerationServiceLocatorCompilerPass;
8
use Symfony\Component\DependencyInjection\ContainerBuilder;
9
use Symfony\Component\HttpKernel\Bundle\Bundle;
10
11
class HgracaDoctrineTestDbRegenerationBundle extends Bundle
12
{
13 2
    public function build(ContainerBuilder $containerBuilder): void
14
    {
15 2
        parent::build($containerBuilder);
16 2
        $containerBuilder->addCompilerPass(new CreateDbRegenerationServiceLocatorCompilerPass());
17 2
    }
18
}
19