@@ -33,7 +33,7 @@ |
||
| 33 | 33 | |
| 34 | 34 | $started = time(); |
| 35 | 35 | |
| 36 | - while(true) |
|
| 36 | + while (true) |
|
| 37 | 37 | { |
| 38 | 38 | if (!$this->storageAdapter->exists($lockFileName)) |
| 39 | 39 | { |
@@ -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 | / __ |/ __/ __/ _ \/ / |/ / , _/ |