Completed
Push — master ( 4ffa9b...a4fcf1 )
by Julian
12s
created
src/Runners/PHPUnit/SuiteLoader.php 1 patch
Doc Comments   +24 added lines patch added patch discarded remove patch
@@ -30,6 +30,9 @@  discard block
 block discarded – undo
30 30
      */
31 31
     public $options;
32 32
 
33
+    /**
34
+     * @param Options $options
35
+     */
33 36
     public function __construct($options = null)
34 37
     {
35 38
         if ($options && !$options instanceof Options) {
@@ -128,6 +131,9 @@  discard block
 block discarded – undo
128 131
         }
129 132
     }
130 133
 
134
+    /**
135
+     * @param ParsedClass $class
136
+     */
131 137
     private function executableTests($path, $class)
132 138
     {
133 139
         $executableTests = [];
@@ -172,6 +178,10 @@  discard block
 block discarded – undo
172 178
         return $batches;
173 179
     }
174 180
 
181
+    /**
182
+     * @param string $dependsOn
183
+     * @param string[] $tests
184
+     */
175 185
     private function addDependentTestsToBatchSet(&$batches, $dependsOn, $tests)
176 186
     {
177 187
         foreach ($batches as $key => $batch) {
@@ -184,6 +194,10 @@  discard block
 block discarded – undo
184 194
         }
185 195
     }
186 196
 
197
+    /**
198
+     * @param string[] $tests
199
+     * @param integer $maxBatchSize
200
+     */
187 201
     private function addTestsToBatchSet(&$batches, $tests, $maxBatchSize)
188 202
     {
189 203
         foreach ($tests as $test) {
@@ -275,6 +289,10 @@  discard block
 block discarded – undo
275 289
         return $result;
276 290
     }
277 291
 
292
+    /**
293
+     * @param string $className
294
+     * @param string $name
295
+     */
278 296
     private function testMatchOptions($className, $name, $group)
279 297
     {
280 298
         $result = $this->testMatchGroupOptions($group)
@@ -283,6 +301,9 @@  discard block
 block discarded – undo
283 301
         return $result;
284 302
     }
285 303
 
304
+    /**
305
+     * @param ParsedObject $method
306
+     */
286 307
     private function methodDataProvider($method)
287 308
     {
288 309
         if (false !== ($docBlock = $method->getDocBlock()) && preg_match("/@\bdataProvider\b \b(.*)\b/", $docBlock, $matches)) {
@@ -297,6 +318,9 @@  discard block
 block discarded – undo
297 318
         }
298 319
     }
299 320
 
321
+    /**
322
+     * @param ParsedObject $method
323
+     */
300 324
     private function methodGroups($method)
301 325
     {
302 326
         if (false !== ($docBlock = $method->getDocBlock()) && preg_match_all("/@\bgroup\b \b(.*)\b/", $docBlock, $matches)) {
Please login to merge, or discard this patch.