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 ( 71bc82...cca406 )
by
unknown
02:02
created

Configuration   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 27
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 27
ccs 19
cts 19
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
B getConfigTreeBuilder() 0 24 1
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 2
    public function getConfigTreeBuilder()
11
    {
12 2
        $treeBuilder = new TreeBuilder();
13 2
        $rootNode = $treeBuilder->root('cross_knowledge_device_detect');
14
15
        $rootNode
16 2
            ->children()
17 2
                ->scalarNode('cache_manager')->info('The service name that will handle caching (must implement Doctrine\Common\Cache\CacheProvider))')
18 2
                ->end()
19 2
                ->arrayNode('device_detector_options')
20 2
                    ->info("Available options are discard_bot_information and skip_bot_detection which are booleans")
21 2
                        ->children()
22 2
                            ->booleanNode('discard_bot_information')
23 2
                                ->defaultTrue()
24 2
                            ->end()
25 2
                            ->booleanNode('skip_bot_detection')
26 2
                                ->defaultTrue()
27 2
                            ->end()
28 2
                        ->end()
29 2
                ->end()
30 2
            ->end();
31
32 2
        return $treeBuilder;
33
    }
34
}
35