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.
Completed
Push — master ( cd261d...1a4b18 )
by Bruno
41:57
created

AppKernel   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 26
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 9

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 2
c 1
b 0
f 1
lcom 0
cbo 9
dl 0
loc 26
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A registerBundles() 0 17 1
A registerContainerConfiguration() 0 5 1
1
<?php
2
3
use Symfony\Component\HttpKernel\Kernel;
4
use Symfony\Component\Config\Loader\LoaderInterface;
5
6
class AppKernel extends Kernel
7
{
8
    public function registerBundles()
9
    {
10
        $bundles = array(
11
            // Dependencies
12
            new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
13
            new Symfony\Bundle\SecurityBundle\SecurityBundle(),
14
            new Symfony\Bundle\MonologBundle\MonologBundle(),
15
            new Symfony\Bundle\TwigBundle\TwigBundle(),
16
            new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(),
17
            new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(),
18
19
            // My Bundle to test
20
            new Onurb\Bundle\YumlBundle\OnurbYumlBundle(),
21
        );
22
23
        return $bundles;
24
    }
25
26
    public function registerContainerConfiguration(LoaderInterface $loader)
27
    {
28
        // We don't need that Environment stuff, just one config
29
        $loader->load(__DIR__.'/config.yml');
30
    }
31
}
32