Completed
Push — master ( ad9a17...72e61e )
by Amy
03:53
created

TestKernel   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 50%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 3
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 19
rs 10
ccs 4
cts 8
cp 0.5

3 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
A registerBundles() 0 4 1
A registerContainerConfiguration() 0 3 1
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