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   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 29
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 29
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getConfigTreeBuilder() 0 23 1
1
<?php
2
3
namespace Octante\UpsAPIBundle\DependencyInjection;
4
5
/*
6
 * This file is part of the UpsAPIBundle package.
7
 *
8
 * (c) Issel Guberna <[email protected]>
9
 *
10
 * For the full copyright and license information, please view the LICENSE
11
 * file that was distributed with this source code.
12
 */
13
14
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
15
use Symfony\Component\Config\Definition\ConfigurationInterface;
16
17
class Configuration implements ConfigurationInterface
18
{
19
    /**
20
     * @return TreeBuilder
21
     */
22
    public function getConfigTreeBuilder()
23
    {
24
        /*    $treeBuilder = new TreeBuilder();
0 ignored issues
show
Unused Code Comprehensibility introduced by
63% of this comment could be valid code. Did you maybe forget this after debugging?

Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.

The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.

This check looks for comments that seem to be mostly valid code and reports them.

Loading history...
25
        $rootNode = $treeBuilder->root('ups');
26
27
        $rootNode
28
            ->children()
29
                ->arrayNode('endpoints')
30
                    ->prototype('array')
31
                        ->children()
32
                            ->scalarNode('rate')->end()
33
                            ->scalarNode('shipping')->end()
34
                            ->scalarNode('track')->end()
35
                        ->end()
36
                    ->end()
37
                ->end()
38
                ->scalarNode('accesskey')->end()
39
                ->scalarNode('userId')->end()
40
                ->scalarNode('password')->end()
41
            ->end();
42
43
        return $treeBuilder;*/
44
    }
45
}
46