@@ -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,10 @@ discard block |
||
179 | 189 | } |
180 | 190 | } |
181 | 191 | |
192 | + /** |
|
193 | + * @param string[] $tests |
|
194 | + * @param integer $maxBatchSize |
|
195 | + */ |
|
182 | 196 | private function addTestsToBatchSet(&$batches, $tests, $maxBatchSize) |
183 | 197 | { |
184 | 198 | foreach ($tests as $test) { |
@@ -269,6 +283,10 @@ discard block |
||
269 | 283 | return $result; |
270 | 284 | } |
271 | 285 | |
286 | + /** |
|
287 | + * @param string $className |
|
288 | + * @param string $name |
|
289 | + */ |
|
272 | 290 | private function testMatchOptions($className, $name, $group) |
273 | 291 | { |
274 | 292 | $result = $this->testMatchGroupOptions($group) |
@@ -277,6 +295,9 @@ discard block |
||
277 | 295 | return $result; |
278 | 296 | } |
279 | 297 | |
298 | + /** |
|
299 | + * @param ParsedObject $method |
|
300 | + */ |
|
280 | 301 | private function methodDataProvider($method) |
281 | 302 | { |
282 | 303 | if (preg_match("/@\bdataProvider\b \b(.*)\b/", $method->getDocBlock(), $matches)) { |
@@ -293,6 +314,9 @@ discard block |
||
293 | 314 | return null; |
294 | 315 | } |
295 | 316 | |
317 | + /** |
|
318 | + * @param ParsedObject $method |
|
319 | + */ |
|
296 | 320 | private function methodGroups($method) |
297 | 321 | { |
298 | 322 | if (preg_match_all("/@\bgroup\b \b(.*)\b/", $method->getDocBlock(), $matches)) { |