Completed
Branch master (9d0750)
by Sebastian
03:05
created
src/Cli/Process.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
             throw new Exception('no command to execute');
84 84
         }
85 85
         $cmd = ($amount > 1 ? '(' . implode(' && ', $this->commands) . ')' : $this->commands[0])
86
-             . (!empty($this->redirectOutput) ? ' > ' . $this->redirectOutput : '');
86
+                . (!empty($this->redirectOutput) ? ' > ' . $this->redirectOutput : '');
87 87
 
88 88
         return $cmd;
89 89
     }
Please login to merge, or discard this patch.
src/Backup/Crypter/OpenSSL.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -126,10 +126,10 @@
 block discarded – undo
126 126
                 $this->executable->useSSLCert($this->certFile);
127 127
             } else {
128 128
                 $this->executable->usePassword($this->password)
129
-                                 ->encodeBase64(true);
129
+                                    ->encodeBase64(true);
130 130
             }
131 131
             $this->executable->useAlgorithm($this->algorithm)
132
-                             ->deleteUncrypted(!$this->keepUncrypted);
132
+                                ->deleteUncrypted(!$this->keepUncrypted);
133 133
         }
134 134
 
135 135
         return $this->executable;
Please login to merge, or discard this patch.
src/Backup/Crypter/Mcrypt.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -136,12 +136,12 @@
 block discarded – undo
136 136
         if (null == $this->executable) {
137 137
             $this->executable = new Executable\Mcrypt($this->pathToMcrypt);
138 138
             $this->executable->useAlgorithm($this->algorithm)
139
-                             ->useKey($this->key)
140
-                             ->useKeyFile($this->keyFile)
141
-                             ->useConfig($this->config)
142
-                             ->useHash($this->hash)
143
-                             ->saveAt($target->getPathname())
144
-                             ->deleteUncrypted(!$this->keepUncrypted);
139
+                                ->useKey($this->key)
140
+                                ->useKeyFile($this->keyFile)
141
+                                ->useConfig($this->config)
142
+                                ->useHash($this->hash)
143
+                                ->saveAt($target->getPathname())
144
+                                ->deleteUncrypted(!$this->keepUncrypted);
145 145
         }
146 146
 
147 147
         return $this->executable;
Please login to merge, or discard this patch.
src/Backup/Source/XtraBackup.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -142,11 +142,11 @@
 block discarded – undo
142 142
         if (null == $this->executable) {
143 143
             $this->executable = new Executable\Innobackupex($this->pathToXtraBackup);
144 144
             $this->executable->useHost($this->host)
145
-                             ->credentials($this->user, $this->password)
146
-                             ->dumpDatabases($this->databases)
147
-                             ->including($this->include)
148
-                             ->dumpFrom($this->dataDir)
149
-                             ->dumpTo($this->getDumpDir($target));
145
+                                ->credentials($this->user, $this->password)
146
+                                ->dumpDatabases($this->databases)
147
+                                ->including($this->include)
148
+                                ->dumpFrom($this->dataDir)
149
+                                ->dumpTo($this->getDumpDir($target));
150 150
         }
151 151
 
152 152
         return $this->executable;
Please login to merge, or discard this patch.
src/Backup/Source/Tar.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -136,8 +136,8 @@
 block discarded – undo
136 136
             }
137 137
             $this->executable = new Executable\Tar($this->pathToTar);
138 138
             $this->executable->archiveDirectory($this->path)
139
-                             ->useCompression($this->compression)
140
-                             ->archiveTo($this->pathToArchive);
139
+                                ->useCompression($this->compression)
140
+                                ->archiveTo($this->pathToArchive);
141 141
         }
142 142
         return $this->executable;
143 143
     }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
     {
95 95
         // set uncompressed default MIME type
96 96
         $target->setMimeType('application/x-tar');
97
-        $tar    = $this->execute($target);
97
+        $tar = $this->execute($target);
98 98
 
99 99
         $result->debug($tar->getCmd());
100 100
 
Please login to merge, or discard this patch.
src/Backup/Source/Arangodump.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -160,13 +160,13 @@
 block discarded – undo
160 160
         if (null == $this->executable) {
161 161
             $this->executable = new Executable\Arangodump($this->pathToArangodump);
162 162
             $this->executable->useEndpoint($this->endpoint)
163
-                             ->credentials($this->username, $this->password)
164
-                             ->dumpDatabase($this->database)
165
-                             ->dumpCollections($this->collections)
166
-                             ->disableAuthentication($this->disableAuthentication)
167
-                             ->includeSystemCollections($this->includeSystemCollections)
168
-                             ->dumpData($this->dumpData)
169
-                             ->dumpTo($this->getDumpDir($target));
163
+                                ->credentials($this->username, $this->password)
164
+                                ->dumpDatabase($this->database)
165
+                                ->dumpCollections($this->collections)
166
+                                ->disableAuthentication($this->disableAuthentication)
167
+                                ->includeSystemCollections($this->includeSystemCollections)
168
+                                ->dumpData($this->dumpData)
169
+                                ->dumpTo($this->getDumpDir($target));
170 170
         }
171 171
 
172 172
         return $this->executable;
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
@@ -130,10 +130,10 @@
 block discarded – undo
130 130
         if (null == $this->executable) {
131 131
             $this->executable = new Executable\Elasticdump($this->pathToElasticdump);
132 132
             $this->executable->useHost($this->host)
133
-                             ->credentials($this->user, $this->password)
134
-                             ->dumpIndex($this->index)
135
-                             ->dumpType($this->type)
136
-                             ->dumpTo($target->getPathnamePlain());
133
+                                ->credentials($this->user, $this->password)
134
+                                ->dumpIndex($this->index)
135
+                                ->dumpType($this->type)
136
+                                ->dumpTo($target->getPathnamePlain());
137 137
         }
138 138
         return $this->executable;
139 139
     }
Please login to merge, or discard this patch.
src/Backup/Source/Mongodump.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -178,13 +178,13 @@
 block discarded – undo
178 178
         if (null == $this->executable) {
179 179
             $this->executable = new Executable\Mongodump($this->pathToMongodump);
180 180
             $this->executable->dumpToDirectory($this->getDumpDir($target))
181
-                             ->useIpv6($this->useIPv6)
182
-                             ->useHost($this->host)
183
-                             ->credentials($this->user, $this->password, $this->authenticationDatabase)
184
-                             ->dumpDatabases($this->databases)
185
-                             ->dumpCollections($this->collections)
186
-                             ->excludeCollections($this->excludeCollections)
187
-                             ->excludeCollectionsWithPrefix($this->excludeCollectionsWithPrefix);
181
+                                ->useIpv6($this->useIPv6)
182
+                                ->useHost($this->host)
183
+                                ->credentials($this->user, $this->password, $this->authenticationDatabase)
184
+                                ->dumpDatabases($this->databases)
185
+                                ->dumpCollections($this->collections)
186
+                                ->excludeCollections($this->excludeCollections)
187
+                                ->excludeCollectionsWithPrefix($this->excludeCollectionsWithPrefix);
188 188
         }
189 189
 
190 190
         return $this->executable;
Please login to merge, or discard this patch.
src/Backup/Source/Redis.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -127,9 +127,9 @@
 block discarded – undo
127 127
         if (null == $this->executable) {
128 128
             $this->executable = new Executable\RedisCli($this->pathToRedisCli);
129 129
             $this->executable->backup()
130
-                             ->useHost($this->host)
131
-                             ->usePort($this->port)
132
-                             ->usePassword($this->password);
130
+                                ->useHost($this->host)
131
+                                ->usePort($this->port)
132
+                                ->usePassword($this->password);
133 133
         }
134 134
         return $this->executable;
135 135
     }
Please login to merge, or discard this patch.