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::getConfigTreeBuilder()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 23
Code Lines 19

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 23
ccs 0
cts 21
cp 0
rs 9.0857
cc 1
eloc 19
nc 1
nop 0
crap 2
1
<?php
2
3
namespace Lightmaker\DynamoSessionHandlerBundle\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
    /**
11
     * {@inheritDoc}
12
     */
13
    public function getConfigTreeBuilder()
14
    {
15
        $treeBuilder = new TreeBuilder();
16
        $rootNode    = $treeBuilder->root('lightmaker_dynamo_session_handler');
17
18
        $rootNode
19
            ->children()
20
                ->scalarNode('table_name')->end()
21
                ->scalarNode('hash_key')->end()
22
                ->scalarNode('session_lifetime')->end()
23
                ->booleanNode('consistent_read')->end()
24
                ->scalarNode('locking_strategy')->end()
25
                ->booleanNode('automatic_gc')->end()
26
                ->scalarNode('gc_batch_size')->end()
27
                ->scalarNode('gc_batch_size')->end()
28
                ->scalarNode('gc_operation_delay')->end()
29
                ->scalarNode('max_lock_wait_time')->end()
30
                ->scalarNode('min_lock_retry_microtime')->end()
31
                ->scalarNode('max_lock_retry_microtime')->end()
32
            ->end();
33
34
        return $treeBuilder;
35
    }
36
37
}
38