Completed
Push — master ( 19376a...bc803d )
by Sebastian
03:39
created
src/Cli/Process.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -125,8 +125,8 @@
 block discarded – undo
125 125
             throw new Exception('no command to execute');
126 126
         }
127 127
         $cmd = ($amount > 1 ? '(' . implode(' && ', $this->commands) . ')' : $this->commands[0])
128
-             . $this->getPipeline()
129
-             . (!empty($this->redirectOutput) ? ' > ' . $this->redirectOutput : '');
128
+                . $this->getPipeline()
129
+                . (!empty($this->redirectOutput) ? ' > ' . $this->redirectOutput : '');
130 130
 
131 131
         return $cmd;
132 132
     }
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
      */
100 100
     public function getPipeline()
101 101
     {
102
-        return $this->isPiped() ? ' | ' . implode(' | ', $this->pipeline) : '';
102
+        return $this->isPiped() ? ' | '.implode(' | ', $this->pipeline) : '';
103 103
     }
104 104
 
105 105
     /**
@@ -124,9 +124,9 @@  discard block
 block discarded – undo
124 124
         if ($amount < 1) {
125 125
             throw new Exception('no command to execute');
126 126
         }
127
-        $cmd = ($amount > 1 ? '(' . implode(' && ', $this->commands) . ')' : $this->commands[0])
127
+        $cmd = ($amount > 1 ? '('.implode(' && ', $this->commands).')' : $this->commands[0])
128 128
              . $this->getPipeline()
129
-             . (!empty($this->redirectOutput) ? ' > ' . $this->redirectOutput : '');
129
+             . (!empty($this->redirectOutput) ? ' > '.$this->redirectOutput : '');
130 130
 
131 131
         return $cmd;
132 132
     }
Please login to merge, or discard this patch.