ReferenceFactorySpec   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A it_should_create_a_reference_for_the_specified_service_id() 0 5 1
1
<?php
2
3
namespace spec\Knp\RadBundle\DependencyInjection;
4
5
use PhpSpec\ObjectBehavior;
6
7
class ReferenceFactorySpec extends ObjectBehavior
8
{
9
    function it_should_create_a_reference_for_the_specified_service_id()
0 ignored issues
show
Coding Style introduced by
Method name "ReferenceFactorySpec::it_should_create_a_reference_for_the_specified_service_id" is not in camel caps format
Loading history...
10
    {
11
        $reference = $this->createReference('some.service.id');
12
        $reference->shouldBeAnInstanceOf('Symfony\Component\DependencyInjection\Reference');
13
    }
14
}
15