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 ( d9fbae...bd13f8 )
by Cees-Jan
02:06
created

Project::slug()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
crap 1
1
<?php declare(strict_types=1);
2
3
namespace ApiClients\Client\AppVeyor\Resource;
4
5
use ApiClients\Foundation\Hydrator\Annotation\EmptyResource;
6
use ApiClients\Foundation\Resource\AbstractResource;
7
use DateTimeInterface;
8
9
/**
10
 * @EmptyResource("EmptyProject")
11
 */
12
abstract class Project extends AbstractResource implements ProjectInterface
13
{
14
    /**
15
     * @var int
16
     */
17
    protected $projectId;
18
19
    /**
20
     * @var int
21
     */
22
    protected $accountId;
23
24
    /**
25
     * @var int
26
     */
27
    protected $accountName;
28
29
    /**
30
     * @var array
31
     */
32
    protected $builds;
33
34
    /**
35
     * @var string
36
     */
37
    protected $name;
38
39
    /**
40
     * @var string
41
     */
42
    protected $slug;
43
44
    /**
45
     * @var string
46
     */
47
    protected $repositoryType;
48
49
    /**
50
     * @var string
51
     */
52
    protected $repositoryScm;
53
54
    /**
55
     * @var string
56
     */
57
    protected $repositoryName;
58
59
    /**
60
     * @var string
61
     */
62
    protected $repositoryBranch;
63
64
    /**
65
     * @var bool
66
     */
67
    protected $isPrivate;
68
69
    /**
70
     * @var bool
71
     */
72
    protected $skipBranchesWithoutAppveyorYml;
73
74
    /**
75
     * @var bool
76
     */
77
    protected $enableSecureVariablesInPullRequests;
78
79
    /**
80
     * @var bool
81
     */
82
    protected $enableDeploymentInPullRequests;
83
84
    /**
85
     * @var bool
86
     */
87
    protected $rollingBuilds;
88
89
    /**
90
     * @var bool
91
     */
92
    protected $alwaysBuildClosedPullRequests;
93
94
    /**
95
     * @var array
96
     */
97
    protected $nuGetFeed;
98
99
    /**
100
     * @var array
101
     */
102
    protected $securityDescriptor;
103
104
    /**
105
     * @var DateTimeInterface
106
     */
107
    protected $created;
108
109
    /**
110
     * @var DateTimeInterface
111
     */
112
    protected $updated;
113
114
    /**
115
     * @return int
116
     */
117 4
    public function projectId() : int
118
    {
119 4
        return $this->projectId;
120
    }
121
122
    /**
123
     * @return int
124
     */
125 4
    public function accountId() : int
126
    {
127 4
        return $this->accountId;
128
    }
129
130
    /**
131
     * @return int
132
     */
133 4
    public function accountName() : int
134
    {
135 4
        return $this->accountName;
136
    }
137
138
    /**
139
     * @return array
140
     */
141
    public function builds() : array
142
    {
143
        return $this->builds;
144
    }
145
146
    /**
147
     * @return string
148
     */
149 4
    public function name() : string
150
    {
151 4
        return $this->name;
152
    }
153
154
    /**
155
     * @return string
156
     */
157 4
    public function slug() : string
158
    {
159 4
        return $this->slug;
160
    }
161
162
    /**
163
     * @return string
164
     */
165 4
    public function repositoryType() : string
166
    {
167 4
        return $this->repositoryType;
168
    }
169
170
    /**
171
     * @return string
172
     */
173 4
    public function repositoryScm() : string
174
    {
175 4
        return $this->repositoryScm;
176
    }
177
178
    /**
179
     * @return string
180
     */
181 4
    public function repositoryName() : string
182
    {
183 4
        return $this->repositoryName;
184
    }
185
186
    /**
187
     * @return string
188
     */
189 4
    public function repositoryBranch() : string
190
    {
191 4
        return $this->repositoryBranch;
192
    }
193
194
    /**
195
     * @return bool
196
     */
197 4
    public function isPrivate() : bool
198
    {
199 4
        return $this->isPrivate;
200
    }
201
202
    /**
203
     * @return bool
204
     */
205 4
    public function skipBranchesWithoutAppveyorYml() : bool
206
    {
207 4
        return $this->skipBranchesWithoutAppveyorYml;
208
    }
209
210
    /**
211
     * @return bool
212
     */
213 4
    public function enableSecureVariablesInPullRequests() : bool
214
    {
215 4
        return $this->enableSecureVariablesInPullRequests;
216
    }
217
218
    /**
219
     * @return bool
220
     */
221 4
    public function enableDeploymentInPullRequests() : bool
222
    {
223 4
        return $this->enableDeploymentInPullRequests;
224
    }
225
226
    /**
227
     * @return bool
228
     */
229 4
    public function rollingBuilds() : bool
230
    {
231 4
        return $this->rollingBuilds;
232
    }
233
234
    /**
235
     * @return bool
236
     */
237 4
    public function alwaysBuildClosedPullRequests() : bool
238
    {
239 4
        return $this->alwaysBuildClosedPullRequests;
240
    }
241
242
    /**
243
     * @return array
244
     */
245
    public function nuGetFeed() : array
246
    {
247
        return $this->nuGetFeed;
248
    }
249
250
    /**
251
     * @return array
252
     */
253
    public function securityDescriptor() : array
254
    {
255
        return $this->securityDescriptor;
256
    }
257
258
    /**
259
     * @return DateTimeInterface
260
     */
261
    public function created() : DateTimeInterface
262
    {
263
        return $this->created;
264
    }
265
266
    /**
267
     * @return DateTimeInterface
268
     */
269
    public function updated() : DateTimeInterface
270
    {
271
        return $this->updated;
272
    }
273
}
274