1 | <?php |
||
5 | class ConfigurationDataResponse |
||
6 | { |
||
7 | /** |
||
8 | * @var bool |
||
9 | */ |
||
10 | private $composer; |
||
11 | /** |
||
12 | * @var bool |
||
13 | */ |
||
14 | private $jsonLint; |
||
15 | /** |
||
16 | * @var bool |
||
17 | */ |
||
18 | private $phpLint; |
||
19 | /** |
||
20 | * @var bool |
||
21 | */ |
||
22 | private $phpMd; |
||
23 | /** |
||
24 | * @var bool |
||
25 | */ |
||
26 | private $phpCs; |
||
27 | /** |
||
28 | * @var null|string |
||
29 | */ |
||
30 | private $phpCsStandard; |
||
31 | /** |
||
32 | * @var bool |
||
33 | */ |
||
34 | private $phpCsFixer; |
||
35 | /** |
||
36 | * @var bool |
||
37 | */ |
||
38 | private $phpCsFixerPsr0; |
||
39 | /** |
||
40 | * @var bool |
||
41 | */ |
||
42 | private $phpCsFixerPsr1; |
||
43 | /** |
||
44 | * @var bool |
||
45 | */ |
||
46 | private $phpCsFixerPsr2; |
||
47 | /** |
||
48 | * @var bool |
||
49 | */ |
||
50 | private $phpCsFixerSymfony; |
||
51 | /** |
||
52 | * @var bool |
||
53 | */ |
||
54 | private $phpunit; |
||
55 | /** |
||
56 | * @var bool |
||
57 | */ |
||
58 | private $phpunitRandomMode; |
||
59 | /** |
||
60 | * @var null|string |
||
61 | */ |
||
62 | private $phpunitOptions; |
||
63 | /** |
||
64 | * @var bool |
||
65 | */ |
||
66 | private $preCommit; |
||
67 | /** |
||
68 | * @var bool |
||
69 | */ |
||
70 | private $commitMsg; |
||
71 | /** |
||
72 | * @var null|string |
||
73 | */ |
||
74 | private $regularExpression; |
||
75 | /** |
||
76 | * @var null|string |
||
77 | */ |
||
78 | private $rightMessage; |
||
79 | /** |
||
80 | * @var null|string |
||
81 | */ |
||
82 | private $errorMessage; |
||
83 | /** |
||
84 | * @var bool |
||
85 | */ |
||
86 | private $prePush; |
||
87 | /** |
||
88 | * @var bool |
||
89 | */ |
||
90 | private $prePushPhpUnit; |
||
91 | /** |
||
92 | * @var bool |
||
93 | */ |
||
94 | private $prePushPhpUnitRandom; |
||
95 | /** |
||
96 | * @var null|string |
||
97 | */ |
||
98 | private $prePushPhpUnitOptions; |
||
99 | private $prePushRightMessage; |
||
100 | private $prePushErrorMessage; |
||
101 | |||
102 | /** |
||
103 | * ConfigurationDataResponse constructor. |
||
104 | * |
||
105 | * @param bool $preCommit |
||
106 | * @param string|null $rightMessage |
||
107 | * @param string|null $errorMessage |
||
108 | * @param bool $composer |
||
109 | * @param bool $jsonLint |
||
110 | * @param bool $phpLint |
||
111 | * @param bool $phpMd |
||
112 | * @param bool $phpCs |
||
113 | * @param string|null $phpCsStandard |
||
114 | * @param bool $phpCsFixer |
||
115 | * @param bool $phpCsFixerPsr0 |
||
116 | * @param bool $phpCsFixerPsr1 |
||
117 | * @param bool $phpCsFixerPsr2 |
||
118 | * @param bool $phpCsFixerSymfony |
||
119 | * @param bool $phpunit |
||
120 | * @param bool $phpunitRandomMode |
||
121 | * @param string|null $phpunitOptions |
||
122 | * @param bool $commitMsg |
||
123 | * @param string|null $regularExpression |
||
124 | * @param bool $prePush |
||
125 | * @param bool $prePushPhpUnit |
||
126 | * @param bool $prePushPhpUnitRandom |
||
127 | * @param string|null $prePushPhpUnitOptions |
||
128 | * @param string $prePushRightMessage |
||
129 | * @param string $prePushErrorMessage |
||
130 | */ |
||
131 | 10 | public function __construct( |
|
184 | |||
185 | /** |
||
186 | * @return bool |
||
187 | */ |
||
188 | 2 | public function isComposer() |
|
192 | |||
193 | /** |
||
194 | * @return bool |
||
195 | */ |
||
196 | 2 | public function isJsonLint() |
|
200 | |||
201 | /** |
||
202 | * @return bool |
||
203 | */ |
||
204 | 2 | public function isPhpLint() |
|
208 | |||
209 | /** |
||
210 | * @return bool |
||
211 | */ |
||
212 | 2 | public function isPhpMd() |
|
216 | |||
217 | /** |
||
218 | * @return null|string |
||
219 | */ |
||
220 | 2 | public function getRightMessage() |
|
224 | |||
225 | /** |
||
226 | * @return null|string |
||
227 | */ |
||
228 | 5 | public function getErrorMessage() |
|
232 | |||
233 | /** |
||
234 | * @return bool |
||
235 | */ |
||
236 | 2 | public function isPhpCs() |
|
240 | |||
241 | /** |
||
242 | * @return null|string |
||
243 | */ |
||
244 | 2 | public function getPhpCsStandard() |
|
248 | |||
249 | /** |
||
250 | * @return bool |
||
251 | */ |
||
252 | 2 | public function isPhpCsFixer() |
|
256 | |||
257 | /** |
||
258 | * @return bool |
||
259 | */ |
||
260 | 5 | public function isPhpCsFixerPsr0() |
|
264 | |||
265 | /** |
||
266 | * @return bool |
||
267 | */ |
||
268 | 5 | public function isPhpCsFixerPsr1() |
|
272 | |||
273 | /** |
||
274 | * @return bool |
||
275 | */ |
||
276 | 5 | public function isPhpCsFixerPsr2() |
|
280 | |||
281 | /** |
||
282 | * @return bool |
||
283 | */ |
||
284 | 5 | public function isPhpCsFixerSymfony() |
|
288 | |||
289 | /** |
||
290 | * @return bool |
||
291 | */ |
||
292 | 2 | public function isPhpunit() |
|
296 | |||
297 | /** |
||
298 | * @return bool |
||
299 | */ |
||
300 | 2 | public function isPhpunitRandomMode() |
|
304 | |||
305 | /** |
||
306 | * @return null|string |
||
307 | */ |
||
308 | 2 | public function getPhpunitOptions() |
|
312 | |||
313 | /** |
||
314 | * @return bool |
||
315 | */ |
||
316 | 2 | public function isPreCommit() |
|
320 | |||
321 | /** |
||
322 | * @return bool |
||
323 | */ |
||
324 | 3 | public function isCommitMsg() |
|
328 | |||
329 | /** |
||
330 | * @return null|string |
||
331 | */ |
||
332 | 1 | public function getRegularExpression() |
|
336 | |||
337 | /** |
||
338 | * @return bool |
||
339 | */ |
||
340 | 3 | public function isPrePush() |
|
344 | |||
345 | /** |
||
346 | * @return bool |
||
347 | */ |
||
348 | 1 | public function isPrePushPhpUnit() |
|
352 | |||
353 | /** |
||
354 | * @return bool |
||
355 | */ |
||
356 | 1 | public function isPrePushPhpUnitRandom() |
|
360 | |||
361 | /** |
||
362 | * @return null|string |
||
363 | */ |
||
364 | 1 | public function getPrePushPhpUnitOptions() |
|
368 | |||
369 | /** |
||
370 | * @return string |
||
371 | */ |
||
372 | 1 | public function getPrePushRightMessage() |
|
376 | |||
377 | /** |
||
378 | * @return string |
||
379 | */ |
||
380 | 2 | public function getPrePushErrorMessage() |
|
384 | } |
||
385 |