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 ( 6362ac...a2f93c )
by
unknown
10:45
created

Configuration::getConfigTreeBuilder()   B

Complexity

Conditions 1
Paths 1

Size

Total Lines 24
Code Lines 20

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 24
c 0
b 0
f 0
ccs 0
cts 22
cp 0
rs 8.9713
cc 1
eloc 20
nc 1
nop 0
crap 2
1
<?php
2
3
namespace CrossKnowledge\DeviceDetectBundle\DependencyInjection;
4
5
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
6
use Symfony\Component\Config\Definition\ConfigurationInterface;
7
8
class Configuration implements ConfigurationInterface
9
{
10
    public function getConfigTreeBuilder()
11
    {
12
        $treeBuilder = new TreeBuilder();
13
        $rootNode = $treeBuilder->root('cross_knowledge_device_detect');
14
15
        $rootNode
16
            ->children()
17
                ->scalarNode('cache_manager')->info('The service name that will handle caching (must implement Doctrine\Common\Cache\CacheProvider))')
18
                ->end()
19
                ->arrayNode('device_detector_options')
20
                    ->info("Available options are discard_bot_information and skip_bot_detection which are booleans")
21
                        ->children()
22
                            ->booleanNode('discard_bot_information')
23
                                ->defaultTrue()
24
                            ->end()
25
                            ->booleanNode('skip_bot_detection')
26
                                ->defaultTrue()
27
                            ->end()
28
                        ->end()
29
                ->end()
30
            ->end();
31
32
        return $treeBuilder;
33
    }
34
}
35