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.
Completed
Push — master ( 0165b3...f3e283 )
by Bruno
13:51
created

Configuration   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 33
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 3
dl 0
loc 33
ccs 22
cts 22
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
B getConfigTreeBuilder() 0 27 1
1
<?php
2
3
namespace Onurb\Bundle\YumlBundle\DependencyInjection;
4
5
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
6
use Symfony\Component\Config\Definition\ConfigurationInterface;
7
8
/**
9
 * This is the class that validates and merges configuration from your app/config files
10
 *
11
 * To learn more see
12
 * {@link http://symfony.com/doc/current/cookbook/bundles/extension.html#cookbook-bundles-extension-config-class}
13
 */
14
class Configuration implements ConfigurationInterface
15
{
16
    /**
17
     * {@inheritdoc}
18
     */
19 13
    public function getConfigTreeBuilder()
20
    {
21 13
        $treeBuilder = new TreeBuilder();
22 13
        $rootNode = $treeBuilder->root('onurb_yuml');
23
24
        $rootNode
25 13
            ->children()
26 13
                ->booleanNode('yuml_show_fields_description')
27 13
                    ->info('Set true to show fields properties in graph')
28 13
                    ->defaultFalse()
29 13
                ->end()
30 13
                ->arrayNode('yuml_colors')
31 13
                    ->prototype('array')
32 13
                        ->children()
33 13
                        ->end()
34 13
                    ->end()
35 13
                ->end()
36 13
                ->arrayNode('yuml_notes')
37 13
                    ->prototype('array')
38 13
                        ->children()
39 13
                        ->end()
40 13
                    ->end()
41 13
                ->end()
42 13
            ->end();
43
44 13
        return $treeBuilder;
45
    }
46
}
47