Completed
Push — master ( da23ca...d8fe59 )
by Sebastian
04:21
created
src/Backup/Sync/Rsync.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -87,11 +87,11 @@
 block discarded – undo
87 87
     protected function configureExecutable(Executable\Rsync $exec, Target $target)
88 88
     {
89 89
         $exec->fromPath($this->getRsyncLocation($target))
90
-             ->toHost($this->host)
91
-             ->toPath($this->path)
92
-             ->toUser($this->user)
93
-             ->compressed(!$target->shouldBeCompressed())
94
-             ->removeDeleted($this->delete)
95
-             ->exclude($this->excludes);
90
+                ->toHost($this->host)
91
+                ->toPath($this->path)
92
+                ->toUser($this->user)
93
+                ->compressed(!$target->shouldBeCompressed())
94
+                ->removeDeleted($this->delete)
95
+                ->exclude($this->excludes);
96 96
     }
97 97
 }
Please login to merge, or discard this patch.
src/Backup/Source/Rsync.php 2 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -65,11 +65,11 @@
 block discarded – undo
65 65
     protected function configureExecutable(Executable\Rsync $exec, Target $target)
66 66
     {
67 67
         $exec->fromHost($this->host)
68
-             ->fromUser($this->user)
69
-             ->fromPath($this->path)
70
-             ->toPath($this->getRsyncLocation($target))
71
-             ->removeDeleted($this->delete)
72
-             ->exclude($this->excludes);
68
+                ->fromUser($this->user)
69
+                ->fromPath($this->path)
70
+                ->toPath($this->getRsyncLocation($target))
71
+                ->removeDeleted($this->delete)
72
+                ->exclude($this->excludes);
73 73
     }
74 74
 
75 75
     /**
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
         $result->debug($rsync->getCmd());
51 51
 
52 52
         if (!$rsync->wasSuccessful()) {
53
-            throw new Exception('rsync failed:' . $rsync->getStdErr());
53
+            throw new Exception('rsync failed:'.$rsync->getStdErr());
54 54
         }
55 55
 
56 56
         return $this->createStatus($target);
Please login to merge, or discard this patch.
src/Cli/Executable/Rsync.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -216,7 +216,7 @@
 block discarded – undo
216 216
             }
217 217
 
218 218
             // use archive mode, verbose and compress if not already done
219
-            $options = '-av' . ($this->compressed ? 'z' : '');
219
+            $options = '-av'.($this->compressed ? 'z' : '');
220 220
             $cmd->addOption($options);
221 221
 
222 222
             if (count($this->excludes)) {
Please login to merge, or discard this patch.
src/Cli/Executable/Rsync/Location.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -102,9 +102,9 @@
 block discarded – undo
102 102
         if (null !== $this->host) {
103 103
             // remote user
104 104
             if (null !== $this->user) {
105
-                $return .= $this->user . '@';
105
+                $return .= $this->user.'@';
106 106
             }
107
-            $return .= $this->host . ':';
107
+            $return .= $this->host.':';
108 108
         }
109 109
         $return .= $this->path;
110 110
 
Please login to merge, or discard this patch.