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 ( 588993...886570 )
by Cees-Jan
08:02
created

Repository::name()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
crap 2
1
<?php declare(strict_types=1);
2
3
namespace ApiClients\Client\Scrutinizer\Resource;
4
5
use ApiClients\Foundation\Hydrator\Annotation\EmptyResource;
6
use ApiClients\Foundation\Resource\AbstractResource;
7
8
/**
9
 * @EmptyResource("EmptyRepository")
10
 */
11
abstract class Repository extends AbstractResource implements RepositoryInterface
12
{
13
    /**
14
     * @var string
15
     */
16
    protected $type;
17
18
    /**
19
     * @var bool
20
     */
21
    protected $private;
22
23
    /**
24
     * @var string
25
     */
26
    protected $default_branch;
27
28
    /**
29
     * @var array
30
     */
31
    protected $applications;
32
33
    /**
34
     * @var array
35
     */
36
    protected $development_report_settings;
37
38
    /**
39
     * @var array
40
     */
41
    protected $branch_settings;
42
43
    /**
44
     * @var string
45
     */
46
    protected $login;
47
48
    /**
49
     * @var string
50
     */
51
    protected $name;
52
53
    /**
54
     * @return string
55
     */
56
    public function type(): string
57
    {
58
        return $this->type;
59
    }
60
61
    /**
62
     * @return bool
63
     */
64
    public function private(): bool
65
    {
66
        return $this->private;
67
    }
68
69
    /**
70
     * @return string
71
     */
72
    public function defaultBranch(): string
73
    {
74
        return $this->default_branch;
75
    }
76
77
    /**
78
     * @return array
79
     */
80
    public function applications(): array
81
    {
82
        return $this->applications;
83
    }
84
85
    /**
86
     * @return array
87
     */
88
    public function developmentReportSettings(): array
89
    {
90
        return $this->development_report_settings;
91
    }
92
93
    /**
94
     * @return array
95
     */
96
    public function branchSettings(): array
97
    {
98
        return $this->branch_settings;
99
    }
100
101
    /**
102
     * @return string
103
     */
104
    public function login(): string
105
    {
106
        return $this->login;
107
    }
108
109
    /**
110
     * @return string
111
     */
112
    public function name(): string
113
    {
114
        return $this->name;
115
    }
116
}
117