@@ -135,7 +135,7 @@ |
||
135 | 135 | } |
136 | 136 | |
137 | 137 | if (!isset(self::$availableCompressors[$name])) { |
138 | - throw new Exception('invalid compressor:' . $name); |
|
138 | + throw new Exception('invalid compressor:'.$name); |
|
139 | 139 | } |
140 | 140 | return new static($name, $path); |
141 | 141 | } |
@@ -477,7 +477,7 @@ |
||
477 | 477 | // disable output redirection if files per table is active |
478 | 478 | if (!$this->filePerTable) { |
479 | 479 | $process->redirectOutputTo( |
480 | - $this->dumpPathname . (!empty($this->compression) ? '.' . $this->compression->getSuffix() : '') |
|
480 | + $this->dumpPathname.(!empty($this->compression) ? '.'.$this->compression->getSuffix() : '') |
|
481 | 481 | ); |
482 | 482 | } |
483 | 483 | } |
@@ -125,8 +125,8 @@ |
||
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 | } |
@@ -99,7 +99,7 @@ discard block |
||
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 |
||
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 | } |