@@ -127,12 +127,12 @@ |
||
| 127 | 127 | public function execute() |
| 128 | 128 | { |
| 129 | 129 | $command = ''; |
| 130 | - if($this->workingDirectory !== NULL){ |
|
| 130 | + if ($this->workingDirectory !== NULL) { |
|
| 131 | 131 | $command .= 'cd ' . escapeshellarg($this->workingDirectory) . ' && '; |
| 132 | 132 | } |
| 133 | 133 | $command .= escapeshellarg($this->gitExecutable); |
| 134 | 134 | $execCommand = $command . ' ' . $this->command; |
| 135 | - if($this->redirectStderrToStdout){ |
|
| 135 | + if ($this->redirectStderrToStdout) { |
|
| 136 | 136 | $execCommand .= ' 2>&1'; |
| 137 | 137 | } |
| 138 | 138 | return $this->exec($execCommand); |