Completed
Pull Request — master (#192)
by
unknown
02:29
created
src/ParaTest/Runners/PHPUnit/Configuration.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@
 block discarded – undo
137 137
     /**
138 138
      * Returns a suite paths relative to the config file
139 139
      *
140
-     * @param $path
140
+     * @param string $path
141 141
      * @return array|string[]
142 142
      */
143 143
     public function getSuitePaths($path)
Please login to merge, or discard this patch.
src/ParaTest/Runners/PHPUnit/SuiteLoader.php 1 patch
Doc Comments   +23 added lines patch added patch discarded remove patch
@@ -40,6 +40,9 @@  discard block
 block discarded – undo
40 40
      */
41 41
     private static $dotPattern = '/([.]+)$/';
42 42
 
43
+    /**
44
+     * @param Options $options
45
+     */
43 46
     public function __construct($options = null)
44 47
     {
45 48
         if ($options && !$options instanceof Options) {
@@ -207,6 +210,9 @@  discard block
 block discarded – undo
207 210
         }
208 211
     }
209 212
 
213
+    /**
214
+     * @param ParsedClass $class
215
+     */
210 216
     private function executableTests($path, $class)
211 217
     {
212 218
         $executableTests = array();
@@ -251,6 +257,10 @@  discard block
 block discarded – undo
251 257
         return $batches;
252 258
     }
253 259
 
260
+    /**
261
+     * @param string $dependsOn
262
+     * @param string[] $tests
263
+     */
254 264
     private function addDependentTestsToBatchSet(&$batches, $dependsOn, $tests)
255 265
     {
256 266
         foreach ($batches as $key => $batch) {
@@ -263,6 +273,9 @@  discard block
 block discarded – undo
263 273
         }
264 274
     }
265 275
 
276
+    /**
277
+     * @param string[] $tests
278
+     */
266 279
     private function addTestsToBatchSet(&$batches, $tests, $maxBatchSize)
267 280
     {
268 281
         foreach ($tests as $test) {
@@ -354,6 +367,10 @@  discard block
 block discarded – undo
354 367
         return $result;
355 368
     }
356 369
 
370
+    /**
371
+     * @param string $className
372
+     * @param string $name
373
+     */
357 374
     private function testMatchOptions($className, $name, $group)
358 375
     {
359 376
         $result = $this->testMatchGroupOptions($group)
@@ -362,6 +379,9 @@  discard block
 block discarded – undo
362 379
         return $result;
363 380
     }
364 381
 
382
+    /**
383
+     * @param ParsedObject $method
384
+     */
365 385
     private function methodDataProvider($method)
366 386
     {
367 387
         if (preg_match("/@\bdataProvider\b \b(.*)\b/", $method->getDocBlock(), $matches)) {
@@ -388,6 +408,9 @@  discard block
 block discarded – undo
388 408
         return $this->docBlockGroups($method->getDocBlock());
389 409
     }
390 410
 
411
+    /**
412
+     * @param string $docBlock
413
+     */
391 414
     private function docBlockGroups($docBlock)
392 415
     {
393 416
         if (preg_match_all("/@\bgroup\b \b(.*)\b/", $docBlock, $matches)) {
Please login to merge, or discard this patch.