@@ -26,7 +26,7 @@ |
||
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 | ); |
@@ -68,7 +68,7 @@ |
||
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'); |
@@ -149,8 +149,7 @@ |
||
149 | 149 | public function loadRemoteIndex(int $revision = null): ?Index |
150 | 150 | { |
151 | 151 | $synchronization = $revision ? |
152 | - $this->getVaultLayout()->getSynchronization($revision) : |
|
153 | - $this->getVaultLayout()->getLastSynchronization(); |
|
152 | + $this->getVaultLayout()->getSynchronization($revision) : $this->getVaultLayout()->getLastSynchronization(); |
|
154 | 153 | |
155 | 154 | return $synchronization ? $synchronization->getIndex() : null; |
156 | 155 | } |
@@ -45,7 +45,7 @@ |
||
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 | } |
@@ -4,7 +4,7 @@ |
||
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 | \___ \| __/ _ \| '__/ _ \ '_ ` _ \ / _` | '_ \ |
@@ -13,7 +13,7 @@ |
||
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 |
@@ -45,7 +45,7 @@ |
||
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 |