Completed
Pull Request — master (#27)
by Benjamin
16:41
created

BaseTestCase   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A createKernel() 0 6 2
1
<?php
2
3
4
namespace Alpixel\Bundle\CMSBundle\Tests\Functional;
5
use Symfony\Bundle\FrameworkBundle\Tests\Functional\WebTestCase;
6
7
8
/**
9
 * @author Benjamin HUBERT <[email protected]>
10
 */
11
class BaseTestCase extends WebTestCase
12
{
13
    static protected function createKernel(array $options = array())
14
    {
15
        return new AppKernel(
16
            isset($options['config']) ? $options['config'] : 'config.yml'
17
        );
18
    }
19
}