@@ -67,7 +67,7 @@ |
||
67 | 67 | $result->debug($res->getCmd()); |
68 | 68 | |
69 | 69 | if (0 !== $res->getCode()) { |
70 | - throw new Exception('Failed to \'compress\' file: ' . $this->path); |
|
70 | + throw new Exception('Failed to \'compress\' file: '.$this->path); |
|
71 | 71 | } |
72 | 72 | |
73 | 73 | return $this->getArchiveFile($target); |
@@ -151,7 +151,7 @@ discard block |
||
151 | 151 | $this->pathElementsChanging[] = $d; |
152 | 152 | $foundChangingElement = true; |
153 | 153 | } else { |
154 | - $this->pathNotChanging .= DIRECTORY_SEPARATOR . $d; |
|
154 | + $this->pathNotChanging .= DIRECTORY_SEPARATOR.$d; |
|
155 | 155 | } |
156 | 156 | } |
157 | 157 | // replace potential date placeholder |
@@ -185,7 +185,7 @@ discard block |
||
185 | 185 | */ |
186 | 186 | public function appendFileSuffix($suffix) |
187 | 187 | { |
188 | - $this->filename .= '.' . $suffix; |
|
188 | + $this->filename .= '.'.$suffix; |
|
189 | 189 | } |
190 | 190 | |
191 | 191 | /** |
@@ -251,10 +251,10 @@ discard block |
||
251 | 251 | { |
252 | 252 | $suffix = ''; |
253 | 253 | if (!$plain) { |
254 | - $suffix .= $this->shouldBeCompressed() ? '.' . $this->compressor->getSuffix() : ''; |
|
255 | - $suffix .= $this->shouldBeEncrypted() ? '.' . $this->crypter->getSuffix() : ''; |
|
254 | + $suffix .= $this->shouldBeCompressed() ? '.'.$this->compressor->getSuffix() : ''; |
|
255 | + $suffix .= $this->shouldBeEncrypted() ? '.'.$this->crypter->getSuffix() : ''; |
|
256 | 256 | } |
257 | - return $this->filename . $suffix; |
|
257 | + return $this->filename.$suffix; |
|
258 | 258 | } |
259 | 259 | |
260 | 260 | /** |
@@ -203,7 +203,7 @@ discard block |
||
203 | 203 | $result->debug($this->getExecutable($target)->getCommandLinePrintable()); |
204 | 204 | |
205 | 205 | if (!$mysqldump->wasSuccessful()) { |
206 | - throw new Exception('mysqldump failed:' . $mysqldump->getStdErr()); |
|
206 | + throw new Exception('mysqldump failed:'.$mysqldump->getStdErr()); |
|
207 | 207 | } |
208 | 208 | |
209 | 209 | return $this->createStatus($target); |
@@ -258,6 +258,6 @@ discard block |
||
258 | 258 | */ |
259 | 259 | private function getDumpTarget(Target $target) |
260 | 260 | { |
261 | - return $target->getPathnamePlain() . ($this->filePerTable ? '.dump' : ''); |
|
261 | + return $target->getPathnamePlain().($this->filePerTable ? '.dump' : ''); |
|
262 | 262 | } |
263 | 263 | } |