GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

CzogoriDamiBundle::build()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 15
Code Lines 10

Duplication

Lines 0
Ratio 0 %

Importance

Changes 6
Bugs 2 Features 1
Metric Value
c 6
b 2
f 1
dl 0
loc 15
rs 9.4285
cc 1
eloc 10
nc 1
nop 1
1
<?php
2
3
namespace Czogori\DamiBundle;
4
5
use Symfony\Component\HttpKernel\Bundle\Bundle;
6
use Symfony\Component\DependencyInjection\ContainerBuilder;
7
use Dami\DependencyInjection\DamiExtension;
8
use Rentgen\DependencyInjection\RentgenExtension;
9
use Czogori\DamiBundle\DependencyInjection\Compiler\ConnectionPass;
10
use Czogori\DamiBundle\DependencyInjection\Compiler\ContainerPass;
11
12
class CzogoriDamiBundle extends Bundle
13
{
14
    public function build(ContainerBuilder $container)
15
    {
16
        parent::build($container);
17
18
        $rentgenExtension = new RentgenExtension();
19
        $container->registerExtension($rentgenExtension);
20
        $container->loadFromExtension($rentgenExtension->getAlias());
21
22
        $damiExtension = new DamiExtension();
23
        $container->registerExtension($damiExtension);
24
        $container->loadFromExtension($damiExtension->getAlias());
25
26
        $container->addCompilerPass(new ConnectionPass());
27
        $container->addCompilerPass(new ContainerPass());
28
    }
29
}
30