Completed
Push — master ( 7e039a...27e043 )
by Sebastian
02:39
created
src/Util/Cli.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
         'mongodump' => [],
50 50
         'mysqldump' => [
51 51
             '/usr/local/mysql/bin', // Mac OS X
52
-            '/usr/mysql/bin',       // Linux
52
+            '/usr/mysql/bin', // Linux
53 53
         ],
54 54
         'tar'       => [],
55 55
     ];
Please login to merge, or discard this patch.
src/Backup/Cli.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
      */
40 40
     public function __construct(Runner $runner = null)
41 41
     {
42
-        $this->runner = $runner ? : new Runner\Simple();
42
+        $this->runner = $runner ?: new Runner\Simple();
43 43
     }
44 44
 
45 45
     /**
Please login to merge, or discard this patch.
src/Backup/Sync/AmazonS3v2.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
     public function sync(Target $target, Result $result)
30 30
     {
31 31
         $sourcePath = $target->getPathname();
32
-        $targetPath = $this->path . '/' .  $target->getFilename();
32
+        $targetPath = $this->path . '/' . $target->getFilename();
33 33
 
34 34
         $s3 = S3Client::factory(
35 35
             [
Please login to merge, or discard this patch.
src/Configuration/Loader/Json.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -222,7 +222,7 @@
 block discarded – undo
222 222
             throw new Exception('backup requires a target config');
223 223
         }
224 224
         $compress = Arr::getValue($json['target'], 'compress');
225
-        $filename = $this->getAdapterizedValue(Arr::getValue($json['target'], 'filename',''));
225
+        $filename = $this->getAdapterizedValue(Arr::getValue($json['target'], 'filename', ''));
226 226
         $dirname  = $this->getAdapterizedValue(Arr::getValue($json['target'], 'dirname', ''));
227 227
 
228 228
         if ($dirname) {
Please login to merge, or discard this patch.
src/Log/Mail.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
                      . $info
198 198
                      . $footer
199 199
                      . '</body></html>';
200
-            $state   = $result->allOk() ? 'OK' : ($result->backupOkButSkipsOrFails() ? 'WARNING' : 'ERROR');
200
+            $state = $result->allOk() ? 'OK' : ($result->backupOkButSkipsOrFails() ? 'WARNING' : 'ERROR');
201 201
 
202 202
             $this->mailer->Subject = $this->subject . ' [' . $state . ']';
203 203
             $this->mailer->setFrom($this->senderMail, $this->senderName);
@@ -361,7 +361,7 @@  discard block
 block discarded – undo
361 361
             if (!$this->mailer->send()) {
362 362
                 throw new Exception($this->mailer->ErrorInfo);
363 363
             }
364
-        } catch (\Exception $e)  {
364
+        } catch (\Exception $e) {
365 365
             throw new Exception($e->getMessage());
366 366
         }
367 367
     }
Please login to merge, or discard this patch.