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.

TestKernel   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 11

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 11
dl 0
loc 23
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A registerBundles() 0 14 1
A registerContainerConfiguration() 0 5 1
1
<?php
2
3
/*
4
 * This file is part of the Hautelook\AliceBundle package.
5
 *
6
 * (c) Baldur Rensch <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Hautelook\AliceBundle\Functional;
13
14
use Doctrine\Bundle\DoctrineBundle\DoctrineBundle;
15
use Fidry\AliceDataFixtures\Bridge\Symfony\FidryAliceDataFixturesBundle;
16
use Hautelook\AliceBundle\Functional\TestBundle\Bundle\ABundle\TestABundle;
17
use Hautelook\AliceBundle\Functional\TestBundle\Bundle\BBundle\TestBBundle;
18
use Hautelook\AliceBundle\Functional\TestBundle\Bundle\CBundle\TestCBundle;
19
use Hautelook\AliceBundle\HautelookAliceBundle;
20
use Hautelook\AliceBundle\Functional\TestBundle\TestBundle;
21
use Nelmio\Alice\Bridge\Symfony\NelmioAliceBundle;
22
use Symfony\Bundle\FrameworkBundle\FrameworkBundle;
23
use Symfony\Component\Config\Loader\LoaderInterface;
24
use Symfony\Component\HttpKernel\Kernel;
25
26
/**
27
 * @author Théo FIDRY <[email protected]>
28
 */
29
class TestKernel extends Kernel
30
{
31
    public function registerBundles()
32
    {
33
        return [
34
            new FrameworkBundle(),
35
            new NelmioAliceBundle(),
36
            new FidryAliceDataFixturesBundle(),
37
            new DoctrineBundle(),
38
            new HautelookAliceBundle(),
39
            new TestBundle(),
40
            new TestABundle(),
41
            new TestBBundle(),
42
            new TestCBundle(),
43
        ];
44
    }
45
46
    public function registerContainerConfiguration(LoaderInterface $loader)
47
    {
48
        $loader->load(__DIR__.'/config/config.yml');
49
        $loader->load(__DIR__.'/config/doctrine.yml');
50
    }
51
}
52