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.
Test Failed
Push — master ( 659f53...df9043 )
by Peng
03:26
created

ReportBundle   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 34
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 34
rs 10
c 0
b 0
f 0
wmc 4

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getContainerExtensionClass() 0 3 1
A getPath() 0 3 1
A getContainerExtension() 0 7 2
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
    public function getPath()
24
    {
25
        return __DIR__;
26
    }
27
28
    /**
29
     * @return ExtensionInterface
30
     */
31
    public function getContainerExtension()
32
    {
33
        if ($this->extension === null) {
34
            $this->extension = new ApiExtension();
35
        }
36
37
        return $this->extension;
38
    }
39
40
    /**
41
     * @return string
42
     */
43
    public function getContainerExtensionClass()
44
    {
45
        return ApiExtension::class;
46
    }
47
48
}
49