@@ -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 | $this->configureExcludes($cmd, $this->excludes); |
222 | 222 | $cmd->addOptionIfNotEmpty('--delete', $this->delete, false); |
@@ -171,7 +171,7 @@ |
||
171 | 171 | $tar = new Cmd($this->binary); |
172 | 172 | |
173 | 173 | $tar->addOptionIfNotEmpty('--ignore-failed-read', $this->ignoreFailedRead, false); |
174 | - $tar->addOption('-' . $this->compression . 'cf'); |
|
174 | + $tar->addOption('-'.$this->compression.'cf'); |
|
175 | 175 | $tar->addArgument($this->tarPathname); |
176 | 176 | $tar->addOption('-C', dirname($this->path), ' '); |
177 | 177 | $tar->addArgument(basename(($this->path))); |
@@ -52,7 +52,7 @@ |
||
52 | 52 | public function sync(Target $target, Result $result) |
53 | 53 | { |
54 | 54 | // silence ftp errors |
55 | - $old = error_reporting(0); |
|
55 | + $old = error_reporting(0); |
|
56 | 56 | if (!$ftpConnection = ftp_connect($this->host)) { |
57 | 57 | throw new Exception( |
58 | 58 | sprintf( |