TreeBuilderFactorySpec   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A it_should_create_treeBuilder() 0 5 1
1
<?php
2
3
namespace spec\Knp\RadBundle\AppBundle;
4
5
use PhpSpec\ObjectBehavior;
6
7
class TreeBuilderFactorySpec extends ObjectBehavior
8
{
9
    function it_should_create_treeBuilder()
0 ignored issues
show
Coding Style introduced by
Method name "TreeBuilderFactorySpec::it_should_create_treeBuilder" is not in camel caps format
Loading history...
10
    {
11
        $tb = $this->createTreeBuilder();
12
        $tb->shouldBeAnInstanceOf('Symfony\Component\Config\Definition\Builder\TreeBuilder');
13
    }
14
}
15