GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

ConfigutationTest   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 2
dl 0
loc 22
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A testIsInstanceOf() 0 5 1
A testGetConfigBuilderInstanceOf() 0 6 1
1
<?php
2
namespace OnurbTest\Bundle\YumlBundle\DependencyInjection;
3
4
use Onurb\Bundle\YumlBundle\DependencyInjection\Configuration;
5
use PHPUnit\Framework\TestCase;
6
7
class ConfigutationTest extends TestCase
8
{
9
10
    /**
11
     * @covers Onurb\Bundle\YumlBundle\DependencyInjection\Configuration
12
     */
13
    public function testIsInstanceOf()
14
    {
15
        $configuration = new Configuration();
16
        $this->assertInstanceOf("Symfony\\Component\\Config\\Definition\\ConfigurationInterface", $configuration);
17
    }
18
19
    /**
20
     * @covers Onurb\Bundle\YumlBundle\DependencyInjection\Configuration
21
     */
22
    public function testGetConfigBuilderInstanceOf()
23
    {
24
        $configuration = new Configuration();
25
        $return = $configuration->getConfigTreeBuilder();
26
        $this->assertInstanceOf('Symfony\\Component\\Config\\Definition\\Builder\\TreeBuilder', $return);
27
    }
28
}
29