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 ( 818eaf...3018e0 )
by Théo
63:12 queued 28:11
created

Configuration::getConfigTreeBuilder()   B

Complexity

Conditions 1
Paths 1

Size

Total Lines 24
Code Lines 18

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 18
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 24
rs 8.9713
c 0
b 0
f 0
ccs 18
cts 18
cp 1
cc 1
eloc 18
nc 1
nop 0
crap 1
1
<?php
2
3
/*
4
 * This file is part of the Hautelook\AliceBundle package.
5
 *
6
 * (c) Baldur Rensch <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Hautelook\AliceBundle\DependencyInjection;
13
14
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
15
use Symfony\Component\Config\Definition\ConfigurationInterface;
16
17
/**
18
 * @private
19
 *
20
 * @author Baldur Rensch <[email protected]>
21
 * @author Théo FIDRY <[email protected]>
22
 */
23
final class Configuration implements ConfigurationInterface
24
{
25
    /**
26
     * {@inheritdoc}
27
     */
28
    public function getConfigTreeBuilder()
29
    {
30
        $treeBuilder = new TreeBuilder();
31 30
        $rootNode = $treeBuilder->root('hautelook_alice');
32
33 30
        $rootNode
34 30
            ->children()
35
                ->scalarNode('fixtures_path')
36
                    ->defaultValue('Resources/fixtures')
37 30
                    ->info('Path to which to look for fixtures relative to the bundle/root directory paths.')
38 30
                ->end()
39 30
                ->arrayNode('root_dirs')
40 30
                    ->info('List of root directories into which to look for the fixtures.')
41 30
                    ->defaultValue([
42 30
                        '%kernel.root_dir%',
43 30
                        '%kernel.project_dir%',
44 30
                    ])
45 30
                    ->scalarPrototype()
46 30
                ->end()
47 30
            ->end()
48 30
        ;
49 30
50 30
        return $treeBuilder;
51 30
    }
52
}
53