Completed
Push — master ( 1d6e1a...19a3cd )
by Sebastian
03:35
created
src/Backup/Compressor/Directory.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -71,10 +71,10 @@
 block discarded – undo
71 71
             $this->executable = new Tar($this->pathToCommand);
72 72
             $this->executable->archiveDirectory($this->path);
73 73
             $this->executable->archiveTo($this->getArchiveFile($target))
74
-                             ->useCompression(
75
-                                 $target->shouldBeCompressed() ? $target->getCompressor()->getCommand() : ''
76
-                             )
77
-                             ->removeSourceDirectory(true);
74
+                                ->useCompression(
75
+                                    $target->shouldBeCompressed() ? $target->getCompressor()->getCommand() : ''
76
+                                )
77
+                                ->removeSourceDirectory(true);
78 78
         }
79 79
         return $this->executable;
80 80
     }
Please login to merge, or discard this patch.
src/Backup/Compressor/Abstraction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
         $result->debug($res->getCmd());
68 68
 
69 69
         if (0 !== $res->getCode()) {
70
-            throw new Exception('Failed to \'compress\' file: ' . $this->path);
70
+            throw new Exception('Failed to \'compress\' file: '.$this->path);
71 71
         }
72 72
 
73 73
         return $this->getArchiveFile($target);
Please login to merge, or discard this patch.
src/Backup/Target.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
                     $this->pathElementsChanging[] = $d;
152 152
                     $foundChangingElement         = true;
153 153
                 } else {
154
-                    $this->pathNotChanging .= DIRECTORY_SEPARATOR . $d;
154
+                    $this->pathNotChanging .= DIRECTORY_SEPARATOR.$d;
155 155
                 }
156 156
             }
157 157
             // replace potential date placeholder
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
      */
186 186
     public function appendFileSuffix($suffix)
187 187
     {
188
-        $this->filename .= '.' . $suffix;
188
+        $this->filename .= '.'.$suffix;
189 189
     }
190 190
 
191 191
     /**
@@ -251,10 +251,10 @@  discard block
 block discarded – undo
251 251
     {
252 252
         $suffix = '';
253 253
         if (!$plain) {
254
-            $suffix .= $this->shouldBeCompressed() ? '.' . $this->compressor->getSuffix() : '';
255
-            $suffix .= $this->shouldBeEncrypted() ? '.' . $this->crypter->getSuffix() : '';
254
+            $suffix .= $this->shouldBeCompressed() ? '.'.$this->compressor->getSuffix() : '';
255
+            $suffix .= $this->shouldBeEncrypted() ? '.'.$this->crypter->getSuffix() : '';
256 256
         }
257
-        return $this->filename . $suffix;
257
+        return $this->filename.$suffix;
258 258
     }
259 259
 
260 260
     /**
Please login to merge, or discard this patch.
src/Backup/Source/Mysqldump.php 2 patches
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -220,19 +220,19 @@
 block discarded – undo
220 220
         if (null == $this->executable) {
221 221
             $this->executable = new Executable\Mysqldump($this->pathToMysqldump);
222 222
             $this->executable->credentials($this->user, $this->password)
223
-                             ->useHost($this->host)
224
-                             ->useQuickMode($this->quick)
225
-                             ->lockTables($this->lockTables)
226
-                             ->dumpBlobsHexadecimal($this->hexBlob)
227
-                             ->useCompression($this->compress)
228
-                             ->useExtendedInsert($this->extendedInsert)
229
-                             ->dumpTables($this->tables)
230
-                             ->dumpDatabases($this->databases)
231
-                             ->ignoreTables($this->ignoreTables)
232
-                             ->produceFilePerTable($this->filePerTable)
233
-                             ->dumpNoData($this->noData)
234
-                             ->dumpStructureOnly($this->structureOnly)
235
-                             ->dumpTo($this->getDumpTarget($target));
223
+                                ->useHost($this->host)
224
+                                ->useQuickMode($this->quick)
225
+                                ->lockTables($this->lockTables)
226
+                                ->dumpBlobsHexadecimal($this->hexBlob)
227
+                                ->useCompression($this->compress)
228
+                                ->useExtendedInsert($this->extendedInsert)
229
+                                ->dumpTables($this->tables)
230
+                                ->dumpDatabases($this->databases)
231
+                                ->ignoreTables($this->ignoreTables)
232
+                                ->produceFilePerTable($this->filePerTable)
233
+                                ->dumpNoData($this->noData)
234
+                                ->dumpStructureOnly($this->structureOnly)
235
+                                ->dumpTo($this->getDumpTarget($target));
236 236
         }
237 237
         return $this->executable;
238 238
     }
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
         $result->debug($this->getExecutable($target)->getCommandLinePrintable());
204 204
 
205 205
         if (!$mysqldump->wasSuccessful()) {
206
-            throw new Exception('mysqldump failed:' . $mysqldump->getStdErr());
206
+            throw new Exception('mysqldump failed:'.$mysqldump->getStdErr());
207 207
         }
208 208
 
209 209
         return $this->createStatus($target);
@@ -258,6 +258,6 @@  discard block
 block discarded – undo
258 258
      */
259 259
     private function getDumpTarget(Target $target)
260 260
     {
261
-        return $target->getPathnamePlain() . ($this->filePerTable ? '.dump' : '');
261
+        return $target->getPathnamePlain().($this->filePerTable ? '.dump' : '');
262 262
     }
263 263
 }
Please login to merge, or discard this patch.