Completed
Push — master ( 248c39...8165a9 )
by Julian
14s
created
src/ParaTest/Runners/PHPUnit/SuiteLoader.php 1 patch
Doc Comments   +23 added lines patch added patch discarded remove patch
@@ -22,6 +22,9 @@  discard block
 block discarded – undo
22 22
      */
23 23
     protected $loadedSuites = [];
24 24
 
25
+    /**
26
+     * @param Options $options
27
+     */
25 28
     public function __construct($options = null)
26 29
     {
27 30
         if ($options && !$options instanceof Options) {
@@ -121,6 +124,9 @@  discard block
 block discarded – undo
121 124
         }
122 125
     }
123 126
 
127
+    /**
128
+     * @param ParsedClass $class
129
+     */
124 130
     private function executableTests($path, $class)
125 131
     {
126 132
         $executableTests = [];
@@ -162,6 +168,10 @@  discard block
 block discarded – undo
162 168
         return $batches;
163 169
     }
164 170
 
171
+    /**
172
+     * @param string $dependsOn
173
+     * @param string[] $tests
174
+     */
165 175
     private function addDependentTestsToBatchSet(&$batches, $dependsOn, $tests)
166 176
     {
167 177
         foreach ($batches as $key => $batch) {
@@ -174,6 +184,9 @@  discard block
 block discarded – undo
174 184
         }
175 185
     }
176 186
 
187
+    /**
188
+     * @param string[] $tests
189
+     */
177 190
     private function addTestsToBatchSet(&$batches, $tests, $maxBatchSize)
178 191
     {
179 192
         foreach ($tests as $test) {
@@ -264,6 +277,10 @@  discard block
 block discarded – undo
264 277
         return $result;
265 278
     }
266 279
 
280
+    /**
281
+     * @param string $className
282
+     * @param string $name
283
+     */
267 284
     private function testMatchOptions($className, $name, $group)
268 285
     {
269 286
         $result = $this->testMatchGroupOptions($group)
@@ -272,6 +289,9 @@  discard block
 block discarded – undo
272 289
         return $result;
273 290
     }
274 291
 
292
+    /**
293
+     * @param ParsedObject $method
294
+     */
275 295
     private function methodDataProvider($method)
276 296
     {
277 297
         if (preg_match("/@\bdataProvider\b \b(.*)\b/", $method->getDocBlock(), $matches)) {
@@ -288,6 +308,9 @@  discard block
 block discarded – undo
288 308
         return null;
289 309
     }
290 310
 
311
+    /**
312
+     * @param ParsedObject $method
313
+     */
291 314
     private function methodGroups($method)
292 315
     {
293 316
         if (preg_match_all("/@\bgroup\b \b(.*)\b/", $method->getDocBlock(), $matches)) {
Please login to merge, or discard this patch.