Completed
Push — master ( 963737...c8d43c )
by Sebastian
24s queued 10s
created
src/Cmd.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -194,7 +194,7 @@
 block discarded – undo
194 194
 
195 195
         if ($configLoader->hasValidationErrors()) {
196 196
             echo "  Warning - The configuration file did not pass validation!" . \PHP_EOL .
197
-                 "  The following problems have been detected:" . \PHP_EOL;
197
+                    "  The following problems have been detected:" . \PHP_EOL;
198 198
 
199 199
             foreach ($configLoader->getValidationErrors() as $line => $errors) {
200 200
                 echo \sprintf("\n  Line %d:\n", $line);
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -406,7 +406,7 @@
 block discarded – undo
406 406
   -v, --verbose            Output more verbose information.
407 407
   -V, --version            Output version information and exit.
408 408
 
409
-EOT;
409
+eot;
410 410
         if ($this->isPhar) {
411 411
             echo '  --version-check        Check whether phpbu is up to date.' . PHP_EOL;
412 412
             echo '  --self-update          Upgrade phpbu to the latest version.' . PHP_EOL;
Please login to merge, or discard this patch.
src/Backup/Source/Elasticdump.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -123,10 +123,10 @@
 block discarded – undo
123 123
     {
124 124
         $executable = new Executable\Elasticdump($this->pathToElasticdump);
125 125
         $executable->useHost($this->host)
126
-                   ->credentials($this->user, $this->password)
127
-                   ->dumpIndex($this->index)
128
-                   ->dumpType($this->type)
129
-                   ->dumpTo($target->getPathnamePlain());
126
+                    ->credentials($this->user, $this->password)
127
+                    ->dumpIndex($this->index)
128
+                    ->dumpType($this->type)
129
+                    ->dumpTo($target->getPathnamePlain());
130 130
         return $executable;
131 131
     }
132 132
 
Please login to merge, or discard this patch.
src/Util/Cli.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
         'mongodump' => [],
44 44
         'mysqldump' => [
45 45
             '/usr/local/mysql/bin', // Mac OS X
46
-            '/usr/mysql/bin',       // Linux
46
+            '/usr/mysql/bin', // Linux
47 47
         ],
48 48
         'tar'       => [],
49 49
     ];
@@ -82,20 +82,20 @@  discard block
 block discarded – undo
82 82
     public static function detectCmdLocation(string $cmd, string $path = '', array $optionalLocations = []) : string
83 83
     {
84 84
         $detectionSteps = [
85
-            function ($cmd) use ($path) {
85
+            function($cmd) use ($path) {
86 86
                 if (!empty($path)) {
87 87
                     return self::detectCmdLocationInPath($cmd, $path);
88 88
                 }
89 89
                 return '';
90 90
             },
91
-            function ($cmd) {
91
+            function($cmd) {
92 92
                 return self::detectCmdLocationWithWhich($cmd);
93 93
             },
94
-            function ($cmd) {
94
+            function($cmd) {
95 95
                 $paths = explode(PATH_SEPARATOR, self::getEnvPath());
96 96
                 return self::detectCmdLocationInPaths($cmd, $paths);
97 97
             },
98
-            function ($cmd) use ($optionalLocations) {
98
+            function($cmd) use ($optionalLocations) {
99 99
                 return self::detectCmdLocationInPaths($cmd, $optionalLocations);
100 100
             }
101 101
         ];
Please login to merge, or discard this patch.
src/Util/Path.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
         $time = $time === null ? time() : $time;
28 28
         return preg_replace_callback(
29 29
             '#%([a-zA-Z])#',
30
-            function ($match) use ($time) {
30
+            function($match) use ($time) {
31 31
                 return date($match[1], $time);
32 32
             },
33 33
             $string
Please login to merge, or discard this patch.