@@ -286,7 +286,7 @@ |
||
286 | 286 | { |
287 | 287 | if (!isset(self::$classMap[$type])) { |
288 | 288 | throw new Exception( |
289 | - 'invalid type, please use only \'' . implode('\', \'', array_keys(self::$classMap)) . '\'' |
|
289 | + 'invalid type, please use only \''.implode('\', \'', array_keys(self::$classMap)).'\'' |
|
290 | 290 | ); |
291 | 291 | } |
292 | 292 | } |
@@ -77,7 +77,7 @@ |
||
77 | 77 | protected function getAdapter($name) |
78 | 78 | { |
79 | 79 | if (!isset($this->adapters[$name])) { |
80 | - throw new Exception('no adapter registered with name: ' . $name); |
|
80 | + throw new Exception('no adapter registered with name: '.$name); |
|
81 | 81 | } |
82 | 82 | return $this->adapters[$name]; |
83 | 83 | } |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | } |
92 | 92 | // make sure the backup should be executed and is not excluded via the --limit option |
93 | 93 | if (!$configuration->isBackupActive($backup->getName())) { |
94 | - $this->result->debug('skipping backup: ' . $backup->getName() . PHP_EOL); |
|
94 | + $this->result->debug('skipping backup: '.$backup->getName().PHP_EOL); |
|
95 | 95 | continue; |
96 | 96 | } |
97 | 97 | // setup target and collector, reset failure state |
@@ -136,7 +136,7 @@ discard block |
||
136 | 136 | $this->executeCleanup($backup, $target, $collector); |
137 | 137 | |
138 | 138 | } catch (\Exception $e) { |
139 | - $this->result->debug('exception: ' . $e->getMessage()); |
|
139 | + $this->result->debug('exception: '.$e->getMessage()); |
|
140 | 140 | $this->result->addError($e); |
141 | 141 | $this->result->backupFailed($backup); |
142 | 142 | if ($backup->stopOnFailure()) { |
@@ -264,7 +264,7 @@ discard block |
||
264 | 264 | $this->result->cryptSkipped($crypt); |
265 | 265 | } else { |
266 | 266 | /* @var \phpbu\App\Runner\Crypter $runner */ |
267 | - $runner = $this->factory->createRunner('crypter', $this->configuration->isSimulation()); |
|
267 | + $runner = $this->factory->createRunner('crypter', $this->configuration->isSimulation()); |
|
268 | 268 | $runner->run($this->factory->createCrypter($crypt->type, $crypt->options), $target, $this->result); |
269 | 269 | } |
270 | 270 | } catch (Backup\Crypter\Exception $e) { |
@@ -286,7 +286,7 @@ discard block |
||
286 | 286 | { |
287 | 287 | /* @var \phpbu\App\Runner\Crypter $runner */ |
288 | 288 | /* @var \phpbu\App\Configuration\Backup\Sync $sync */ |
289 | - $runner = $this->factory->createRunner('sync', $this->configuration->isSimulation()); |
|
289 | + $runner = $this->factory->createRunner('sync', $this->configuration->isSimulation()); |
|
290 | 290 | foreach ($backup->getSyncs() as $sync) { |
291 | 291 | try { |
292 | 292 | $this->result->syncStart($sync); |