Completed
Push — master ( 8eb905...4f1d49 )
by Sebastian
03:16
created
src/Backup/Sync/Ftp.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
     {
84 84
 
85 85
         // silence ftp errors
86
-        $old  = error_reporting(0);
86
+        $old = error_reporting(0);
87 87
         if (!$ftpConnection = ftp_connect($this->host)) {
88 88
             throw new Exception(
89 89
                 sprintf(
Please login to merge, or discard this patch.
src/Cli/Cmd.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
     {
55 55
         return $this->cmd
56 56
         . (count($this->options) ? ' ' . implode(' ', $this->options) : '')
57
-        . ($this->isSilent       ? ' 2> /dev/null'                    : '');
57
+        . ($this->isSilent ? ' 2> /dev/null' : '');
58 58
     }
59 59
 
60 60
     /**
Please login to merge, or discard this patch.
src/Log/Mail.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -176,14 +176,14 @@  discard block
 block discarded – undo
176 176
             $errors  = $this->getErrorHtml($result);
177 177
             $info    = $this->getInfoHtml($result);
178 178
             $footer  = $this->getFooterHtml();
179
-            $body    = '<html><body '. TPL::getSnippet('sBody') . '>'
179
+            $body    = '<html><body ' . TPL::getSnippet('sBody') . '>'
180 180
                      . $header
181 181
                      . $status
182 182
                      . $errors
183 183
                      . $info
184 184
                      . $footer
185 185
                      . '</body></html>';
186
-            $sent    = null;
186
+            $sent = null;
187 187
 
188 188
             try {
189 189
                 /** @var \Swift_Message $message */
@@ -387,7 +387,7 @@  discard block
 block discarded – undo
387 387
             $this->numCleanups,
388 388
             Str::appendPluralS('cleanup', $this->numCleanups)
389 389
         );
390
-        $html = '<table ' . sprintf(TPL::getSnippet('sTableStatus'), $color) .'>' .
390
+        $html = '<table ' . sprintf(TPL::getSnippet('sTableStatus'), $color) . '>' .
391 391
                  '<tr><td>' .
392 392
                   '<span ' . TPL::getSnippet('sTableStatusText') . '>' . date('Y-m-d H:i') . '</span>' .
393 393
                   '<h1 ' . TPL::getSnippet('sTableStatusHead') . '>' . $status . '</h1>' .
@@ -445,7 +445,7 @@  discard block
 block discarded – undo
445 445
                 if ($backup->allOk()) {
446 446
                     $color  = TPL::getSnippet('cStatusOK');
447 447
                     $status = 'OK';
448
-                } elseif($backup->okButSkipsOrFails()) {
448
+                } elseif ($backup->okButSkipsOrFails()) {
449 449
                     $color  = TPL::getSnippet('cStatusWARN');
450 450
                     $status = 'WARNING';
451 451
                 } else {
@@ -455,7 +455,7 @@  discard block
 block discarded – undo
455 455
                 $html .= '<tr>' .
456 456
                           '<td ' . sprintf(TPL::getSnippet('sTableBackupStatusColumn'), $color) . ' colspan="4">' .
457 457
                           sprintf('backup <em>%s</em>', $backup->getName()) .
458
-                          ' <span ' . TPL::getSnippet('sTableBackupStatusText') . '>' . $status .'</span>'.
458
+                          ' <span ' . TPL::getSnippet('sTableBackupStatusText') . '>' . $status . '</span>' .
459 459
                           '</td>' .
460 460
                          '</tr>' .
461 461
                          '<tr>' .
Please login to merge, or discard this patch.
src/Util/Cli.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
         'mongodump' => [],
33 33
         'mysqldump' => [
34 34
             '/usr/local/mysql/bin/mysqldump', // Mac OS X
35
-            '/usr/mysql/bin/mysqldump',       // Linux
35
+            '/usr/mysql/bin/mysqldump', // Linux
36 36
         ],
37 37
         'tar'       => [],
38 38
     ];
Please login to merge, or discard this patch.
src/Cli/Executable/RedisCli.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
      */
79 79
     public function runCommand($command)
80 80
     {
81
-        if(!isset($this->availableCommands[$command])) {
81
+        if (!isset($this->availableCommands[$command])) {
82 82
             throw new Exception('Unknown redis-cli command');
83 83
         }
84 84
         $this->command = $command;
Please login to merge, or discard this patch.
src/Runner.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -254,7 +254,7 @@  discard block
 block discarded – undo
254 254
                     $this->result->cryptSkipped($crypt);
255 255
                 } else {
256 256
                     /* @var \phpbu\App\Runner\Crypter $runner */
257
-                    $runner  = $this->factory->createRunner('crypter', $this->configuration->isSimulation());
257
+                    $runner = $this->factory->createRunner('crypter', $this->configuration->isSimulation());
258 258
                     $runner->run($this->factory->createCrypter($crypt->type, $crypt->options), $target, $this->result);
259 259
                 }
260 260
             } catch (Backup\Crypter\Exception $e) {
@@ -276,7 +276,7 @@  discard block
 block discarded – undo
276 276
     {
277 277
         /* @var \phpbu\App\Runner\Crypter $runner */
278 278
         /* @var \phpbu\App\Configuration\Backup\Sync $sync */
279
-        $runner  = $this->factory->createRunner('sync', $this->configuration->isSimulation());
279
+        $runner = $this->factory->createRunner('sync', $this->configuration->isSimulation());
280 280
         foreach ($backup->getSyncs() as $sync) {
281 281
             try {
282 282
                 $this->result->syncStart($sync);
Please login to merge, or discard this patch.