Completed
Push — master ( 478b01...80afc2 )
by
unknown
23:07
created
lib/public/UserMigration/ISizeEstimationMigrator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,5 +40,5 @@
 block discarded – undo
40 40
 	 * @since 25.0.0
41 41
 	 * @since 27.0.0 return value may overflow from int to float
42 42
 	 */
43
-	public function getEstimatedExportSize(IUser $user): int|float;
43
+	public function getEstimatedExportSize(IUser $user): int | float;
44 44
 }
Please login to merge, or discard this patch.
lib/private/SystemTag/SystemTagsInFilesDetector.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
 		// Currently query has to have exactly one search condition. If no media type is provided,
50 50
 		// we fall back to the presence of a system tag.
51 51
 		if ($filteredMediaType !== '') {
52
-			$mimeOperator = new SearchComparison(ISearchComparison::COMPARE_LIKE, 'mimetype', $filteredMediaType . '/%');
52
+			$mimeOperator = new SearchComparison(ISearchComparison::COMPARE_LIKE, 'mimetype', $filteredMediaType.'/%');
53 53
 			$operator = new SearchBinaryOperator(ISearchBinaryOperator::OPERATOR_AND, [$operator, $mimeOperator]);
54 54
 		}
55 55
 
Please login to merge, or discard this patch.
apps/encryption/lib/Command/ScanLegacyFormat.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -86,9 +86,9 @@  discard block
 block discarded – undo
86 86
 			do {
87 87
 				$users = $backend->getUsers('', $limit, $offset);
88 88
 				foreach ($users as $user) {
89
-					$output->writeln('Scanning all files for ' . $user);
89
+					$output->writeln('Scanning all files for '.$user);
90 90
 					$this->setupUserFS($user);
91
-					$result = $result && $this->scanFolder($output, '/' . $user);
91
+					$result = $result && $this->scanFolder($output, '/'.$user);
92 92
 				}
93 93
 				$offset += $limit;
94 94
 			} while (count($users) >= $limit);
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
 		$clean = true;
107 107
 
108 108
 		foreach ($this->rootView->getDirectoryContent($folder) as $item) {
109
-			$path = $folder . '/' . $item['name'];
109
+			$path = $folder.'/'.$item['name'];
110 110
 			if ($this->rootView->is_dir($path)) {
111 111
 				if ($this->scanFolder($output, $path) === false) {
112 112
 					$clean = false;
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
 				$stats = $this->rootView->stat($path);
121 121
 				if (!isset($stats['hasHeader']) || $stats['hasHeader'] === false) {
122 122
 					$clean = false;
123
-					$output->writeln($path . ' does not have a proper header');
123
+					$output->writeln($path.' does not have a proper header');
124 124
 				}
125 125
 			}
126 126
 		}
Please login to merge, or discard this patch.
lib/public/AppFramework/Db/TTransactional.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
 				if (!$e->isRetryable() || $i === ($maxRetries - 1)) {
100 100
 					throw $e;
101 101
 				}
102
-				logger('core')->warning('Retrying operation after retryable exception.', [ 'exception' => $e ]);
102
+				logger('core')->warning('Retrying operation after retryable exception.', ['exception' => $e]);
103 103
 			}
104 104
 		}
105 105
 	}
Please login to merge, or discard this patch.
core/Command/Encryption/Enable.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,10 +66,10 @@
 block discarded – undo
66 66
 			return 1;
67 67
 		}
68 68
 		if (!isset($modules[$defaultModule])) {
69
-			$output->writeln('<error>The current default module does not exist: ' . $defaultModule . '</error>');
69
+			$output->writeln('<error>The current default module does not exist: '.$defaultModule.'</error>');
70 70
 			return 1;
71 71
 		}
72
-		$output->writeln('Default module: ' . $defaultModule);
72
+		$output->writeln('Default module: '.$defaultModule);
73 73
 		
74 74
 		return 0;
75 75
 	}
Please login to merge, or discard this patch.
lib/private/DB/SchemaWrapper.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
 	 */
62 62
 	public function getTableNamesWithoutPrefix() {
63 63
 		$tableNames = $this->schema->getTableNames();
64
-		return array_map(function ($tableName) {
64
+		return array_map(function($tableName) {
65 65
 			if (str_starts_with($tableName, $this->connection->getPrefix())) {
66 66
 				return substr($tableName, strlen($this->connection->getPrefix()));
67 67
 			}
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
 	 * @throws \Doctrine\DBAL\Schema\SchemaException
87 87
 	 */
88 88
 	public function getTable($tableName) {
89
-		return $this->schema->getTable($this->connection->getPrefix() . $tableName);
89
+		return $this->schema->getTable($this->connection->getPrefix().$tableName);
90 90
 	}
91 91
 
92 92
 	/**
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
 	 * @return boolean
98 98
 	 */
99 99
 	public function hasTable($tableName) {
100
-		return $this->schema->hasTable($this->connection->getPrefix() . $tableName);
100
+		return $this->schema->hasTable($this->connection->getPrefix().$tableName);
101 101
 	}
102 102
 
103 103
 	/**
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
 	 */
109 109
 	public function createTable($tableName) {
110 110
 		unset($this->tablesToDelete[$tableName]);
111
-		return $this->schema->createTable($this->connection->getPrefix() . $tableName);
111
+		return $this->schema->createTable($this->connection->getPrefix().$tableName);
112 112
 	}
113 113
 
114 114
 	/**
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
 	 */
120 120
 	public function dropTable($tableName) {
121 121
 		$this->tablesToDelete[$tableName] = true;
122
-		return $this->schema->dropTable($this->connection->getPrefix() . $tableName);
122
+		return $this->schema->dropTable($this->connection->getPrefix().$tableName);
123 123
 	}
124 124
 
125 125
 	/**
Please login to merge, or discard this patch.
lib/private/Files/Mount/MountPoint.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
 		} else {
123 123
 			// Update old classes to new namespace
124 124
 			if (str_contains($storage, 'OC_Filestorage_')) {
125
-				$storage = '\OC\Files\Storage\\' . substr($storage, 15);
125
+				$storage = '\OC\Files\Storage\\'.substr($storage, 15);
126 126
 			}
127 127
 			$this->class = $storage;
128 128
 			$this->arguments = $arguments;
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
 				return;
180 180
 			}
181 181
 		} else {
182
-			\OC::$server->get(LoggerInterface::class)->error('Storage backend ' . $this->class . ' not found', ['app' => 'core']);
182
+			\OC::$server->get(LoggerInterface::class)->error('Storage backend '.$this->class.' not found', ['app' => 'core']);
183 183
 			$this->invalidStorage = true;
184 184
 			return;
185 185
 		}
@@ -232,13 +232,13 @@  discard block
 block discarded – undo
232 232
 	 */
233 233
 	public function getInternalPath($path) {
234 234
 		$path = Filesystem::normalizePath($path, true, false, true);
235
-		if ($this->mountPoint === $path or $this->mountPoint . '/' === $path) {
235
+		if ($this->mountPoint === $path or $this->mountPoint.'/' === $path) {
236 236
 			$internalPath = '';
237 237
 		} else {
238 238
 			$internalPath = substr($path, strlen($this->mountPoint));
239 239
 		}
240 240
 		// substr returns false instead of an empty string, we always want a string
241
-		return (string)$internalPath;
241
+		return (string) $internalPath;
242 242
 	}
243 243
 
244 244
 	/**
@@ -296,7 +296,7 @@  discard block
 block discarded – undo
296 296
 			if ($storage === null) {
297 297
 				$this->rootId = -1;
298 298
 			} else {
299
-				$this->rootId = (int)$storage->getCache()->getId('');
299
+				$this->rootId = (int) $storage->getCache()->getId('');
300 300
 			}
301 301
 		}
302 302
 		return $this->rootId;
Please login to merge, or discard this patch.
lib/private/Files/Utils/PathHelper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
 		}
38 38
 		if ($path === $root) {
39 39
 			return '/';
40
-		} elseif (!str_starts_with($path, $root . '/')) {
40
+		} elseif (!str_starts_with($path, $root.'/')) {
41 41
 			return null;
42 42
 		} else {
43 43
 			$path = substr($path, strlen($root));
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
 		$path = str_replace('\\', '/', $path);
58 58
 		//add leading slash
59 59
 		if ($path[0] !== '/') {
60
-			$path = '/' . $path;
60
+			$path = '/'.$path;
61 61
 		}
62 62
 		//remove duplicate slashes
63 63
 		while (str_contains($path, '//')) {
Please login to merge, or discard this patch.
apps/user_ldap/lib/Migration/UUIDFixInsert.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
 					$offset += $batchSize;
92 92
 				} catch (\InvalidArgumentException $e) {
93 93
 					if (str_contains($e->getMessage(), 'Background job arguments can\'t exceed 4000')) {
94
-						$batchSize = (int)floor(count($records) * 0.8);
94
+						$batchSize = (int) floor(count($records) * 0.8);
95 95
 						$retry = true;
96 96
 					}
97 97
 				}
Please login to merge, or discard this patch.