@@ -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. |
@@ -191,7 +191,7 @@ discard block |
||
191 | 191 | return $this; |
192 | 192 | } |
193 | 193 | |
194 | - if (strpos($link, vfsStream::SCHEME.'://') !== false){ |
|
194 | + if (strpos($link, vfsStream::SCHEME.'://') !== false) { |
|
195 | 195 | return $this; |
196 | 196 | } |
197 | 197 | |
@@ -244,7 +244,7 @@ discard block |
||
244 | 244 | $this->delete($target); |
245 | 245 | } |
246 | 246 | |
247 | - retry(8, function () use ($from, $target) { |
|
247 | + retry(8, function() use ($from, $target) { |
|
248 | 248 | $this->filesystem->rename($this->getGzName($from), $target); |
249 | 249 | }, 250); |
250 | 250 |
@@ -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 |