@@ -119,12 +119,12 @@ |
||
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 | } |
@@ -64,9 +64,15 @@ |
||
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 | } |