@@ -50,7 +50,7 @@ |
||
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); |
@@ -216,7 +216,7 @@ |
||
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)) { |
@@ -102,9 +102,9 @@ |
||
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 |