Failed Conditions
Pull Request — master (#298)
by Asmir
07:36
created

DoctrineMigrationsBundle::build()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
ccs 0
cts 3
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
crap 2
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
    public function build(ContainerBuilder $builder)
19
    {
20
      $builder->addCompilerPass(new ConfigureDependencyFactoryPass());
21
    }
22
}
23