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 ( 4f765f...c28567 )
by Cees-Jan
13s
created

Build::jobs()   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 2
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\AppVeyor\Resource;
4
5
use ApiClients\Foundation\Hydrator\Annotation\Collection;
6
use ApiClients\Foundation\Hydrator\Annotation\EmptyResource;
7
use ApiClients\Foundation\Resource\AbstractResource;
8
use DateTimeInterface;
9
10
/**
11
 * @Collection(
12
 *     jobs="Job"
13
 * )
14
 * @EmptyResource("EmptyBuild")
15
 */
16
abstract class Build extends AbstractResource implements BuildInterface
17
{
18
    /**
19
     * @var int
20
     */
21
    protected $buildId;
22
23
    /**
24
     * @var array
25
     */
26
    protected $jobs;
27
28
    /**
29
     * @var int
30
     */
31
    protected $buildNumber;
32
33
    /**
34
     * @var string
35
     */
36
    protected $version;
37
38
    /**
39
     * @var string
40
     */
41
    protected $message;
42
43
    /**
44
     * @var string
45
     */
46
    protected $branch;
47
48
    /**
49
     * @var string
50
     */
51
    protected $commitId;
52
53
    /**
54
     * @var string
55
     */
56
    protected $authorName;
57
58
    /**
59
     * @var string
60
     */
61
    protected $authorUserName;
62
63
    /**
64
     * @var string
65
     */
66
    protected $comitterName;
67
68
    /**
69
     * @var string
70
     */
71
    protected $comitterUserName;
72
73
    /**
74
     * @var DateTimeInterface
75
     */
76
    protected $comitted;
77
78
    /**
79
     * @var array
80
     */
81
    protected $messages;
82
83
    /**
84
     * @var string
85
     */
86
    protected $status;
87
88
    /**
89
     * @var DateTimeInterface
90
     */
91
    protected $started;
92
93
    /**
94
     * @var DateTimeInterface
95
     */
96
    protected $finished;
97
98
    /**
99
     * @var DateTimeInterface
100
     */
101
    protected $created;
102
103
    /**
104
     * @var DateTimeInterface
105
     */
106
    protected $updated;
107
108
    /**
109
     * @return int
110
     */
111 4
    public function buildId(): int
112
    {
113 4
        return $this->buildId;
114
    }
115
116
    /**
117
     * @return array
118
     */
119
    public function jobs(): array
120
    {
121
        return $this->jobs;
122
    }
123
124
    /**
125
     * @return int
126
     */
127 4
    public function buildNumber(): int
128
    {
129 4
        return $this->buildNumber;
130
    }
131
132
    /**
133
     * @return string
134
     */
135 4
    public function version(): string
136
    {
137 4
        return $this->version;
138
    }
139
140
    /**
141
     * @return string
142
     */
143 4
    public function message(): string
144
    {
145 4
        return $this->message;
146
    }
147
148
    /**
149
     * @return string
150
     */
151 4
    public function branch(): string
152
    {
153 4
        return $this->branch;
154
    }
155
156
    /**
157
     * @return string
158
     */
159 4
    public function commitId(): string
160
    {
161 4
        return $this->commitId;
162
    }
163
164
    /**
165
     * @return string
166
     */
167 4
    public function authorName(): string
168
    {
169 4
        return $this->authorName;
170
    }
171
172
    /**
173
     * @return string
174
     */
175 4
    public function authorUserName(): string
176
    {
177 4
        return $this->authorUserName;
178
    }
179
180
    /**
181
     * @return string
182
     */
183 4
    public function comitterName(): string
184
    {
185 4
        return $this->comitterName;
186
    }
187
188
    /**
189
     * @return string
190
     */
191 4
    public function comitterUserName(): string
192
    {
193 4
        return $this->comitterUserName;
194
    }
195
196
    /**
197
     * @return DateTimeInterface
198
     */
199
    public function comitted(): DateTimeInterface
200
    {
201
        return $this->comitted;
202
    }
203
204
    /**
205
     * @return array
206
     */
207
    public function messages(): array
208
    {
209
        return $this->messages;
210
    }
211
212
    /**
213
     * @return string
214
     */
215 4
    public function status(): string
216
    {
217 4
        return $this->status;
218
    }
219
220
    /**
221
     * @return DateTimeInterface
222
     */
223
    public function started(): DateTimeInterface
224
    {
225
        return $this->started;
226
    }
227
228
    /**
229
     * @return DateTimeInterface
230
     */
231
    public function finished(): DateTimeInterface
232
    {
233
        return $this->finished;
234
    }
235
236
    /**
237
     * @return DateTimeInterface
238
     */
239
    public function created(): DateTimeInterface
240
    {
241
        return $this->created;
242
    }
243
244
    /**
245
     * @return DateTimeInterface
246
     */
247
    public function updated(): DateTimeInterface
248
    {
249
        return $this->updated;
250
    }
251
}
252