Completed
Push — master ( bc803d...ad38cf )
by Sebastian
04:42
created
src/Backup/Target.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
src/Backup/Target/Compression/Factory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,9 +55,9 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.