Completed
Pull Request — master (#22)
by
unknown
13:36
created
Command/SmokeTestRunCommand.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
             $testNames = $this->getTestNames();
120 120
             $smokeTests = \array_filter(
121 121
                 $smokeTests,
122
-                function ($key) use ($test) {
122
+                function($key) use ($test) {
123 123
                     return $key === $test;
124 124
                 },
125 125
                 ARRAY_FILTER_USE_KEY
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
             if (!empty($skipTests)) {
141 141
                 $smokeTests = \array_filter(
142 142
                     $smokeTests,
143
-                    function ($smokeTestInfo) use ($skipTests, &$skipped) {
143
+                    function($smokeTestInfo) use ($skipTests, &$skipped) {
144 144
                         $key = $smokeTestInfo['id'];
145 145
                         $skipping = \in_array($key, $skipTests);
146 146
                         if ($skipping) {
@@ -338,7 +338,7 @@  discard block
 block discarded – undo
338 338
      */
339 339
     public function filterWIPLabels($smokeTests = []): array
340 340
     {
341
-        return array_filter($smokeTests, function ($smokeTestInfo) {
341
+        return array_filter($smokeTests, function($smokeTestInfo) {
342 342
             if (!\in_array(CanCheckConnectivityInterface::SMOKE_TEST_LABEL_WIP, $smokeTestInfo['labels'])) {
343 343
                 return $smokeTestInfo;
344 344
             }
@@ -352,7 +352,7 @@  discard block
 block discarded – undo
352 352
      */
353 353
     public function filterByLabels($smokeTests = [], $labels, &$skipped): array
354 354
     {
355
-        return \array_filter($smokeTests, function ($smokeTestInfo) use ($labels, &$skipped) {
355
+        return \array_filter($smokeTests, function($smokeTestInfo) use ($labels, &$skipped) {
356 356
             $key = $smokeTestInfo['id'];
357 357
             if (!empty(\array_intersect($labels, $smokeTestInfo['labels']))) {
358 358
                 return $smokeTestInfo;
Please login to merge, or discard this patch.