Passed
Branch test (9f6d33)
by Tom
02:07
created
src/Lib.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -119,12 +119,12 @@
 block discarded – undo
119 119
             }
120 120
             // match
121 121
             foreach (array_unique(
122
-                     /** @scrutinizer ignore-type */
123
-                         preg_split(
124
-                             '~\\\\.(*SKIP)(*FAIL)|,~',
125
-                             $matches[2]
126
-                         )
127
-                     ) as $segment) {
122
+                        /** @scrutinizer ignore-type */
123
+                            preg_split(
124
+                                '~\\\\.(*SKIP)(*FAIL)|,~',
125
+                                $matches[2]
126
+                            )
127
+                        ) as $segment) {
128 128
                 $permutation = $matches[1] . $segment . $matches[3];
129 129
                 in_array($permutation, $stack, true) || $stack[] = $permutation;
130 130
             }
Please login to merge, or discard this patch.
src/Utility/App.php 1 patch
Braces   +9 added lines, -3 removed lines patch added patch discarded remove patch
@@ -357,9 +357,15 @@
 block discarded – undo
357 357
         $list = $args->hasOption('list');
358 358
         $images = $args->hasOption('images');
359 359
 
360
-        if ($images) return $this->showImages($pipelines);
361
-        if ($show) return $this->showPipelines($pipelines);
362
-        if ($list) return $this->showPipelineIds($pipelines);
360
+        if ($images) {
361
+            return $this->showImages($pipelines);
362
+        }
363
+        if ($show) {
364
+            return $this->showPipelines($pipelines);
365
+        }
366
+        if ($list) {
367
+            return $this->showPipelineIds($pipelines);
368
+        }
363 369
 
364 370
         ###
365 371
 
Please login to merge, or discard this patch.