Passed
Branch test (82e107)
by Tom
02:13
created
src/Utility/FileOptions.php 1 patch
Braces   +9 added lines, -3 removed lines patch added patch discarded remove patch
@@ -64,9 +64,15 @@
 block discarded – undo
64 64
         $show = $args->hasOption('show');
65 65
         $list = $args->hasOption('list');
66 66
 
67
-        if ($images) return $this->shower()->showImages();
68
-        if ($show) return $this->shower()->showPipelines();
69
-        if ($list) return $this->shower()->showPipelineIds();
67
+        if ($images) {
68
+            return $this->shower()->showImages();
69
+        }
70
+        if ($show) {
71
+            return $this->shower()->showPipelines();
72
+        }
73
+        if ($list) {
74
+            return $this->shower()->showPipelineIds();
75
+        }
70 76
 
71 77
         return null;
72 78
     }
Please login to merge, or discard this patch.
src/Runner/Env.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
      */
119 119
     public function setPipelinesId($id)
120 120
     {
121
-        $list = (string) $this->getValue('PIPELINES_IDS');
121
+        $list = (string)$this->getValue('PIPELINES_IDS');
122 122
         $hashes = preg_split('~\s+~', $list, -1, PREG_SPLIT_NO_EMPTY);
123 123
         $hashes = array_map('strtolower', /** @scrutinizer ignore-type */ $hashes);
124 124
 
Please login to merge, or discard this patch.