TestKernel::registerBundles()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
ccs 0
cts 2
cp 0
cc 1
eloc 2
nc 1
nop 0
crap 2
1
<?php
2
3
namespace Mongrate\MongrateBundle\Tests;
4
5
use Symfony\Component\Config\Loader\LoaderInterface;
6
use Symfony\Component\DependencyInjection\ContainerInterface;
7
use Symfony\Component\HttpKernel\Kernel as BaseKernel;
8
9
class TestKernel extends BaseKernel
10
{
11
    protected $container;
12
13 7
    public function __construct(ContainerInterface $container)
14
    {
15 7
        $this->container = $container;
16 7
        $this->rootDir = './';
17 7
    }
18
19
    public function registerBundles()
20
    {
21
        return [];
22
    }
23
24
    public function registerContainerConfiguration(LoaderInterface $loader)
25
    {
26
    }
27
}
28