Completed
Push — master ( 1d14da...d37c28 )
by Arne
02:16
created
src/Cli/Command/DumpCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     {
27 27
         $storeman->dump(
28 28
             $input->getArgument('path'),
29
-            $input->getOption(  'revision') ? (int)$input->getOption('revision') : null,
29
+            $input->getOption('revision') ? (int)$input->getOption('revision') : null,
30 30
             $input->getOption('vault'),
31 31
             new SynchronizationProgressListener($output)
32 32
         );
Please login to merge, or discard this patch.
src/Cli/Command/InitCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
                 }
69 69
             }
70 70
         }
71
-        while($this->consoleStyle->choice('Add another vault?', ['y', 'n'], 'n') === 'y');
71
+        while ($this->consoleStyle->choice('Add another vault?', ['y', 'n'], 'n') === 'y');
72 72
 
73 73
 
74 74
         $skipDefaults = !$input->getOption('writeDefaults');
Please login to merge, or discard this patch.
src/Cli/ConflictHandler/ConsolePromptConflictHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
 
46 46
             $this->consoleStyle->warning("Invalid choice");
47 47
         }
48
-        while(true);
48
+        while (true);
49 49
 
50 50
         return $return;
51 51
     }
Please login to merge, or discard this patch.
src/Cli/Application.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
 
5 5
 class Application extends \Symfony\Component\Console\Application
6 6
 {
7
-    public const LOGO =  <<<TXT
7
+    public const LOGO = <<<TXT
8 8
   ____  _                                       
9 9
  / ___|| |_ ___  _ __ ___ _ __ ___   __ _ _ __  
10 10
  \___ \| __/ _ \| '__/ _ \ '_ ` _ \ / _` | '_ \ 
Please login to merge, or discard this patch.
doc/encryptionPerformanceTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
     $contexts[$algorithm] = hash_init($algorithm);
14 14
 }
15 15
 
16
-while(!feof($fileHandle))
16
+while (!feof($fileHandle))
17 17
 {
18 18
     $buffer = fread($fileHandle, 65536);
19 19
 
Please login to merge, or discard this patch.
src/LockAdapter/StorageBasedLockAdapter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
 
46 46
         $started = time();
47 47
 
48
-        while(true)
48
+        while (true)
49 49
         {
50 50
             $this->logger->debug("Checking lock existence for '{$name}'...");
51 51
 
Please login to merge, or discard this patch.
src/Vault.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -172,8 +172,7 @@
 block discarded – undo
172 172
         $this->logger->info(sprintf("Loading %s remote index...", $revision ? "r{$revision}" : 'latest'));
173 173
 
174 174
         $synchronization = $revision ?
175
-            $this->getVaultLayout()->getSynchronization($revision) :
176
-            $this->getVaultLayout()->getLastSynchronization();
175
+            $this->getVaultLayout()->getSynchronization($revision) : $this->getVaultLayout()->getLastSynchronization();
177 176
 
178 177
         return $synchronization ? $synchronization->getIndex() : null;
179 178
     }
Please login to merge, or discard this patch.
src/Storeman.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
 
117 117
     public function restore(int $toRevision = null, string $fromVault = null, SynchronizationProgressListenerInterface $progressListener = null): OperationResultList
118 118
     {
119
-        $this->getLogger()->notice(sprintf("Restoring from %s...", $toRevision ? "r{$toRevision}": 'latest revision'));
119
+        $this->getLogger()->notice(sprintf("Restoring from %s...", $toRevision ? "r{$toRevision}" : 'latest revision'));
120 120
 
121 121
         $vault = $this->getVaultForDownload($toRevision, $fromVault);
122 122
 
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
 
133 133
     public function dump(string $targetPath, int $revision = null, string $fromVault = null, SynchronizationProgressListenerInterface $progressListener = null): OperationResultList
134 134
     {
135
-        $this->getLogger()->notice(sprintf("Dumping from %s to {$targetPath}...", $revision ? "r{$revision}": 'latest revision'));
135
+        $this->getLogger()->notice(sprintf("Dumping from %s to {$targetPath}...", $revision ? "r{$revision}" : 'latest revision'));
136 136
 
137 137
         $vault = $this->getVaultForDownload($revision, $fromVault);
138 138
 
Please login to merge, or discard this patch.