build()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 6

Duplication

Lines 8
Ratio 100 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 8
loc 8
rs 9.4285
cc 1
eloc 6
nc 1
nop 1
1
<?php
2
3
/*
4
 * This file is part of the BenGorFile package.
5
 *
6
 * (c) Beñat Espiña <[email protected]>
7
 * (c) Gorka Laucirica <[email protected]>
8
 *
9
 * For the full copyright and license information, please view the LICENSE
10
 * file that was distributed with this source code.
11
 */
12
13
namespace BenGorFile\SimpleBusBridgeBundle;
14
15
use BenGorFile\FileBundle\DependentBenGorFileBundle;
16
use Symfony\Component\DependencyInjection\ContainerBuilder;
17
use Symfony\Component\HttpKernel\Bundle\Bundle;
18
19
/**
20
 * Simple bus and Doctrine ORM bridge bundle kernel class.
21
 *
22
 * @author Beñat Espiña <[email protected]>
23
 */
24 View Code Duplication
class BenGorFileSimpleBusDoctrineORMBridgeBundle extends Bundle
0 ignored issues
show
Duplication introduced by
This class seems to be duplicated in your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
25
{
26
    use DependentBenGorFileBundle;
27
28
    /**
29
     * {@inheritdoc}
30
     */
31
    public function build(ContainerBuilder $container)
32
    {
33
        $this->checkDependencies([
34
            'BenGorFileBundle',
35
            'BenGorFileDoctrineORMBridgeBundle',
36
            'DoctrineBundle',
37
        ], $container);
38
    }
39
}
40