1
|
|
|
<?php declare(strict_types=1); |
2
|
|
|
|
3
|
|
|
namespace ApiClients\Client\Github\Resource\Repository; |
4
|
|
|
|
5
|
|
|
use ApiClients\Foundation\Resource\EmptyResourceInterface; |
6
|
|
|
use DateTimeInterface; |
7
|
|
|
|
8
|
|
|
abstract class EmptyPullRequest implements PullRequestInterface, EmptyResourceInterface |
9
|
|
|
{ |
10
|
|
|
/** |
11
|
|
|
* @return string |
12
|
|
|
*/ |
13
|
|
|
public function url(): string |
14
|
|
|
{ |
15
|
|
|
return null; |
16
|
|
|
} |
17
|
|
|
|
18
|
|
|
/** |
19
|
|
|
* @return int |
20
|
|
|
*/ |
21
|
|
|
public function id(): int |
22
|
|
|
{ |
23
|
|
|
return null; |
24
|
|
|
} |
25
|
|
|
|
26
|
|
|
/** |
27
|
|
|
* @return string |
28
|
|
|
*/ |
29
|
|
|
public function htmlUrl(): string |
30
|
|
|
{ |
31
|
|
|
return null; |
32
|
|
|
} |
33
|
|
|
|
34
|
|
|
/** |
35
|
|
|
* @return int |
36
|
|
|
*/ |
37
|
|
|
public function number(): int |
38
|
|
|
{ |
39
|
|
|
return null; |
40
|
|
|
} |
41
|
|
|
|
42
|
|
|
/** |
43
|
|
|
* @return string |
44
|
|
|
*/ |
45
|
|
|
public function state(): string |
46
|
|
|
{ |
47
|
|
|
return null; |
48
|
|
|
} |
49
|
|
|
|
50
|
|
|
/** |
51
|
|
|
* @return bool |
52
|
|
|
*/ |
53
|
|
|
public function locked(): bool |
54
|
|
|
{ |
55
|
|
|
return null; |
56
|
|
|
} |
57
|
|
|
|
58
|
|
|
/** |
59
|
|
|
* @return string |
60
|
|
|
*/ |
61
|
|
|
public function title(): string |
62
|
|
|
{ |
63
|
|
|
return null; |
64
|
|
|
} |
65
|
|
|
|
66
|
|
|
/** |
67
|
|
|
* @return User |
68
|
|
|
*/ |
69
|
|
|
public function user(): User |
70
|
|
|
{ |
71
|
|
|
return null; |
72
|
|
|
} |
73
|
|
|
|
74
|
|
|
/** |
75
|
|
|
* @return string |
76
|
|
|
*/ |
77
|
|
|
public function body(): string |
78
|
|
|
{ |
79
|
|
|
return null; |
80
|
|
|
} |
81
|
|
|
|
82
|
|
|
/** |
83
|
|
|
* @return Label |
84
|
|
|
*/ |
85
|
|
|
public function labels(): Label |
86
|
|
|
{ |
87
|
|
|
return null; |
88
|
|
|
} |
89
|
|
|
|
90
|
|
|
/** |
91
|
|
|
* @return Repository\Milestone |
92
|
|
|
*/ |
93
|
|
|
public function milestone(): Repository\Milestone |
94
|
|
|
{ |
95
|
|
|
return null; |
96
|
|
|
} |
97
|
|
|
|
98
|
|
|
/** |
99
|
|
|
* @return string |
100
|
|
|
*/ |
101
|
|
|
public function activeLockReason(): string |
102
|
|
|
{ |
103
|
|
|
return null; |
104
|
|
|
} |
105
|
|
|
|
106
|
|
|
/** |
107
|
|
|
* @return DateTimeInterface |
108
|
|
|
*/ |
109
|
|
|
public function createdAt(): DateTimeInterface |
110
|
|
|
{ |
111
|
|
|
return null; |
112
|
|
|
} |
113
|
|
|
|
114
|
|
|
/** |
115
|
|
|
* @return DateTimeInterface |
116
|
|
|
*/ |
117
|
|
|
public function updatedAt(): DateTimeInterface |
118
|
|
|
{ |
119
|
|
|
return null; |
120
|
|
|
} |
121
|
|
|
|
122
|
|
|
/** |
123
|
|
|
* @return DateTimeInterface |
124
|
|
|
*/ |
125
|
|
|
public function closedAt(): DateTimeInterface |
126
|
|
|
{ |
127
|
|
|
return null; |
128
|
|
|
} |
129
|
|
|
|
130
|
|
|
/** |
131
|
|
|
* @return DateTimeInterface |
132
|
|
|
*/ |
133
|
|
|
public function mergedAt(): DateTimeInterface |
134
|
|
|
{ |
135
|
|
|
return null; |
136
|
|
|
} |
137
|
|
|
|
138
|
|
|
/** |
139
|
|
|
* @return string |
140
|
|
|
*/ |
141
|
|
|
public function mergeCommitSha(): string |
142
|
|
|
{ |
143
|
|
|
return null; |
144
|
|
|
} |
145
|
|
|
|
146
|
|
|
/** |
147
|
|
|
* @return User |
148
|
|
|
*/ |
149
|
|
|
public function assignee(): User |
150
|
|
|
{ |
151
|
|
|
return null; |
152
|
|
|
} |
153
|
|
|
|
154
|
|
|
/** |
155
|
|
|
* @return User |
156
|
|
|
*/ |
157
|
|
|
public function assignees(): User |
158
|
|
|
{ |
159
|
|
|
return null; |
160
|
|
|
} |
161
|
|
|
|
162
|
|
|
/** |
163
|
|
|
* @return User |
164
|
|
|
*/ |
165
|
|
|
public function requestedReviewers(): User |
166
|
|
|
{ |
167
|
|
|
return null; |
168
|
|
|
} |
169
|
|
|
|
170
|
|
|
/** |
171
|
|
|
* @return Repository\PullRequest\Rb |
172
|
|
|
*/ |
173
|
|
|
public function head(): Repository\PullRequest\Rb |
174
|
|
|
{ |
175
|
|
|
return null; |
176
|
|
|
} |
177
|
|
|
|
178
|
|
|
/** |
179
|
|
|
* @return Repository\PullRequest\Rb |
180
|
|
|
*/ |
181
|
|
|
public function base(): Repository\PullRequest\Rb |
182
|
|
|
{ |
183
|
|
|
return null; |
184
|
|
|
} |
185
|
|
|
|
186
|
|
|
/** |
187
|
|
|
* @return string |
188
|
|
|
*/ |
189
|
|
|
public function authorAssociation(): string |
190
|
|
|
{ |
191
|
|
|
return null; |
192
|
|
|
} |
193
|
|
|
|
194
|
|
|
/** |
195
|
|
|
* @return bool |
196
|
|
|
*/ |
197
|
|
|
public function draft(): bool |
198
|
|
|
{ |
199
|
|
|
return null; |
200
|
|
|
} |
201
|
|
|
|
202
|
|
|
/** |
203
|
|
|
* @return bool |
204
|
|
|
*/ |
205
|
|
|
public function merged(): bool |
206
|
|
|
{ |
207
|
|
|
return null; |
208
|
|
|
} |
209
|
|
|
|
210
|
|
|
/** |
211
|
|
|
* @return bool |
212
|
|
|
*/ |
213
|
|
|
public function mergeable(): bool |
214
|
|
|
{ |
215
|
|
|
return null; |
216
|
|
|
} |
217
|
|
|
|
218
|
|
|
/** |
219
|
|
|
* @return bool |
220
|
|
|
*/ |
221
|
|
|
public function rebaseable(): bool |
222
|
|
|
{ |
223
|
|
|
return null; |
224
|
|
|
} |
225
|
|
|
|
226
|
|
|
/** |
227
|
|
|
* @return string |
228
|
|
|
*/ |
229
|
|
|
public function mergeableState(): string |
230
|
|
|
{ |
231
|
|
|
return null; |
232
|
|
|
} |
233
|
|
|
|
234
|
|
|
/** |
235
|
|
|
* @return User |
236
|
|
|
*/ |
237
|
|
|
public function mergedBy(): User |
238
|
|
|
{ |
239
|
|
|
return null; |
240
|
|
|
} |
241
|
|
|
|
242
|
|
|
/** |
243
|
|
|
* @return int |
244
|
|
|
*/ |
245
|
|
|
public function comments(): int |
246
|
|
|
{ |
247
|
|
|
return null; |
248
|
|
|
} |
249
|
|
|
|
250
|
|
|
/** |
251
|
|
|
* @return int |
252
|
|
|
*/ |
253
|
|
|
public function reviewComments(): int |
254
|
|
|
{ |
255
|
|
|
return null; |
256
|
|
|
} |
257
|
|
|
|
258
|
|
|
/** |
259
|
|
|
* @return bool |
260
|
|
|
*/ |
261
|
|
|
public function maintainerCanModify(): bool |
262
|
|
|
{ |
263
|
|
|
return null; |
264
|
|
|
} |
265
|
|
|
|
266
|
|
|
/** |
267
|
|
|
* @return int |
268
|
|
|
*/ |
269
|
|
|
public function commits(): int |
270
|
|
|
{ |
271
|
|
|
return null; |
272
|
|
|
} |
273
|
|
|
|
274
|
|
|
/** |
275
|
|
|
* @return int |
276
|
|
|
*/ |
277
|
|
|
public function additions(): int |
278
|
|
|
{ |
279
|
|
|
return null; |
280
|
|
|
} |
281
|
|
|
|
282
|
|
|
/** |
283
|
|
|
* @return int |
284
|
|
|
*/ |
285
|
|
|
public function deletions(): int |
286
|
|
|
{ |
287
|
|
|
return null; |
288
|
|
|
} |
289
|
|
|
|
290
|
|
|
/** |
291
|
|
|
* @return int |
292
|
|
|
*/ |
293
|
|
|
public function changedFiles(): int |
294
|
|
|
{ |
295
|
|
|
return null; |
296
|
|
|
} |
297
|
|
|
} |
298
|
|
|
|