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.

Configuration   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 49
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Test Coverage

Coverage 100%

Importance

Changes 2
Bugs 2 Features 0
Metric Value
wmc 1
c 2
b 2
f 0
lcom 0
cbo 3
dl 0
loc 49
ccs 38
cts 38
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
B getConfigTreeBuilder() 0 43 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 23
    public function getConfigTreeBuilder()
20
    {
21 23
        $treeBuilder = new TreeBuilder();
22 23
        $rootNode = $treeBuilder->root('onurb_yuml');
23
24
        $rootNode
25 23
            ->children()
26 23
                ->booleanNode('yuml_show_fields_description')
27 23
                    ->info('Set true to show fields properties in graph')
28 23
                    ->defaultTrue()
29 23
                ->end()
30 23
                ->arrayNode('yuml_colors')
31 23
                    ->prototype('array')
32 23
                        ->children()
33 23
                        ->end()
34 23
                    ->end()
35 23
                ->end()
36 23
                ->arrayNode('yuml_notes')
37 23
                    ->prototype('array')
38 23
                        ->children()
39 23
                        ->end()
40 23
                    ->end()
41 23
                ->end()
42 23
                ->enumNode('yuml_extension')
43 23
                    ->values(array('png', 'jpg', 'svg', 'pdf', 'json'))
44 23
                    ->defaultValue('png')
45 23
                ->end()
46 23
                ->enumNode('yuml_style')
47 23
                    ->values(array('plain', 'boring', 'scruffy'))
48 23
                    ->defaultValue('plain')
49 23
                ->end()
50 23
                ->enumNode('yuml_direction')
51 23
                    ->values(array('LR', 'TB', 'RL'))
52 23
                    ->defaultValue('TB')
53 23
                ->end()
54 23
                ->enumNode('yuml_scale')
55 23
                    ->values(array('huge', 'big', 'normal', 'small', 'tiny'))
56 23
                    ->defaultValue('normal')
57 23
                ->end()
58 23
            ->end();
59
60 23
        return $treeBuilder;
61
    }
62
}
63