@@ -130,7 +130,7 @@ |
||
| 130 | 130 | // should the currently created backup be deleted as well? |
| 131 | 131 | if ($this->deleteTarget) { |
| 132 | 132 | $file = $target->toFile(); |
| 133 | - $index = date('YmdHis', $file->getMTime()) . '-' . count($files) . '-' . $file->getPathname(); |
|
| 133 | + $index = date('YmdHis', $file->getMTime()).'-'.count($files).'-'.$file->getPathname(); |
|
| 134 | 134 | $files[$index] = $file; |
| 135 | 135 | } |
| 136 | 136 | return $files; |
@@ -238,7 +238,7 @@ |
||
| 238 | 238 | $tar->addOptionIfNotEmpty('--force-local', $this->local, false); |
| 239 | 239 | $tar->addOptionIfNotEmpty('--ignore-failed-read', $this->ignoreFailedRead, false); |
| 240 | 240 | $tar->addOptionIfNotEmpty('--use-compress-program', $this->compressProgram); |
| 241 | - $tar->addOption('-' . (empty($this->compressProgram) ? $this->compression : '') . 'cf'); |
|
| 241 | + $tar->addOption('-'.(empty($this->compressProgram) ? $this->compression : '').'cf'); |
|
| 242 | 242 | $tar->addArgument($this->tarPathname); |
| 243 | 243 | $tar->addOption('-C', dirname($this->path), ' '); |
| 244 | 244 | $tar->addArgument(basename($this->path)); |