Completed
Pull Request — master (#22)
by David
01:46
created
Command/SmokeTestRunCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
             $testNames = $this->getTestNames();
135 135
             $smokeTests = \array_filter(
136 136
                 $smokeTests,
137
-                function ($key) use ($test) {
137
+                function($key) use ($test) {
138 138
                     return $key === $test;
139 139
                 },
140 140
                 ARRAY_FILTER_USE_KEY
@@ -350,7 +350,7 @@  discard block
 block discarded – undo
350 350
      */
351 351
     protected function filterByLabels(array $smokeTests, array $labels, array $skipLabels, array &$skipped): array
352 352
     {
353
-        return \array_filter($smokeTests, function ($smokeTestInfo) use ($labels, &$skipped, $skipLabels) {
353
+        return \array_filter($smokeTests, function($smokeTestInfo) use ($labels, &$skipped, $skipLabels) {
354 354
             $key = $smokeTestInfo['id'];
355 355
             if (!empty(\array_intersect($labels, $smokeTestInfo['labels'])) ||
356 356
                 (!empty(\array_diff($smokeTestInfo['labels'], $skipLabels))) &&
@@ -374,7 +374,7 @@  discard block
 block discarded – undo
374 374
      */
375 375
     protected function filterBySkipTests(array $smokeTests, array $skipTests, array &$skipped): array
376 376
     {
377
-        return \array_filter($smokeTests, function ($smokeTestInfo) use ($skipTests, &$skipped) {
377
+        return \array_filter($smokeTests, function($smokeTestInfo) use ($skipTests, &$skipped) {
378 378
             $key = $smokeTestInfo['id'];
379 379
             if (\in_array($key, $skipTests)) {
380 380
                 $skipped[$key] = $smokeTestInfo;
Please login to merge, or discard this patch.