@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | |
| 46 | 46 | if ($this->isMultibucketPreviewDistributionEnabled) { |
| 47 | 47 | try { |
| 48 | - return parent::getFolder('old-multibucket/' . $internalFolder); |
|
| 48 | + return parent::getFolder('old-multibucket/'.$internalFolder); |
|
| 49 | 49 | } catch (NotFoundException $e) { |
| 50 | 50 | // not in multibucket fallback |
| 51 | 51 | } |
@@ -77,6 +77,6 @@ discard block |
||
| 77 | 77 | } |
| 78 | 78 | |
| 79 | 79 | public static function getInternalFolder(string $name): string { |
| 80 | - return implode('/', str_split(substr(md5($name), 0, 7))) . '/' . $name; |
|
| 80 | + return implode('/', str_split(substr(md5($name), 0, 7))).'/'.$name; |
|
| 81 | 81 | } |
| 82 | 82 | } |
@@ -75,8 +75,8 @@ discard block |
||
| 75 | 75 | |
| 76 | 76 | protected function execute(InputInterface $input, OutputInterface $output): int { |
| 77 | 77 | if ($this->memoryLimit !== -1) { |
| 78 | - $limitInMiB = round($this->memoryLimit / 1024 /1024, 1); |
|
| 79 | - $thresholdInMiB = round($this->memoryTreshold / 1024 /1024, 1); |
|
| 78 | + $limitInMiB = round($this->memoryLimit / 1024 / 1024, 1); |
|
| 79 | + $thresholdInMiB = round($this->memoryTreshold / 1024 / 1024, 1); |
|
| 80 | 80 | $output->writeln("Memory limit is $limitInMiB MiB"); |
| 81 | 81 | $output->writeln("Memory threshold is $thresholdInMiB MiB"); |
| 82 | 82 | $output->writeln(""); |
@@ -112,7 +112,7 @@ discard block |
||
| 112 | 112 | * by default there could be 0-9 a-f and the old-multibucket folder which are all fine |
| 113 | 113 | */ |
| 114 | 114 | if ($total < 18) { |
| 115 | - $directoryListing = array_filter($directoryListing, function ($dir) { |
|
| 115 | + $directoryListing = array_filter($directoryListing, function($dir) { |
|
| 116 | 116 | if ($dir->getName() === 'old-multibucket') { |
| 117 | 117 | return false; |
| 118 | 118 | } |