Completed
Push — master ( a9b395...9b107f )
by Sebastian
10:30
created
src/Backup/Compressor/Directory.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,8 +58,8 @@
 block discarded – undo
58 58
                          ? $target->getPathname()
59 59
                          : $target->getPathnamePlain();
60 60
             $this->executable->archiveTo($archiveName)
61
-                             ->useCompression($target->getCompressor()->getCommand())
62
-                             ->removeSourceDirectory(true);
61
+                                ->useCompression($target->getCompressor()->getCommand())
62
+                                ->removeSourceDirectory(true);
63 63
         }
64 64
         return $this->executable;
65 65
     }
Please login to merge, or discard this patch.
src/Backup/Crypter/Mcrypt.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -142,13 +142,13 @@
 block discarded – undo
142 142
         if (null == $this->executable) {
143 143
             $this->executable = new Executable\Mcrypt($this->pathToMcrypt);
144 144
             $this->executable->useAlgorithm($this->algorithm)
145
-                             ->useKey($this->key)
146
-                             ->useKeyFile($this->keyFile)
147
-                             ->useConfig($this->config)
148
-                             ->useHash($this->hash)
149
-                             ->saveAt($target->getPathname())
150
-                             ->deleteUncrypted(!$this->keepUncrypted)
151
-                             ->showStdErr($this->showStdErr);
145
+                                ->useKey($this->key)
146
+                                ->useKeyFile($this->keyFile)
147
+                                ->useConfig($this->config)
148
+                                ->useHash($this->hash)
149
+                                ->saveAt($target->getPathname())
150
+                                ->deleteUncrypted(!$this->keepUncrypted)
151
+                                ->showStdErr($this->showStdErr);
152 152
         }
153 153
 
154 154
         return $this->executable;
Please login to merge, or discard this patch.
src/Backup/Crypter/OpenSSL.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -132,11 +132,11 @@
 block discarded – undo
132 132
                 $this->executable->useSSLCert($this->certFile);
133 133
             } else {
134 134
                 $this->executable->usePassword($this->password)
135
-                                 ->encodeBase64(true);
135
+                                    ->encodeBase64(true);
136 136
             }
137 137
             $this->executable->useAlgorithm($this->algorithm)
138
-                             ->deleteUncrypted(!$this->keepUncrypted)
139
-                             ->showStdErr($this->showStdErr);
138
+                                ->deleteUncrypted(!$this->keepUncrypted)
139
+                                ->showStdErr($this->showStdErr);
140 140
         }
141 141
 
142 142
         return $this->executable;
Please login to merge, or discard this patch.
src/Backup/Source/Arangodump.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -168,14 +168,14 @@
 block discarded – undo
168 168
         if (null == $this->executable) {
169 169
             $this->executable = new Executable\Arangodump($this->pathToArangodump);
170 170
             $this->executable->useEndpoint($this->endpoint)
171
-                             ->credentials($this->username, $this->password)
172
-                             ->dumpDatabase($this->database)
173
-                             ->dumpCollections($this->collections)
174
-                             ->disableAuthentication($this->disableAuthentication)
175
-                             ->includeSystemCollections($this->includeSystemCollections)
176
-                             ->dumpData($this->dumpData)
177
-                             ->dumpTo($this->getDumpDir($target))
178
-                             ->showStdErr($this->showStdErr);
171
+                                ->credentials($this->username, $this->password)
172
+                                ->dumpDatabase($this->database)
173
+                                ->dumpCollections($this->collections)
174
+                                ->disableAuthentication($this->disableAuthentication)
175
+                                ->includeSystemCollections($this->includeSystemCollections)
176
+                                ->dumpData($this->dumpData)
177
+                                ->dumpTo($this->getDumpDir($target))
178
+                                ->showStdErr($this->showStdErr);
179 179
         }
180 180
 
181 181
         return $this->executable;
Please login to merge, or discard this patch.
src/Backup/Source/Elasticdump.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -138,11 +138,11 @@
 block discarded – undo
138 138
         if (null == $this->executable) {
139 139
             $this->executable = new Executable\Elasticdump($this->pathToElasticdump);
140 140
             $this->executable->useHost($this->host)
141
-                             ->credentials($this->user, $this->password)
142
-                             ->dumpIndex($this->index)
143
-                             ->dumpType($this->type)
144
-                             ->dumpTo($target->getPathnamePlain())
145
-                             ->showStdErr($this->showStdErr);
141
+                                ->credentials($this->user, $this->password)
142
+                                ->dumpIndex($this->index)
143
+                                ->dumpType($this->type)
144
+                                ->dumpTo($target->getPathnamePlain())
145
+                                ->showStdErr($this->showStdErr);
146 146
         }
147 147
         return $this->executable;
148 148
     }
Please login to merge, or discard this patch.
src/Backup/Source/Mongodump.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -186,14 +186,14 @@
 block discarded – undo
186 186
         if (null == $this->executable) {
187 187
             $this->executable = new Executable\Mongodump($this->pathToMongodump);
188 188
             $this->executable->dumpToDirectory($this->getDumpDir($target))
189
-                             ->useIpv6($this->useIPv6)
190
-                             ->useHost($this->host)
191
-                             ->credentials($this->user, $this->password, $this->authenticationDatabase)
192
-                             ->dumpDatabases($this->databases)
193
-                             ->dumpCollections($this->collections)
194
-                             ->excludeCollections($this->excludeCollections)
195
-                             ->excludeCollectionsWithPrefix($this->excludeCollectionsWithPrefix)
196
-                             ->showStdErr($this->showStdErr);
189
+                                ->useIpv6($this->useIPv6)
190
+                                ->useHost($this->host)
191
+                                ->credentials($this->user, $this->password, $this->authenticationDatabase)
192
+                                ->dumpDatabases($this->databases)
193
+                                ->dumpCollections($this->collections)
194
+                                ->excludeCollections($this->excludeCollections)
195
+                                ->excludeCollectionsWithPrefix($this->excludeCollectionsWithPrefix)
196
+                                ->showStdErr($this->showStdErr);
197 197
         }
198 198
 
199 199
         return $this->executable;
Please login to merge, or discard this patch.
src/Backup/Source/Tar.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -144,9 +144,9 @@
 block discarded – undo
144 144
             }
145 145
             $this->executable = new Executable\Tar($this->pathToTar);
146 146
             $this->executable->archiveDirectory($this->path)
147
-                             ->useCompression($this->compression)
148
-                             ->archiveTo($this->pathToArchive)
149
-                             ->showStdErr($this->showStdErr);
147
+                                ->useCompression($this->compression)
148
+                                ->archiveTo($this->pathToArchive)
149
+                                ->showStdErr($this->showStdErr);
150 150
         }
151 151
         return $this->executable;
152 152
     }
Please login to merge, or discard this patch.
src/Backup/Sync/Rsync.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -147,12 +147,12 @@
 block discarded – undo
147 147
                 $this->executable->useArgs(Util\Str::replaceTargetPlaceholders($this->args, $target->getPathname()));
148 148
             } else {
149 149
                 $this->executable->syncFrom($this->getSyncSource($target))
150
-                     ->toHost($this->host)
151
-                     ->toPath($this->path)
152
-                     ->asUser($this->user)
153
-                     ->compressed(!$target->shouldBeCompressed())
154
-                     ->removeDeleted($this->delete)
155
-                     ->exclude($this->excludes);
150
+                        ->toHost($this->host)
151
+                        ->toPath($this->path)
152
+                        ->asUser($this->user)
153
+                        ->compressed(!$target->shouldBeCompressed())
154
+                        ->removeDeleted($this->delete)
155
+                        ->exclude($this->excludes);
156 156
             }
157 157
         }
158 158
         return $this->executable;
Please login to merge, or discard this patch.
src/Backup/Sync/SoftLayer.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -116,9 +116,9 @@
 block discarded – undo
116 116
         try {
117 117
             /** @var \ObjectStorage_Container $container */
118 118
             $container = $objectStorage->with($this->container . $targetPath)
119
-                                       ->setLocalFile($sourcePath)
120
-                                       ->setMeta('description', 'PHPBU Backup: ' . date('r', time()))
121
-                                       ->setHeader('Content-Type', $target->getMimeType());
119
+                                        ->setLocalFile($sourcePath)
120
+                                        ->setMeta('description', 'PHPBU Backup: ' . date('r', time()))
121
+                                        ->setHeader('Content-Type', $target->getMimeType());
122 122
             $container->create();
123 123
         } catch (\Exception $e) {
124 124
             throw new Exception($e->getMessage(), null, $e);
Please login to merge, or discard this patch.