Completed
Push — master ( 988e28...6a1fad )
by Sebastian
02:52
created
src/Factory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -286,7 +286,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Configuration/Loader/File.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Runner.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/Cmd.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
                 $ret = self::EXIT_EXCEPTION;
110 110
             }
111 111
         } catch (\Exception $e) {
112
-            echo $e->getMessage() . PHP_EOL;
112
+            echo $e->getMessage().PHP_EOL;
113 113
             $ret = self::EXIT_EXCEPTION;
114 114
         }
115 115
 
@@ -215,12 +215,12 @@  discard block
 block discarded – undo
215 215
      */
216 216
     protected function findConfigurationInDir()
217 217
     {
218
-        $configurationFile = $this->arguments['configuration'] . '/phpbu.xml';
218
+        $configurationFile = $this->arguments['configuration'].'/phpbu.xml';
219 219
 
220 220
         if (file_exists($configurationFile)) {
221 221
             $this->arguments['configuration'] = realpath($configurationFile);
222
-        } elseif (file_exists($configurationFile . '.dist')) {
223
-            $this->arguments['configuration'] = realpath($configurationFile . '.dist');
222
+        } elseif (file_exists($configurationFile.'.dist')) {
223
+            $this->arguments['configuration'] = realpath($configurationFile.'.dist');
224 224
         }
225 225
     }
226 226
 
@@ -283,7 +283,7 @@  discard block
 block discarded – undo
283 283
     {
284 284
         $value = Arr::getValue($this->arguments, $arg);
285 285
         if (!empty($value)) {
286
-            $setter = 'set' . ucfirst($arg);
286
+            $setter = 'set'.ucfirst($arg);
287 287
             $configuration->{$setter}($value);
288 288
         }
289 289
     }
@@ -297,7 +297,7 @@  discard block
 block discarded – undo
297 297
 
298 298
         $remoteFilename = 'http://phar.phpbu.de/phpbu.phar';
299 299
         $localFilename  = realpath($_SERVER['argv'][0]);
300
-        $tempFilename   = basename($localFilename, '.phar') . '-temp.phar';
300
+        $tempFilename   = basename($localFilename, '.phar').'-temp.phar';
301 301
 
302 302
         echo 'Updating the phpbu PHAR ... ';
303 303
 
@@ -305,7 +305,7 @@  discard block
 block discarded – undo
305 305
         $phar = file_get_contents($remoteFilename);
306 306
         error_reporting($old);
307 307
         if (!$phar) {
308
-            echo ' failed' . PHP_EOL . 'Could not reach phpbu update site' . PHP_EOL;
308
+            echo ' failed'.PHP_EOL.'Could not reach phpbu update site'.PHP_EOL;
309 309
             exit(self::EXIT_EXCEPTION);
310 310
         }
311 311
         file_put_contents($tempFilename, $phar);
@@ -321,11 +321,11 @@  discard block
 block discarded – undo
321 321
         } catch (Exception $e) {
322 322
             // cleanup crappy phar
323 323
             unlink($tempFilename);
324
-            echo 'failed' . PHP_EOL . $e->getMessage() . PHP_EOL;
324
+            echo 'failed'.PHP_EOL.$e->getMessage().PHP_EOL;
325 325
             exit(self::EXIT_EXCEPTION);
326 326
         }
327 327
 
328
-        echo 'done' . PHP_EOL;
328
+        echo 'done'.PHP_EOL;
329 329
         exit(self::EXIT_SUCCESS);
330 330
     }
331 331
 
@@ -338,7 +338,7 @@  discard block
 block discarded – undo
338 338
             return;
339 339
         }
340 340
 
341
-        echo Version::getVersionString() . PHP_EOL;
341
+        echo Version::getVersionString().PHP_EOL;
342 342
         $this->isVersionStringPrinted = true;
343 343
     }
344 344
 
@@ -347,7 +347,7 @@  discard block
 block discarded – undo
347 347
      */
348 348
     protected function printLogo()
349 349
     {
350
-        echo self::$logo . PHP_EOL;
350
+        echo self::$logo.PHP_EOL;
351 351
     }
352 352
 
353 353
     /**
@@ -371,7 +371,7 @@  discard block
 block discarded – undo
371 371
 
372 372
 EOT;
373 373
         if ($this->isPhar) {
374
-            echo '  --self-update          Update phpbu to the latest version.' . PHP_EOL;
374
+            echo '  --self-update          Update phpbu to the latest version.'.PHP_EOL;
375 375
         }
376 376
     }
377 377
 
@@ -385,7 +385,7 @@  discard block
 block discarded – undo
385 385
     {
386 386
         $help = $hint ? ', use "phpbu -h" for help' : '';
387 387
         $this->printVersionString();
388
-        echo $message . $help . PHP_EOL;
388
+        echo $message.$help.PHP_EOL;
389 389
         exit(self::EXIT_EXCEPTION);
390 390
     }
391 391
 
Please login to merge, or discard this patch.
src/Result/PrinterCli.php 1 patch
Spacing   +37 added lines, -37 removed lines patch added patch discarded remove patch
@@ -170,11 +170,11 @@  discard block
 block discarded – undo
170 170
     public function onPhpbuStart(Event\App\Start $event)
171 171
     {
172 172
         $configuration = $event->getConfiguration();
173
-        $this->write(Version::getVersionString() . ' by Sebastian Feldmann and contributors.' . PHP_EOL . PHP_EOL);
173
+        $this->write(Version::getVersionString().' by Sebastian Feldmann and contributors.'.PHP_EOL.PHP_EOL);
174 174
         if ($this->verbose) {
175 175
             $this->write(
176
-                'Runtime:       ' . $this->runtime->getNameWithVersion() . PHP_EOL .
177
-                'Configuration: ' . $configuration->getFilename() . PHP_EOL .
176
+                'Runtime:       '.$this->runtime->getNameWithVersion().PHP_EOL.
177
+                'Configuration: '.$configuration->getFilename().PHP_EOL.
178 178
                 PHP_EOL
179 179
             );
180 180
         }
@@ -190,7 +190,7 @@  discard block
 block discarded – undo
190 190
         $this->numBackups++;
191 191
         if ($this->debug) {
192 192
             $backup = $event->getConfiguration();
193
-            $this->writeWithAsterisk('backup: [' . $backup->getSource()->type . '] ');
193
+            $this->writeWithAsterisk('backup: ['.$backup->getSource()->type.'] ');
194 194
         }
195 195
     }
196 196
 
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
     public function onBackupFailed(Event\Backup\Failed $event)
203 203
     {
204 204
         if ($this->debug) {
205
-            $this->writeWithColor('fg-white, bg-red, bold', 'failed' . PHP_EOL);
205
+            $this->writeWithColor('fg-white, bg-red, bold', 'failed'.PHP_EOL);
206 206
         }
207 207
     }
208 208
 
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
     public function onBackupEnd(Event\Backup\End $event)
215 215
     {
216 216
         if ($this->debug) {
217
-            $this->writeWithColor('fg-black, bg-green', 'ok' . PHP_EOL);
217
+            $this->writeWithColor('fg-black, bg-green', 'ok'.PHP_EOL);
218 218
         }
219 219
     }
220 220
 
@@ -228,8 +228,8 @@  discard block
 block discarded – undo
228 228
         $this->numChecks++;
229 229
         if ($this->debug) {
230 230
             $check = $event->getConfiguration();
231
-            $this->writeWithAsterisk('check: [' . $check->type . '] ');
232
-            $this->write('checking: [' . $check->value . '] ');
231
+            $this->writeWithAsterisk('check: ['.$check->type.'] ');
232
+            $this->write('checking: ['.$check->value.'] ');
233 233
         }
234 234
     }
235 235
 
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
     public function onCheckFailed(Event\Check\Failed $event)
242 242
     {
243 243
         if ($this->debug) {
244
-            $this->writeWithColor('fg-white, bg-red, bold', 'failed' . PHP_EOL);
244
+            $this->writeWithColor('fg-white, bg-red, bold', 'failed'.PHP_EOL);
245 245
         }
246 246
     }
247 247
 
@@ -253,7 +253,7 @@  discard block
 block discarded – undo
253 253
     public function onCheckEnd(Event\Check\End $event)
254 254
     {
255 255
         if ($this->debug) {
256
-            $this->writeWithColor('fg-black, bg-green', 'ok' . PHP_EOL);
256
+            $this->writeWithColor('fg-black, bg-green', 'ok'.PHP_EOL);
257 257
         }
258 258
     }
259 259
 
@@ -267,7 +267,7 @@  discard block
 block discarded – undo
267 267
         $this->numCrypts++;
268 268
         if ($this->debug) {
269 269
             $crypt = $event->getConfiguration();
270
-            $this->writeWithAsterisk('crypt: [' . $crypt->type . '] ');
270
+            $this->writeWithAsterisk('crypt: ['.$crypt->type.'] ');
271 271
         }
272 272
     }
273 273
 
@@ -279,7 +279,7 @@  discard block
 block discarded – undo
279 279
     public function onCryptSkipped(Event\Crypt\Skipped $event)
280 280
     {
281 281
         if ($this->debug) {
282
-            $this->writeWithColor('fg-black, bg-yellow', 'skipped' . PHP_EOL);
282
+            $this->writeWithColor('fg-black, bg-yellow', 'skipped'.PHP_EOL);
283 283
         }
284 284
     }
285 285
 
@@ -291,7 +291,7 @@  discard block
 block discarded – undo
291 291
     public function onCryptFailed(Event\Crypt\Failed $event)
292 292
     {
293 293
         if ($this->debug) {
294
-            $this->writeWithColor('fg-white, bg-red, bold', 'failed' . PHP_EOL);
294
+            $this->writeWithColor('fg-white, bg-red, bold', 'failed'.PHP_EOL);
295 295
         }
296 296
     }
297 297
 
@@ -303,7 +303,7 @@  discard block
 block discarded – undo
303 303
     public function onCryptEnd(Event\Crypt\End $event)
304 304
     {
305 305
         if ($this->debug) {
306
-            $this->writeWithColor('fg-black, bg-green', 'ok' . PHP_EOL);
306
+            $this->writeWithColor('fg-black, bg-green', 'ok'.PHP_EOL);
307 307
         }
308 308
     }
309 309
 
@@ -317,7 +317,7 @@  discard block
 block discarded – undo
317 317
         $this->numSyncs++;
318 318
         if ($this->debug) {
319 319
             $sync = $event->getConfiguration();
320
-            $this->writeWithAsterisk('sync: [' . $sync->type . '] ');
320
+            $this->writeWithAsterisk('sync: ['.$sync->type.'] ');
321 321
         }
322 322
     }
323 323
 
@@ -329,7 +329,7 @@  discard block
 block discarded – undo
329 329
     public function onSyncSkipped(Event\Sync\Skipped $event)
330 330
     {
331 331
         if ($this->debug) {
332
-            $this->writeWithColor('fg-black, bg-yellow', 'skipped' . PHP_EOL);
332
+            $this->writeWithColor('fg-black, bg-yellow', 'skipped'.PHP_EOL);
333 333
         }
334 334
     }
335 335
 
@@ -341,7 +341,7 @@  discard block
 block discarded – undo
341 341
     public function onSyncFailed(Event\Sync\Failed $event)
342 342
     {
343 343
         if ($this->debug) {
344
-            $this->writeWithColor('fg-white, bg-red, bold', 'failed' . PHP_EOL);
344
+            $this->writeWithColor('fg-white, bg-red, bold', 'failed'.PHP_EOL);
345 345
         }
346 346
     }
347 347
 
@@ -353,7 +353,7 @@  discard block
 block discarded – undo
353 353
     public function onSyncEnd(Event\Sync\End $event)
354 354
     {
355 355
         if ($this->debug) {
356
-            $this->writeWithColor('fg-black, bg-green', 'ok' . PHP_EOL);
356
+            $this->writeWithColor('fg-black, bg-green', 'ok'.PHP_EOL);
357 357
         }
358 358
     }
359 359
 
@@ -367,7 +367,7 @@  discard block
 block discarded – undo
367 367
         $this->numCleanups++;
368 368
         if ($this->debug) {
369 369
             $cleanup = $event->getConfiguration();
370
-            $this->writeWithAsterisk('cleanup: [' . $cleanup->type . '] ');
370
+            $this->writeWithAsterisk('cleanup: ['.$cleanup->type.'] ');
371 371
         }
372 372
     }
373 373
 
@@ -379,7 +379,7 @@  discard block
 block discarded – undo
379 379
     public function onCleanupSkipped(Event\Cleanup\Skipped $event)
380 380
     {
381 381
         if ($this->debug) {
382
-            $this->writeWithColor('fg-black, bg-yellow', 'skipped' . PHP_EOL);
382
+            $this->writeWithColor('fg-black, bg-yellow', 'skipped'.PHP_EOL);
383 383
         }
384 384
     }
385 385
 
@@ -391,7 +391,7 @@  discard block
 block discarded – undo
391 391
     public function onCleanupFailed(Event\Cleanup\Failed $event)
392 392
     {
393 393
         if ($this->debug) {
394
-            $this->writeWithColor('fg-white, bg-red, bold', 'failed' . PHP_EOL);
394
+            $this->writeWithColor('fg-white, bg-red, bold', 'failed'.PHP_EOL);
395 395
         }
396 396
     }
397 397
 
@@ -403,7 +403,7 @@  discard block
 block discarded – undo
403 403
     public function onCleanupEnd(Event\Cleanup\End $event)
404 404
     {
405 405
         if ($this->debug) {
406
-            $this->writeWithColor('fg-black, bg-green', 'ok' . PHP_EOL);
406
+            $this->writeWithColor('fg-black, bg-green', 'ok'.PHP_EOL);
407 407
         }
408 408
     }
409 409
 
@@ -415,7 +415,7 @@  discard block
 block discarded – undo
415 415
     public function onDebug(Event\Debug $event)
416 416
     {
417 417
         if ($this->debug) {
418
-            $this->write($event->getMessage() . PHP_EOL);
418
+            $this->write($event->getMessage().PHP_EOL);
419 419
         }
420 420
     }
421 421
 
@@ -453,7 +453,7 @@  discard block
 block discarded – undo
453 453
      */
454 454
     protected function printHeader()
455 455
     {
456
-        $this->write(PHP_Timer::resourceUsage() . PHP_EOL . PHP_EOL);
456
+        $this->write(PHP_Timer::resourceUsage().PHP_EOL.PHP_EOL);
457 457
     }
458 458
 
459 459
     /**
@@ -513,13 +513,13 @@  discard block
 block discarded – undo
513 513
         $clSkipped  = str_pad($backup->cleanupCountSkipped(), 7, ' ', STR_PAD_LEFT);
514 514
         $clFailed   = str_pad($backup->cleanupCountFailed(), 6, ' ', STR_PAD_LEFT);
515 515
 
516
-        $out = PHP_EOL . '          | executed | skipped | failed |' . PHP_EOL
517
-            . '----------+----------+---------+--------+' . PHP_EOL
518
-            . ' checks   | ' . $chExecuted . ' |         | ' . $chFailed . ' |' . PHP_EOL
519
-            . ' crypts   | ' . $crExecuted . ' | ' . $crSkipped . ' | ' . $crFailed . ' |' . PHP_EOL
520
-            . ' syncs    | ' . $syExecuted . ' | ' . $sySkipped . ' | ' . $syFailed . ' |' . PHP_EOL
521
-            . ' cleanups | ' . $clExecuted . ' | ' . $clSkipped . ' | ' . $clFailed . ' |' . PHP_EOL
522
-            . '----------+----------+---------+--------+' . PHP_EOL . PHP_EOL;
516
+        $out = PHP_EOL.'          | executed | skipped | failed |'.PHP_EOL
517
+            . '----------+----------+---------+--------+'.PHP_EOL
518
+            . ' checks   | '.$chExecuted.' |         | '.$chFailed.' |'.PHP_EOL
519
+            . ' crypts   | '.$crExecuted.' | '.$crSkipped.' | '.$crFailed.' |'.PHP_EOL
520
+            . ' syncs    | '.$syExecuted.' | '.$sySkipped.' | '.$syFailed.' |'.PHP_EOL
521
+            . ' cleanups | '.$clExecuted.' | '.$clSkipped.' | '.$clFailed.' |'.PHP_EOL
522
+            . '----------+----------+---------+--------+'.PHP_EOL.PHP_EOL;
523 523
 
524 524
         $this->write($out);
525 525
     }
@@ -540,7 +540,7 @@  discard block
 block discarded – undo
540 540
             $this->writeWithColor(
541 541
                 'fg-black, bg-green',
542 542
                 sprintf(
543
-                    'OK (%d %s, %d %s, %d %s, %d %s, %d %s)' . PHP_EOL,
543
+                    'OK (%d %s, %d %s, %d %s, %d %s, %d %s)'.PHP_EOL,
544 544
                     count($result->getBackups()),
545 545
                     Util\Str::appendPluralS('backup', count($result->getBackups())),
546 546
                     $this->numChecks,
@@ -557,8 +557,8 @@  discard block
 block discarded – undo
557 557
             $this->writeWithColor(
558 558
                 'fg-black, bg-yellow',
559 559
                 sprintf(
560
-                    "WARNING, skipped|failed Crypts, Syncs or Cleanups!" . PHP_EOL .
561
-                    'Backups: %d, Crypts: %d|%d, Syncs: %d|%d, Cleanups: %d|%d ' . PHP_EOL,
560
+                    "WARNING, skipped|failed Crypts, Syncs or Cleanups!".PHP_EOL.
561
+                    'Backups: %d, Crypts: %d|%d, Syncs: %d|%d, Cleanups: %d|%d '.PHP_EOL,
562 562
                     count($result->getBackups()),
563 563
                     $result->cryptsSkippedCount(),
564 564
                     $result->cryptsFailedCount(),
@@ -572,8 +572,8 @@  discard block
 block discarded – undo
572 572
             $this->writeWithColor(
573 573
                 'fg-white, bg-red',
574 574
                 sprintf(
575
-                    "FAILURE!" . PHP_EOL .
576
-                    'Backups: %d, failed Checks: %d, failed Crypts: %d, failed Syncs: %d, failed Cleanups: %d.' . PHP_EOL,
575
+                    "FAILURE!".PHP_EOL.
576
+                    'Backups: %d, failed Checks: %d, failed Crypts: %d, failed Syncs: %d, failed Cleanups: %d.'.PHP_EOL,
577 577
                     count($result->getBackups()),
578 578
                     $result->checksFailedCount(),
579 579
                     $result->cryptsFailedCount(),
@@ -596,7 +596,7 @@  discard block
 block discarded – undo
596 596
         if ($this->colors) {
597 597
             $buffer = Util\Cli::formatWithColor($color, $buffer);
598 598
         }
599
-        $this->write($buffer . PHP_EOL);
599
+        $this->write($buffer.PHP_EOL);
600 600
     }
601 601
 
602 602
     /**
Please login to merge, or discard this patch.
src/Log/MailTemplate.php 1 patch
Spacing   +23 added lines, -23 removed lines patch added patch discarded remove patch
@@ -47,39 +47,39 @@
 block discarded – undo
47 47
     public static function setDefaultSnippets()
48 48
     {
49 49
         self::setSnippets([
50
-            'sBody'                    => 'style="font-family: Arial, Helvetica, sans-serif; ' .
51
-                                                 'background-color:#343b43; ' .
52
-                                                 'font-size: 15px; margin:0; ' .
50
+            'sBody'                    => 'style="font-family: Arial, Helvetica, sans-serif; '.
51
+                                                 'background-color:#343b43; '.
52
+                                                 'font-size: 15px; margin:0; '.
53 53
                                                  'padding:0;"',
54
-            'sTableHeader'             => 'style="width:100%; ' .
55
-                                                 'font-family: Arial, Helvetica, sans-serif; ' .
56
-                                                 'margin:0; color:#e6e6e6;" ' .
54
+            'sTableHeader'             => 'style="width:100%; '.
55
+                                                 'font-family: Arial, Helvetica, sans-serif; '.
56
+                                                 'margin:0; color:#e6e6e6;" '.
57 57
                                           'align="center" cellpadding="5" cellspacing="0"',
58
-            'sTableError'              => 'style="width:100%; ' .
59
-                                                 'background-color:#e6e6e6; ' .
60
-                                                 'margin:0 auto 15px; ' .
61
-                                                 'border:1px solid #011516;" ' .
58
+            'sTableError'              => 'style="width:100%; '.
59
+                                                 'background-color:#e6e6e6; '.
60
+                                                 'margin:0 auto 15px; '.
61
+                                                 'border:1px solid #011516;" '.
62 62
                                           'align="center" cellpadding="5" cellspacing="0"',
63
-            'sTableErrorCol'           => 'style="border-top: 1px solid #f6f6f6; ' .
63
+            'sTableErrorCol'           => 'style="border-top: 1px solid #f6f6f6; '.
64 64
                                                  'border-bottom: 1px solid #c9c9c9;"',
65
-            'sTableContent'            => 'style="width:380px; ' .
66
-                                                 'font-family: Arial, Helvetica, sans-serif; ' .
67
-                                                 'margin:0 auto;" ' .
65
+            'sTableContent'            => 'style="width:380px; '.
66
+                                                 'font-family: Arial, Helvetica, sans-serif; '.
67
+                                                 'margin:0 auto;" '.
68 68
                                           'align="center" cellpadding="0" cellspacing="0"',
69 69
             'sTableContentCol'         => 'style="padding:0 10px;"',
70
-            'sTableStatus'             => 'style="background-color:#%s; ' .
71
-                                                 'width:100%%; ' .
72
-                                                 'margin:0 auto 15px; ' .
73
-                                                 'border:1px solid #011516;" ' .
70
+            'sTableStatus'             => 'style="background-color:#%s; '.
71
+                                                 'width:100%%; '.
72
+                                                 'margin:0 auto 15px; '.
73
+                                                 'border:1px solid #011516;" '.
74 74
                                           'align="center" cellpadding="10" cellspacing="0"',
75 75
             'sTableStatusHead'         => 'style="margin:0;"',
76 76
             'sTableStatusText'         => 'style="font-size:16px;"',
77
-            'sTableBackup'             => 'style="width:100%; font-family: Arial, Helvetica, sans-serif; ' .
78
-                                                 'background-color:#e6e6e6; ' .
79
-                                                 'margin:0 0 15px; ' .
80
-                                                 'border:1px solid #011516;" ' .
77
+            'sTableBackup'             => 'style="width:100%; font-family: Arial, Helvetica, sans-serif; '.
78
+                                                 'background-color:#e6e6e6; '.
79
+                                                 'margin:0 0 15px; '.
80
+                                                 'border:1px solid #011516;" '.
81 81
                                           'align="center" cellpadding="5" cellspacing="0" width="100%"',
82
-            'sTableBackupStatusColumn' => 'style="background-color:#%s; ' .
82
+            'sTableBackupStatusColumn' => 'style="background-color:#%s; '.
83 83
                                                  'border-bottom:1px solid #747474;"',
84 84
             'sTableBackupStatusText'   => 'style="float:right;"',
85 85
             'sRowHead'                 => 'style="border-top: 1px solid #f6f6f6; border-bottom: 1px solid #c9c9c9;"',
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
             $this->configureExcludes($cmd, $this->excludes);
222 222
             $cmd->addOptionIfNotEmpty('--delete', $this->delete, false);
Please login to merge, or discard this patch.
src/Cli/Executable/Tar.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -171,7 +171,7 @@
 block discarded – undo
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)));
Please login to merge, or discard this patch.
src/Backup/Sync/Ftp.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
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(
Please login to merge, or discard this patch.