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.

FakeAppKernel   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 5

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 5
dl 0
loc 27
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A registerBundles() 0 10 1
A registerContainerConfiguration() 0 4 1
1
<?php
2
namespace Onurb\Bundle\ExcelBundle;
3
4
use Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle;
5
use Symfony\Bundle\FrameworkBundle\FrameworkBundle;
6
use Symfony\Component\HttpKernel\Bundle\BundleInterface;
7
use Symfony\Component\HttpKernel\Kernel;
8
use Symfony\Component\Config\Loader\LoaderInterface;
9
10
class FakeAppKernel extends Kernel
11
{
12
13
    /**
14
     * Returns an array of bundles to register.
15
     *
16
     * @return BundleInterface[] An array of bundle instances
17
     */
18
    public function registerBundles()
19
    {
20
        return array(
21
            // Dependencies
22
            new FrameworkBundle(),
23
            new SensioFrameworkExtraBundle(),
24
            // My Bundle to test
25
            new OnurbExcelBundle(),
26
        );
27
    }
28
29
    /**
30
     * Loads the container configuration.
31
     */
32
    public function registerContainerConfiguration(LoaderInterface $loader)
33
    {
34
        $loader->load(__DIR__ . '/config.yml');
35
    }
36
}
37