@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * This file is part of the Packagist Mirror. |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * This file is part of the Packagist Mirror. |
@@ -106,7 +106,7 @@ discard block |
||
106 | 106 | */ |
107 | 107 | protected function flushProviders():Clean |
108 | 108 | { |
109 | - if (!$this->filesystem->hasFile(self::MAIN)){ |
|
109 | + if (!$this->filesystem->hasFile(self::MAIN)) { |
|
110 | 110 | return $this; |
111 | 111 | } |
112 | 112 |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * This file is part of the Packagist Mirror. |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | */ |
127 | 127 | public function init(InputInterface $input, OutputInterface $output) |
128 | 128 | { |
129 | - if(isset($this->input) && isset($this->output)){ |
|
129 | + if (isset($this->input) && isset($this->output)) { |
|
130 | 130 | return $this; |
131 | 131 | } |
132 | 132 |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * This file is part of the Packagist Mirror. |
@@ -190,7 +190,7 @@ discard block |
||
190 | 190 | return $this; |
191 | 191 | } |
192 | 192 | |
193 | - if (strpos($link, 'vfs://') !== false){ |
|
193 | + if (strpos($link, 'vfs://') !== false) { |
|
194 | 194 | return $this; |
195 | 195 | } |
196 | 196 | |
@@ -243,7 +243,7 @@ discard block |
||
243 | 243 | $this->delete($target); |
244 | 244 | } |
245 | 245 | |
246 | - retry(8, function () use ($from, $target) { |
|
246 | + retry(8, function() use ($from, $target) { |
|
247 | 247 | $this->filesystem->rename($this->getGzName($from), $target); |
248 | 248 | }, 250); |
249 | 249 |