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::getConfigTreeBuilder()   B

Complexity

Conditions 1
Paths 1

Size

Total Lines 27
Code Lines 23

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 22
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 27
ccs 22
cts 22
cp 1
rs 8.8571
c 0
b 0
f 0
cc 1
eloc 23
nc 1
nop 0
crap 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