@@ -27,6 +27,9 @@ discard block |
||
27 | 27 | */ |
28 | 28 | public $options; |
29 | 29 | |
30 | + /** |
|
31 | + * @param Options $options |
|
32 | + */ |
|
30 | 33 | public function __construct($options = null) |
31 | 34 | { |
32 | 35 | if ($options && !$options instanceof Options) { |
@@ -126,6 +129,9 @@ discard block |
||
126 | 129 | } |
127 | 130 | } |
128 | 131 | |
132 | + /** |
|
133 | + * @param ParsedClass $class |
|
134 | + */ |
|
129 | 135 | private function executableTests($path, $class) |
130 | 136 | { |
131 | 137 | $executableTests = []; |
@@ -167,6 +173,10 @@ discard block |
||
167 | 173 | return $batches; |
168 | 174 | } |
169 | 175 | |
176 | + /** |
|
177 | + * @param string $dependsOn |
|
178 | + * @param string[] $tests |
|
179 | + */ |
|
170 | 180 | private function addDependentTestsToBatchSet(&$batches, $dependsOn, $tests) |
171 | 181 | { |
172 | 182 | foreach ($batches as $key => $batch) { |
@@ -179,6 +189,9 @@ discard block |
||
179 | 189 | } |
180 | 190 | } |
181 | 191 | |
192 | + /** |
|
193 | + * @param string[] $tests |
|
194 | + */ |
|
182 | 195 | private function addTestsToBatchSet(&$batches, $tests, $maxBatchSize) |
183 | 196 | { |
184 | 197 | foreach ($tests as $test) { |
@@ -269,6 +282,10 @@ discard block |
||
269 | 282 | return $result; |
270 | 283 | } |
271 | 284 | |
285 | + /** |
|
286 | + * @param string $className |
|
287 | + * @param string $name |
|
288 | + */ |
|
272 | 289 | private function testMatchOptions($className, $name, $group) |
273 | 290 | { |
274 | 291 | $result = $this->testMatchGroupOptions($group) |
@@ -277,6 +294,9 @@ discard block |
||
277 | 294 | return $result; |
278 | 295 | } |
279 | 296 | |
297 | + /** |
|
298 | + * @param ParsedObject $method |
|
299 | + */ |
|
280 | 300 | private function methodDataProvider($method) |
281 | 301 | { |
282 | 302 | if (preg_match("/@\bdataProvider\b \b(.*)\b/", $method->getDocBlock(), $matches)) { |
@@ -293,6 +313,9 @@ discard block |
||
293 | 313 | return null; |
294 | 314 | } |
295 | 315 | |
316 | + /** |
|
317 | + * @param ParsedObject $method |
|
318 | + */ |
|
296 | 319 | private function methodGroups($method) |
297 | 320 | { |
298 | 321 | if (preg_match_all("/@\bgroup\b \b(.*)\b/", $method->getDocBlock(), $matches)) { |