Passed
Push — master ( e17376...74a3c9 )
by Asmir
01:07 queued 17s
created

DoctrineMigrationsBundle   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A build() 0 3 1
1
<?php
2
3
4
namespace Doctrine\Bundle\MigrationsBundle;
5
6
use Doctrine\Bundle\MigrationsBundle\DependencyInjection\CompilerPass\ConfigureDependencyFactoryPass;
7
use Symfony\Component\DependencyInjection\ContainerBuilder;
8
use Symfony\Component\HttpKernel\Bundle\Bundle;
9
10
/**
11
 * Bundle.
12
 *
13
 * @author Fabien Potencier <[email protected]>
14
 * @author Jonathan H. Wage <[email protected]>
15
 */
16
class DoctrineMigrationsBundle extends Bundle
17
{
18 9
    public function build(ContainerBuilder $builder)
19
    {
20 9
      $builder->addCompilerPass(new ConfigureDependencyFactoryPass());
21 9
    }
22
}
23