Completed
Push — master ( 048270...0fff3c )
by Sebastian
06:20
created
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/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.
src/Runner.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -254,7 +254,7 @@  discard block
 block discarded – undo
254 254
                     $this->result->cryptSkipped($crypt);
255 255
                 } else {
256 256
                     /* @var \phpbu\App\Runner\Crypter $runner */
257
-                    $runner  = $this->factory->createRunner('crypter', $this->configuration->isSimulation());
257
+                    $runner = $this->factory->createRunner('crypter', $this->configuration->isSimulation());
258 258
                     $runner->run($this->factory->createCrypter($crypt->type, $crypt->options), $target, $this->result);
259 259
                 }
260 260
             } catch (Backup\Crypter\Exception $e) {
@@ -276,7 +276,7 @@  discard block
 block discarded – undo
276 276
     {
277 277
         /* @var \phpbu\App\Runner\Crypter $runner */
278 278
         /* @var \phpbu\App\Configuration\Backup\Sync $sync */
279
-        $runner  = $this->factory->createRunner('sync', $this->configuration->isSimulation());
279
+        $runner = $this->factory->createRunner('sync', $this->configuration->isSimulation());
280 280
         foreach ($backup->getSyncs() as $sync) {
281 281
             try {
282 282
                 $this->result->syncStart($sync);
Please login to merge, or discard this patch.
src/Cli/Executable/Pgdump.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -397,7 +397,7 @@
 block discarded – undo
397 397
      * Do not dump commands setting ownership.
398 398
      * --no-owner
399 399
      *
400
-     * @param $bool
400
+     * @param boolean $bool
401 401
      * @return \phpbu\App\Cli\Executable\Pgdump
402 402
      */
403 403
     public function dumpNoOwner($bool)
Please login to merge, or discard this patch.