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
Pull Request — master (#5)
by Cees-Jan
09:22
created

Build   A

Complexity

Total Complexity 17

Size/Duplication

Total Lines 223
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 17
lcom 0
cbo 1
dl 0
loc 223
rs 10
c 0
b 0
f 0

17 Methods

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