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.

ReportBundle::getContainerExtension()   A
last analyzed

Complexity

Conditions 2
Paths 2

Size

Total Lines 7
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 4
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 2
eloc 3
c 1
b 0
f 0
nc 2
nop 0
dl 0
loc 7
ccs 4
cts 4
cp 1
crap 2
rs 10
1
<?php
2
3
namespace Awin\ReportTask\Bundle\ReportBundle;
4
5
use Awin\ReportTask\Bundle\ReportBundle\DependencyInjection\ApiExtension;
6
use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
7
use Symfony\Component\HttpKernel\Bundle\Bundle;
8
9
/**
10
 * The base class for the BaseReportBundle, it belongs to customized symfony framework
11
 */
12
class ReportBundle extends Bundle
13
{
14
15
    /**
16
     * @var string
17
     */
18
    protected $name = 'ReportBundle';
19
20
    /**
21
     * @return string
22
     */
23 1
    public function getPath()
24
    {
25 1
        return __DIR__;
26
    }
27
28
    /**
29
     * @return ExtensionInterface
30
     */
31 2
    public function getContainerExtension()
32
    {
33 2
        if ($this->extension === null) {
34 2
            $this->extension = new ApiExtension();
35
        }
36
37 2
        return $this->extension;
38
    }
39
40
    /**
41
     * @return string
42
     */
43 1
    public function getContainerExtensionClass()
44
    {
45 1
        return ApiExtension::class;
46
    }
47
48
}
49