@@ -159,7 +159,7 @@ discard block |
||
159 | 159 | $this->pathElementsChanging[] = $d; |
160 | 160 | $foundChangingElement = true; |
161 | 161 | } else { |
162 | - $this->pathNotChanging .= DIRECTORY_SEPARATOR . $d; |
|
162 | + $this->pathNotChanging .= DIRECTORY_SEPARATOR.$d; |
|
163 | 163 | } |
164 | 164 | } |
165 | 165 | // replace potential date placeholder |
@@ -257,7 +257,7 @@ discard block |
||
257 | 257 | */ |
258 | 258 | public function getFilename($plain = false) |
259 | 259 | { |
260 | - return $this->filename . $this->getFilenameSuffix($plain); |
|
260 | + return $this->filename.$this->getFilenameSuffix($plain); |
|
261 | 261 | } |
262 | 262 | |
263 | 263 | /** |
@@ -278,7 +278,7 @@ discard block |
||
278 | 278 | */ |
279 | 279 | public function getFilenameRaw($plain = false) |
280 | 280 | { |
281 | - return $this->filenameRaw . $this->getFilenameSuffix($plain); |
|
281 | + return $this->filenameRaw.$this->getFilenameSuffix($plain); |
|
282 | 282 | } |
283 | 283 | |
284 | 284 | /** |
@@ -289,7 +289,7 @@ discard block |
||
289 | 289 | */ |
290 | 290 | public function getFilenameSuffix($plain = false) |
291 | 291 | { |
292 | - return $this->getSuffixToAppend() . ($plain ? '' : $this->getCompressionSuffix() . $this->getCrypterSuffix()); |
|
292 | + return $this->getSuffixToAppend().($plain ? '' : $this->getCompressionSuffix().$this->getCrypterSuffix()); |
|
293 | 293 | } |
294 | 294 | |
295 | 295 | /** |
@@ -299,7 +299,7 @@ discard block |
||
299 | 299 | */ |
300 | 300 | public function getSuffixToAppend() |
301 | 301 | { |
302 | - return count($this->fileSuffixes) ? '.' . implode('.', $this->fileSuffixes) : ''; |
|
302 | + return count($this->fileSuffixes) ? '.'.implode('.', $this->fileSuffixes) : ''; |
|
303 | 303 | } |
304 | 304 | |
305 | 305 | /** |
@@ -309,7 +309,7 @@ discard block |
||
309 | 309 | */ |
310 | 310 | public function getCompressionSuffix() |
311 | 311 | { |
312 | - return $this->shouldBeCompressed() ? '.' . $this->compression->getSuffix() : ''; |
|
312 | + return $this->shouldBeCompressed() ? '.'.$this->compression->getSuffix() : ''; |
|
313 | 313 | } |
314 | 314 | |
315 | 315 | /** |
@@ -319,7 +319,7 @@ discard block |
||
319 | 319 | */ |
320 | 320 | public function getCrypterSuffix() |
321 | 321 | { |
322 | - return $this->shouldBeEncrypted() ? '.' . $this->crypter->getSuffix() : ''; |
|
322 | + return $this->shouldBeEncrypted() ? '.'.$this->crypter->getSuffix() : ''; |
|
323 | 323 | } |
324 | 324 | |
325 | 325 | /** |
@@ -409,7 +409,7 @@ discard block |
||
409 | 409 | */ |
410 | 410 | public function getPathname($plain = false) |
411 | 411 | { |
412 | - return $this->path . DIRECTORY_SEPARATOR . $this->getFilename($plain); |
|
412 | + return $this->path.DIRECTORY_SEPARATOR.$this->getFilename($plain); |
|
413 | 413 | } |
414 | 414 | |
415 | 415 | /** |
@@ -55,9 +55,9 @@ |
||
55 | 55 | public static function getClassName($name) |
56 | 56 | { |
57 | 57 | if (!isset(self::$availableCompressors[$name])) { |
58 | - throw new Exception('Invalid compressor: ' .$name); |
|
58 | + throw new Exception('Invalid compressor: '.$name); |
|
59 | 59 | } |
60 | 60 | $class = self::$availableCompressors[$name]; |
61 | - return '\\phpbu\\App\\Backup\\Target\\Compression\\' . $class; |
|
61 | + return '\\phpbu\\App\\Backup\\Target\\Compression\\'.$class; |
|
62 | 62 | } |
63 | 63 | } |