Passed
Push — use-psr-4-directory-structure ( 29fdda...3bfdfa )
by Alexis
17:21
created

LiipFunctionalTestBundle::build()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 4
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 5
ccs 4
cts 4
cp 1
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 1
crap 1
1
<?php
2
3
/*
4
 * This file is part of the Liip/FunctionalTestBundle
5
 *
6
 * (c) Lukas Kahwe Smith <[email protected]>
7
 *
8
 * This source file is subject to the MIT license that is bundled
9
 * with this source code in the file LICENSE.
10
 */
11
12
namespace Liip\FunctionalTestBundle;
13
14
use Symfony\Component\HttpKernel\Bundle\Bundle;
15
use Symfony\Component\DependencyInjection\ContainerBuilder;
16
use Liip\FunctionalTestBundle\DependencyInjection\Compiler\SetTestClientPass;
17
use Liip\FunctionalTestBundle\DependencyInjection\Compiler\OptionalValidatorPass;
18
19
class LiipFunctionalTestBundle extends Bundle
20
{
21 5
    public function build(ContainerBuilder $container)
22
    {
23 5
        $container->addCompilerPass(new SetTestClientPass());
24 5
        $container->addCompilerPass(new OptionalValidatorPass());
25 5
    }
26
}
27