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.

Project::name()   A
last analyzed

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
c 0
b 0
f 0
dl 0
loc 4
ccs 0
cts 4
cp 0
rs 10
cc 1
eloc 2
nc 1
nop 0
crap 2
1
<?php
2
declare(strict_types=1);
3
4
namespace WyriHaximus\AppVeyor\Resource;
5
6
use DateTimeInterface;
7
use WyriHaximus\ApiClient\Resource\TransportAwareTrait;
8
9
abstract class Project implements ProjectInterface
10
{
11
    use TransportAwareTrait;
12
13
    protected $projectId;
14
15
    protected $accountId;
16
17
    protected $accountName;
18
19
    protected $builds;
20
21
    protected $name;
22
23
    protected $slug;
24
25
    protected $repositoryType;
26
27
    protected $repositoryScm;
28
29
    protected $repositoryName;
30
31
    protected $repositoryBranch;
32
33
    protected $isPrivate;
34
35
    protected $skipBranchesWithoutAppveyorYml;
36
37
    protected $enableSecureVariablesInPullRequests;
38
39
    protected $enableDeploymentInPullRequests;
40
41
    protected $rollingBuilds;
42
43
    protected $alwaysBuildClosedPullRequests;
44
45
    protected $nuGetFeed;
46
47
    protected $securityDescriptor;
48
49
    protected $created;
50
51
    protected $updated;
52
53
    public function projectId() : int
54
    {
55
        return $this->projectId;
56
    }
57
58
    public function accountId() : int
59
    {
60
        return $this->accountId;
61
    }
62
63
    public function accountName() : int
64
    {
65
        return $this->accountName;
66
    }
67
68
    public function builds() : array
69
    {
70
        return $this->builds;
71
    }
72
73
    public function name() : string
74
    {
75
        return $this->name;
76
    }
77
78
    public function slug() : string
79
    {
80
        return $this->slug;
81
    }
82
83
    public function repositoryType() : string
84
    {
85
        return $this->repositoryType;
86
    }
87
88
    public function repositoryScm() : string
89
    {
90
        return $this->repositoryScm;
91
    }
92
93
    public function repositoryName() : string
94
    {
95
        return $this->repositoryName;
96
    }
97
98
    public function repositoryBranch() : string
99
    {
100
        return $this->repositoryBranch;
101
    }
102
103
    public function isPrivate() : bool
104
    {
105
        return $this->isPrivate;
106
    }
107
108
    public function skipBranchesWithoutAppveyorYml() : bool
109
    {
110
        return $this->skipBranchesWithoutAppveyorYml;
111
    }
112
113
    public function enableSecureVariablesInPullRequests() : bool
114
    {
115
        return $this->enableSecureVariablesInPullRequests;
116
    }
117
118
    public function enableDeploymentInPullRequests() : bool
119
    {
120
        return $this->enableDeploymentInPullRequests;
121
    }
122
123
    public function rollingBuilds() : bool
124
    {
125
        return $this->rollingBuilds;
126
    }
127
128
    public function alwaysBuildClosedPullRequests() : bool
129
    {
130
        return $this->alwaysBuildClosedPullRequests;
131
    }
132
133
    public function nuGetFeed() : array
134
    {
135
        return $this->nuGetFeed;
136
    }
137
138
    public function securityDescriptor() : array
139
    {
140
        return $this->securityDescriptor;
141
    }
142
143
    public function created() : DateTimeInterface
144
    {
145
        return $this->created;
146
    }
147
148
    public function updated() : DateTimeInterface
149
    {
150
        return $this->updated;
151
    }
152
153
    public function refresh()
154
    {
155
        // To Do
156
    }
157
}
158