Passed
Push — master ( a761e5...06eb23 )
by Morris
28:30 queued 11:17
created
lib/private/Preview/Storage/Root.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
core/Command/Preview/Repair.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -75,8 +75,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 				}
Please login to merge, or discard this patch.