Passed
Push — master ( 0c0397...46bfe3 )
by Roeland
21:08 queued 10:02
created
apps/files/lib/BackgroundJob/TransferOwnership.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
 		$destinationUserObject = $this->userManager->get($destinationUser);
99 99
 
100 100
 		if (!$sourceUserObject instanceof IUser) {
101
-			$this->logger->alert('Could not transfer ownership: Unknown source user ' . $sourceUser);
101
+			$this->logger->alert('Could not transfer ownership: Unknown source user '.$sourceUser);
102 102
 			$this->failedNotication($transfer);
103 103
 			return;
104 104
 		}
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
 				'targetUser' => $transfer->getTargetUser(),
137 137
 				'nodeName' => $transfer->getNodeName(),
138 138
 			])
139
-			->setObject('transfer', (string)$transfer->getId());
139
+			->setObject('transfer', (string) $transfer->getId());
140 140
 		$this->notificationManager->notify($notification);
141 141
 
142 142
 		// Send notification to source user
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
 				'targetUser' => $transfer->getTargetUser(),
150 150
 				'nodeName' => $transfer->getNodeName(),
151 151
 			])
152
-			->setObject('transfer', (string)$transfer->getId());
152
+			->setObject('transfer', (string) $transfer->getId());
153 153
 		$this->notificationManager->notify($notification);
154 154
 	}
155 155
 
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
 				'targetUser' => $transfer->getTargetUser(),
165 165
 				'nodeName' => $transfer->getNodeName(),
166 166
 			])
167
-			->setObject('transfer', (string)$transfer->getId());
167
+			->setObject('transfer', (string) $transfer->getId());
168 168
 		$this->notificationManager->notify($notification);
169 169
 
170 170
 		// Send notification to source user
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
 				'targetUser' => $transfer->getTargetUser(),
178 178
 				'nodeName' => $transfer->getNodeName(),
179 179
 			])
180
-			->setObject('transfer', (string)$transfer->getId());
180
+			->setObject('transfer', (string) $transfer->getId());
181 181
 		$this->notificationManager->notify($notification);
182 182
 	}
183 183
 }
Please login to merge, or discard this patch.
lib/private/Files/Cache/Propagator.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
 			}
72 72
 		}
73 73
 
74
-		$storageId = (int)$this->storage->getStorageCache()->getNumericId();
74
+		$storageId = (int) $this->storage->getStorageCache()->getNumericId();
75 75
 
76 76
 		$parents = $this->getParents($internalPath);
77 77
 
@@ -86,12 +86,12 @@  discard block
 block discarded – undo
86 86
 		$etag = uniqid(); // since we give all folders the same etag we don't ask the storage for the etag
87 87
 
88 88
 		$builder = $this->connection->getQueryBuilder();
89
-		$hashParams = array_map(function ($hash) use ($builder) {
89
+		$hashParams = array_map(function($hash) use ($builder) {
90 90
 			return $builder->expr()->literal($hash);
91 91
 		}, $parentHashes);
92 92
 
93 93
 		$builder->update('filecache')
94
-			->set('mtime', $builder->func()->greatest('mtime', $builder->createNamedParameter((int)$time, IQueryBuilder::PARAM_INT)))
94
+			->set('mtime', $builder->func()->greatest('mtime', $builder->createNamedParameter((int) $time, IQueryBuilder::PARAM_INT)))
95 95
 			->set('etag', $builder->createNamedParameter($etag, IQueryBuilder::PARAM_STR))
96 96
 			->where($builder->expr()->eq('storage', $builder->createNamedParameter($storageId, IQueryBuilder::PARAM_INT)))
97 97
 			->andWhere($builder->expr()->in('path_hash', $hashParams));
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
 		$parents = [];
121 121
 		foreach ($parts as $part) {
122 122
 			$parents[] = $parent;
123
-			$parent = trim($parent . '/' . $part, '/');
123
+			$parent = trim($parent.'/'.$part, '/');
124 124
 		}
125 125
 		return $parents;
126 126
 	}
@@ -165,10 +165,10 @@  discard block
 block discarded – undo
165 165
 		$this->connection->beginTransaction();
166 166
 
167 167
 		$query = $this->connection->getQueryBuilder();
168
-		$storageId = (int)$this->storage->getStorageCache()->getNumericId();
168
+		$storageId = (int) $this->storage->getStorageCache()->getNumericId();
169 169
 
170 170
 		$query->update('filecache')
171
-			->set('mtime', $query->createFunction('GREATEST(' . $query->getColumnName('mtime') . ', ' . $query->createParameter('time') . ')'))
171
+			->set('mtime', $query->createFunction('GREATEST('.$query->getColumnName('mtime').', '.$query->createParameter('time').')'))
172 172
 			->set('etag', $query->expr()->literal(uniqid()))
173 173
 			->where($query->expr()->eq('storage', $query->expr()->literal($storageId, IQueryBuilder::PARAM_INT)))
174 174
 			->andWhere($query->expr()->eq('path_hash', $query->createParameter('hash')));
Please login to merge, or discard this patch.
lib/private/DB/QueryBuilder/FunctionBuilder/SqliteFunctionBuilder.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,15 +28,15 @@
 block discarded – undo
28 28
 
29 29
 class SqliteFunctionBuilder extends FunctionBuilder {
30 30
 	public function concat($x, $y) {
31
-		return new QueryFunction('(' . $this->helper->quoteColumnName($x) . ' || ' . $this->helper->quoteColumnName($y) . ')');
31
+		return new QueryFunction('('.$this->helper->quoteColumnName($x).' || '.$this->helper->quoteColumnName($y).')');
32 32
 	}
33 33
 
34 34
 	public function greatest($x, $y) {
35
-		return new QueryFunction('MAX(' . $this->helper->quoteColumnName($x) . ', ' . $this->helper->quoteColumnName($y) . ')');
35
+		return new QueryFunction('MAX('.$this->helper->quoteColumnName($x).', '.$this->helper->quoteColumnName($y).')');
36 36
 	}
37 37
 
38 38
 	public function least($x, $y) {
39
-		return new QueryFunction('MIN(' . $this->helper->quoteColumnName($x) . ', ' . $this->helper->quoteColumnName($y) . ')');
39
+		return new QueryFunction('MIN('.$this->helper->quoteColumnName($x).', '.$this->helper->quoteColumnName($y).')');
40 40
 	}
41 41
 
42 42
 }
Please login to merge, or discard this patch.
lib/private/DB/QueryBuilder/FunctionBuilder/FunctionBuilder.php 1 patch
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -41,56 +41,56 @@
 block discarded – undo
41 41
 	}
42 42
 
43 43
 	public function md5($input) {
44
-		return new QueryFunction('MD5(' . $this->helper->quoteColumnName($input) . ')');
44
+		return new QueryFunction('MD5('.$this->helper->quoteColumnName($input).')');
45 45
 	}
46 46
 
47 47
 	public function concat($x, $y) {
48
-		return new QueryFunction('CONCAT(' . $this->helper->quoteColumnName($x) . ', ' . $this->helper->quoteColumnName($y) . ')');
48
+		return new QueryFunction('CONCAT('.$this->helper->quoteColumnName($x).', '.$this->helper->quoteColumnName($y).')');
49 49
 	}
50 50
 
51 51
 	public function substring($input, $start, $length = null) {
52 52
 		if ($length) {
53
-			return new QueryFunction('SUBSTR(' . $this->helper->quoteColumnName($input) . ', ' . $this->helper->quoteColumnName($start) . ', ' . $this->helper->quoteColumnName($length) . ')');
53
+			return new QueryFunction('SUBSTR('.$this->helper->quoteColumnName($input).', '.$this->helper->quoteColumnName($start).', '.$this->helper->quoteColumnName($length).')');
54 54
 		} else {
55
-			return new QueryFunction('SUBSTR(' . $this->helper->quoteColumnName($input) . ', ' . $this->helper->quoteColumnName($start) . ')');
55
+			return new QueryFunction('SUBSTR('.$this->helper->quoteColumnName($input).', '.$this->helper->quoteColumnName($start).')');
56 56
 		}
57 57
 	}
58 58
 
59 59
 	public function sum($field) {
60
-		return new QueryFunction('SUM(' . $this->helper->quoteColumnName($field) . ')');
60
+		return new QueryFunction('SUM('.$this->helper->quoteColumnName($field).')');
61 61
 	}
62 62
 
63 63
 	public function lower($field) {
64
-		return new QueryFunction('LOWER(' . $this->helper->quoteColumnName($field) . ')');
64
+		return new QueryFunction('LOWER('.$this->helper->quoteColumnName($field).')');
65 65
 	}
66 66
 
67 67
 	public function add($x, $y) {
68
-		return new QueryFunction($this->helper->quoteColumnName($x) . ' + ' . $this->helper->quoteColumnName($y));
68
+		return new QueryFunction($this->helper->quoteColumnName($x).' + '.$this->helper->quoteColumnName($y));
69 69
 	}
70 70
 
71 71
 	public function subtract($x, $y) {
72
-		return new QueryFunction($this->helper->quoteColumnName($x) . ' - ' . $this->helper->quoteColumnName($y));
72
+		return new QueryFunction($this->helper->quoteColumnName($x).' - '.$this->helper->quoteColumnName($y));
73 73
 	}
74 74
 
75 75
 	public function count($count = '', $alias = '') {
76
-		$alias = $alias ? (' AS ' . $this->helper->quoteColumnName($alias)) : '';
76
+		$alias = $alias ? (' AS '.$this->helper->quoteColumnName($alias)) : '';
77 77
 		$quotedName = $count === '' ? '*' : $this->helper->quoteColumnName($count);
78
-		return new QueryFunction('COUNT(' . $quotedName . ')' . $alias);
78
+		return new QueryFunction('COUNT('.$quotedName.')'.$alias);
79 79
 	}
80 80
 
81 81
 	public function max($field) {
82
-		return new QueryFunction('MAX(' . $this->helper->quoteColumnName($field) . ')');
82
+		return new QueryFunction('MAX('.$this->helper->quoteColumnName($field).')');
83 83
 	}
84 84
 
85 85
 	public function min($field) {
86
-		return new QueryFunction('MIN(' . $this->helper->quoteColumnName($field) . ')');
86
+		return new QueryFunction('MIN('.$this->helper->quoteColumnName($field).')');
87 87
 	}
88 88
 
89 89
 	public function greatest($x, $y) {
90
-		return new QueryFunction('GREATEST(' . $this->helper->quoteColumnName($x) . ', ' . $this->helper->quoteColumnName($y) . ')');
90
+		return new QueryFunction('GREATEST('.$this->helper->quoteColumnName($x).', '.$this->helper->quoteColumnName($y).')');
91 91
 	}
92 92
 
93 93
 	public function least($x, $y) {
94
-		return new QueryFunction('LEAST(' . $this->helper->quoteColumnName($x) . ', ' . $this->helper->quoteColumnName($y) . ')');
94
+		return new QueryFunction('LEAST('.$this->helper->quoteColumnName($x).', '.$this->helper->quoteColumnName($y).')');
95 95
 	}
96 96
 }
Please login to merge, or discard this patch.
core/Controller/SvgController.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
 	 * @return DataDisplayResponse|NotFoundResponse
81 81
 	 */
82 82
 	public function getSvgFromCore(string $folder, string $fileName, string $color = 'ffffff') {
83
-		$path = $this->serverRoot . "/core/img/$folder/$fileName.svg";
83
+		$path = $this->serverRoot."/core/img/$folder/$fileName.svg";
84 84
 		return $this->getSvg($path, $color, $fileName);
85 85
 	}
86 86
 
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
 		if (!$appPath) {
104 104
 			return new NotFoundResponse();
105 105
 		}
106
-		$path = $this->serverRoot . $appPath ."/img/$fileName.svg";
106
+		$path = $this->serverRoot.$appPath."/img/$fileName.svg";
107 107
 		return $this->getSvg($path, $color, $fileName);
108 108
 	}
109 109
 
@@ -133,10 +133,10 @@  discard block
 block discarded – undo
133 133
 		// Set cache control
134 134
 		$ttl = 31536000;
135 135
 		$response->cacheFor($ttl);
136
-		$response->addHeader('Content-Disposition', 'inline; filename="' . $fileName . '.svg"');
136
+		$response->addHeader('Content-Disposition', 'inline; filename="'.$fileName.'.svg"');
137 137
 		$expires = new \DateTime();
138 138
 		$expires->setTimestamp($this->timeFactory->getTime());
139
-		$expires->add(new \DateInterval('PT' . $ttl . 'S'));
139
+		$expires->add(new \DateInterval('PT'.$ttl.'S'));
140 140
 		$response->addHeader('Expires', $expires->format(\DateTime::RFC1123));
141 141
 		$response->addHeader('Pragma', 'cache');
142 142
 
Please login to merge, or discard this patch.
apps/dav/lib/CardDAV/MultiGetExportPlugin.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -74,14 +74,14 @@
 block discarded – undo
74 74
 		$responseXml  = $this->server->xml->parse($responseBody);
75 75
 
76 76
 		// Reduce the vcards into one string
77
-		$output = array_reduce($responseXml->getResponses(), function ($vcf, $card) {
77
+		$output = array_reduce($responseXml->getResponses(), function($vcf, $card) {
78 78
 			$vcf .= $card->getResponseProperties()[200]['{urn:ietf:params:xml:ns:carddav}address-data'];
79 79
 			return $vcf;
80 80
 		}, '');
81 81
 
82 82
 		// Build and override the response
83
-		$filename = 'vcfexport-' . date('Y-m-d') . '.vcf';
84
-		$response->setHeader('Content-Disposition', 'attachment; filename="' . $filename . '"');
83
+		$filename = 'vcfexport-'.date('Y-m-d').'.vcf';
84
+		$response->setHeader('Content-Disposition', 'attachment; filename="'.$filename.'"');
85 85
 		$response->setHeader('Content-Type', 'text/vcard');
86 86
 
87 87
 		$response->setStatus(200);
Please login to merge, or discard this patch.
apps/accessibility/lib/Controller/AccessibilityController.php 1 patch
Spacing   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -145,15 +145,15 @@  discard block
 block discarded – undo
145 145
 				if ($scssFile === 'highcontrast' && in_array('dark', $userValues)) {
146 146
 					$scssFile .= 'dark';
147 147
 				}
148
-				$imports .= '@import "' . $scssFile . '";';
148
+				$imports .= '@import "'.$scssFile.'";';
149 149
 			}
150 150
 		}
151 151
 
152 152
 		if ($imports !== '') {
153 153
 			$scss = new Compiler();
154 154
 			$scss->setImportPaths([
155
-				$this->appRoot . '/css/',
156
-				$this->serverRoot . '/core/css/'
155
+				$this->appRoot.'/css/',
156
+				$this->serverRoot.'/core/css/'
157 157
 			]);
158 158
 
159 159
 			// Continue after throw
@@ -163,9 +163,9 @@  discard block
 block discarded – undo
163 163
 			// Import theme, variables and compile css4 variables
164 164
 			try {
165 165
 				$css .= $scss->compile(
166
-					$imports .
167
-					$this->getInjectedVariables() .
168
-					'@import "variables.scss";' .
166
+					$imports.
167
+					$this->getInjectedVariables().
168
+					'@import "variables.scss";'.
169 169
 					'@import "css-variables.scss";'
170 170
 				);
171 171
 			} catch (ParserException $e) {
@@ -178,21 +178,21 @@  discard block
 block discarded – undo
178 178
 
179 179
 		// Rebase all urls
180 180
 		$appWebRoot = substr($this->appRoot, strlen($this->serverRoot) - strlen(\OC::$WEBROOT));
181
-		$css        = $this->rebaseUrls($css, $appWebRoot . '/css');
181
+		$css        = $this->rebaseUrls($css, $appWebRoot.'/css');
182 182
 
183 183
 		if (in_array('dark', $userValues) && $this->iconsCacher->getCachedList() && $this->iconsCacher->getCachedList()->getSize() > 0) {
184 184
 			$iconsCss = $this->invertSvgIconsColor($this->iconsCacher->getCachedList()->getContent());
185
-			$css = $css . $iconsCss;
185
+			$css = $css.$iconsCss;
186 186
 		}
187 187
 
188 188
 		$response = new DataDisplayResponse($css, Http::STATUS_OK, ['Content-Type' => 'text/css']);
189 189
 
190 190
 		// Set cache control
191 191
 		$ttl = 31536000;
192
-		$response->addHeader('Cache-Control', 'max-age=' . $ttl . ', immutable');
192
+		$response->addHeader('Cache-Control', 'max-age='.$ttl.', immutable');
193 193
 		$expires = new \DateTime();
194 194
 		$expires->setTimestamp($this->timeFactory->getTime());
195
-		$expires->add(new \DateInterval('PT' . $ttl . 'S'));
195
+		$expires->add(new \DateInterval('PT'.$ttl.'S'));
196 196
 		$response->addHeader('Expires', $expires->format(\DateTime::RFC1123));
197 197
 		$response->addHeader('Pragma', 'cache');
198 198
 
@@ -222,16 +222,16 @@  discard block
 block discarded – undo
222 222
 		if ($theme !== false) {
223 223
 			$responseJS = '(function() {
224 224
 	OCA.Accessibility = {
225
-		highcontrast: ' . json_encode($highcontrast) . ',
226
-		theme: ' . json_encode($theme) . ',
225
+		highcontrast: ' . json_encode($highcontrast).',
226
+		theme: ' . json_encode($theme).',
227 227
 	};
228
-	document.body.classList.add(' . json_encode($theme) . ');
228
+	document.body.classList.add(' . json_encode($theme).');
229 229
 })();';
230 230
 		} else {
231 231
 			$responseJS = '(function() {
232 232
 	OCA.Accessibility = {
233
-		highcontrast: ' . json_encode($highcontrast) . ',
234
-		theme: ' . json_encode($theme) . ',
233
+		highcontrast: ' . json_encode($highcontrast).',
234
+		theme: ' . json_encode($theme).',
235 235
 	};
236 236
 })();';
237 237
 		}
@@ -273,7 +273,7 @@  discard block
 block discarded – undo
273 273
 	 */
274 274
 	private function rebaseUrls(string $css, string $webDir): string {
275 275
 		$re    = '/url\([\'"]([^\/][\.\w?=\/-]*)[\'"]\)/x';
276
-		$subst = 'url(\'' . $webDir . '/$1\')';
276
+		$subst = 'url(\''.$webDir.'/$1\')';
277 277
 
278 278
 		return preg_replace($re, $subst, $css);
279 279
 	}
@@ -305,7 +305,7 @@  discard block
 block discarded – undo
305 305
 		}
306 306
 		$variables = '';
307 307
 		foreach ($this->defaults->getScssVariables() as $key => $value) {
308
-			$variables .= '$' . $key . ': ' . $value . ';';
308
+			$variables .= '$'.$key.': '.$value.';';
309 309
 		}
310 310
 
311 311
 		// check for valid variables / otherwise fall back to defaults
Please login to merge, or discard this patch.
lib/private/Collaboration/Resources/ProviderManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
 					$this->providerInstances[] = $this->serverContainer->query($provider);
55 55
 				} catch (QueryException $e) {
56 56
 					$this->logger->logException($e, [
57
-						'message' => "Could not query resource provider $provider: " . $e->getMessage()
57
+						'message' => "Could not query resource provider $provider: ".$e->getMessage()
58 58
 					]);
59 59
 				}
60 60
 			}
Please login to merge, or discard this patch.
apps/files/composer/composer/autoload_static.php 1 patch
Spacing   +52 added lines, -52 removed lines patch added patch discarded remove patch
@@ -6,71 +6,71 @@
 block discarded – undo
6 6
 
7 7
 class ComposerStaticInitFiles
8 8
 {
9
-    public static $prefixLengthsPsr4 = array (
9
+    public static $prefixLengthsPsr4 = array(
10 10
         'O' => 
11
-        array (
11
+        array(
12 12
             'OCA\\Files\\' => 10,
13 13
         ),
14 14
     );
15 15
 
16
-    public static $prefixDirsPsr4 = array (
16
+    public static $prefixDirsPsr4 = array(
17 17
         'OCA\\Files\\' => 
18
-        array (
19
-            0 => __DIR__ . '/..' . '/../lib',
18
+        array(
19
+            0 => __DIR__.'/..'.'/../lib',
20 20
         ),
21 21
     );
22 22
 
23
-    public static $classMap = array (
24
-        'OCA\\Files\\Activity\\FavoriteProvider' => __DIR__ . '/..' . '/../lib/Activity/FavoriteProvider.php',
25
-        'OCA\\Files\\Activity\\Filter\\Favorites' => __DIR__ . '/..' . '/../lib/Activity/Filter/Favorites.php',
26
-        'OCA\\Files\\Activity\\Filter\\FileChanges' => __DIR__ . '/..' . '/../lib/Activity/Filter/FileChanges.php',
27
-        'OCA\\Files\\Activity\\Helper' => __DIR__ . '/..' . '/../lib/Activity/Helper.php',
28
-        'OCA\\Files\\Activity\\Provider' => __DIR__ . '/..' . '/../lib/Activity/Provider.php',
29
-        'OCA\\Files\\Activity\\Settings\\FavoriteAction' => __DIR__ . '/..' . '/../lib/Activity/Settings/FavoriteAction.php',
30
-        'OCA\\Files\\Activity\\Settings\\FileChanged' => __DIR__ . '/..' . '/../lib/Activity/Settings/FileChanged.php',
31
-        'OCA\\Files\\Activity\\Settings\\FileCreated' => __DIR__ . '/..' . '/../lib/Activity/Settings/FileCreated.php',
32
-        'OCA\\Files\\Activity\\Settings\\FileDeleted' => __DIR__ . '/..' . '/../lib/Activity/Settings/FileDeleted.php',
33
-        'OCA\\Files\\Activity\\Settings\\FileFavorite' => __DIR__ . '/..' . '/../lib/Activity/Settings/FileFavorite.php',
34
-        'OCA\\Files\\Activity\\Settings\\FileRestored' => __DIR__ . '/..' . '/../lib/Activity/Settings/FileRestored.php',
35
-        'OCA\\Files\\App' => __DIR__ . '/..' . '/../lib/App.php',
36
-        'OCA\\Files\\AppInfo\\Application' => __DIR__ . '/..' . '/../lib/AppInfo/Application.php',
37
-        'OCA\\Files\\BackgroundJob\\CleanupDirectEditingTokens' => __DIR__ . '/..' . '/../lib/BackgroundJob/CleanupDirectEditingTokens.php',
38
-        'OCA\\Files\\BackgroundJob\\CleanupFileLocks' => __DIR__ . '/..' . '/../lib/BackgroundJob/CleanupFileLocks.php',
39
-        'OCA\\Files\\BackgroundJob\\DeleteOrphanedItems' => __DIR__ . '/..' . '/../lib/BackgroundJob/DeleteOrphanedItems.php',
40
-        'OCA\\Files\\BackgroundJob\\ScanFiles' => __DIR__ . '/..' . '/../lib/BackgroundJob/ScanFiles.php',
41
-        'OCA\\Files\\BackgroundJob\\TransferOwnership' => __DIR__ . '/..' . '/../lib/BackgroundJob/TransferOwnership.php',
42
-        'OCA\\Files\\Capabilities' => __DIR__ . '/..' . '/../lib/Capabilities.php',
43
-        'OCA\\Files\\Collaboration\\Resources\\Listener' => __DIR__ . '/..' . '/../lib/Collaboration/Resources/Listener.php',
44
-        'OCA\\Files\\Collaboration\\Resources\\ResourceProvider' => __DIR__ . '/..' . '/../lib/Collaboration/Resources/ResourceProvider.php',
45
-        'OCA\\Files\\Command\\DeleteOrphanedFiles' => __DIR__ . '/..' . '/../lib/Command/DeleteOrphanedFiles.php',
46
-        'OCA\\Files\\Command\\Scan' => __DIR__ . '/..' . '/../lib/Command/Scan.php',
47
-        'OCA\\Files\\Command\\ScanAppData' => __DIR__ . '/..' . '/../lib/Command/ScanAppData.php',
48
-        'OCA\\Files\\Command\\TransferOwnership' => __DIR__ . '/..' . '/../lib/Command/TransferOwnership.php',
49
-        'OCA\\Files\\Controller\\AjaxController' => __DIR__ . '/..' . '/../lib/Controller/AjaxController.php',
50
-        'OCA\\Files\\Controller\\ApiController' => __DIR__ . '/..' . '/../lib/Controller/ApiController.php',
51
-        'OCA\\Files\\Controller\\DirectEditingController' => __DIR__ . '/..' . '/../lib/Controller/DirectEditingController.php',
52
-        'OCA\\Files\\Controller\\DirectEditingViewController' => __DIR__ . '/..' . '/../lib/Controller/DirectEditingViewController.php',
53
-        'OCA\\Files\\Controller\\TransferOwnershipController' => __DIR__ . '/..' . '/../lib/Controller/TransferOwnershipController.php',
54
-        'OCA\\Files\\Controller\\ViewController' => __DIR__ . '/..' . '/../lib/Controller/ViewController.php',
55
-        'OCA\\Files\\Db\\TransferOwnership' => __DIR__ . '/..' . '/../lib/Db/TransferOwnership.php',
56
-        'OCA\\Files\\Db\\TransferOwnershipMapper' => __DIR__ . '/..' . '/../lib/Db/TransferOwnershipMapper.php',
57
-        'OCA\\Files\\Event\\LoadAdditionalScriptsEvent' => __DIR__ . '/..' . '/../lib/Event/LoadAdditionalScriptsEvent.php',
58
-        'OCA\\Files\\Event\\LoadSidebar' => __DIR__ . '/..' . '/../lib/Event/LoadSidebar.php',
59
-        'OCA\\Files\\Exception\\TransferOwnershipException' => __DIR__ . '/..' . '/../lib/Exception/TransferOwnershipException.php',
60
-        'OCA\\Files\\Helper' => __DIR__ . '/..' . '/../lib/Helper.php',
61
-        'OCA\\Files\\Listener\\LegacyLoadAdditionalScriptsAdapter' => __DIR__ . '/..' . '/../lib/Listener/LegacyLoadAdditionalScriptsAdapter.php',
62
-        'OCA\\Files\\Listener\\LoadSidebarListener' => __DIR__ . '/..' . '/../lib/Listener/LoadSidebarListener.php',
63
-        'OCA\\Files\\Migration\\Version11301Date20191205150729' => __DIR__ . '/..' . '/../lib/Migration/Version11301Date20191205150729.php',
64
-        'OCA\\Files\\Notification\\Notifier' => __DIR__ . '/..' . '/../lib/Notification/Notifier.php',
65
-        'OCA\\Files\\Service\\DirectEditingService' => __DIR__ . '/..' . '/../lib/Service/DirectEditingService.php',
66
-        'OCA\\Files\\Service\\OwnershipTransferService' => __DIR__ . '/..' . '/../lib/Service/OwnershipTransferService.php',
67
-        'OCA\\Files\\Service\\TagService' => __DIR__ . '/..' . '/../lib/Service/TagService.php',
68
-        'OCA\\Files\\Settings\\PersonalSettings' => __DIR__ . '/..' . '/../lib/Settings/PersonalSettings.php',
23
+    public static $classMap = array(
24
+        'OCA\\Files\\Activity\\FavoriteProvider' => __DIR__.'/..'.'/../lib/Activity/FavoriteProvider.php',
25
+        'OCA\\Files\\Activity\\Filter\\Favorites' => __DIR__.'/..'.'/../lib/Activity/Filter/Favorites.php',
26
+        'OCA\\Files\\Activity\\Filter\\FileChanges' => __DIR__.'/..'.'/../lib/Activity/Filter/FileChanges.php',
27
+        'OCA\\Files\\Activity\\Helper' => __DIR__.'/..'.'/../lib/Activity/Helper.php',
28
+        'OCA\\Files\\Activity\\Provider' => __DIR__.'/..'.'/../lib/Activity/Provider.php',
29
+        'OCA\\Files\\Activity\\Settings\\FavoriteAction' => __DIR__.'/..'.'/../lib/Activity/Settings/FavoriteAction.php',
30
+        'OCA\\Files\\Activity\\Settings\\FileChanged' => __DIR__.'/..'.'/../lib/Activity/Settings/FileChanged.php',
31
+        'OCA\\Files\\Activity\\Settings\\FileCreated' => __DIR__.'/..'.'/../lib/Activity/Settings/FileCreated.php',
32
+        'OCA\\Files\\Activity\\Settings\\FileDeleted' => __DIR__.'/..'.'/../lib/Activity/Settings/FileDeleted.php',
33
+        'OCA\\Files\\Activity\\Settings\\FileFavorite' => __DIR__.'/..'.'/../lib/Activity/Settings/FileFavorite.php',
34
+        'OCA\\Files\\Activity\\Settings\\FileRestored' => __DIR__.'/..'.'/../lib/Activity/Settings/FileRestored.php',
35
+        'OCA\\Files\\App' => __DIR__.'/..'.'/../lib/App.php',
36
+        'OCA\\Files\\AppInfo\\Application' => __DIR__.'/..'.'/../lib/AppInfo/Application.php',
37
+        'OCA\\Files\\BackgroundJob\\CleanupDirectEditingTokens' => __DIR__.'/..'.'/../lib/BackgroundJob/CleanupDirectEditingTokens.php',
38
+        'OCA\\Files\\BackgroundJob\\CleanupFileLocks' => __DIR__.'/..'.'/../lib/BackgroundJob/CleanupFileLocks.php',
39
+        'OCA\\Files\\BackgroundJob\\DeleteOrphanedItems' => __DIR__.'/..'.'/../lib/BackgroundJob/DeleteOrphanedItems.php',
40
+        'OCA\\Files\\BackgroundJob\\ScanFiles' => __DIR__.'/..'.'/../lib/BackgroundJob/ScanFiles.php',
41
+        'OCA\\Files\\BackgroundJob\\TransferOwnership' => __DIR__.'/..'.'/../lib/BackgroundJob/TransferOwnership.php',
42
+        'OCA\\Files\\Capabilities' => __DIR__.'/..'.'/../lib/Capabilities.php',
43
+        'OCA\\Files\\Collaboration\\Resources\\Listener' => __DIR__.'/..'.'/../lib/Collaboration/Resources/Listener.php',
44
+        'OCA\\Files\\Collaboration\\Resources\\ResourceProvider' => __DIR__.'/..'.'/../lib/Collaboration/Resources/ResourceProvider.php',
45
+        'OCA\\Files\\Command\\DeleteOrphanedFiles' => __DIR__.'/..'.'/../lib/Command/DeleteOrphanedFiles.php',
46
+        'OCA\\Files\\Command\\Scan' => __DIR__.'/..'.'/../lib/Command/Scan.php',
47
+        'OCA\\Files\\Command\\ScanAppData' => __DIR__.'/..'.'/../lib/Command/ScanAppData.php',
48
+        'OCA\\Files\\Command\\TransferOwnership' => __DIR__.'/..'.'/../lib/Command/TransferOwnership.php',
49
+        'OCA\\Files\\Controller\\AjaxController' => __DIR__.'/..'.'/../lib/Controller/AjaxController.php',
50
+        'OCA\\Files\\Controller\\ApiController' => __DIR__.'/..'.'/../lib/Controller/ApiController.php',
51
+        'OCA\\Files\\Controller\\DirectEditingController' => __DIR__.'/..'.'/../lib/Controller/DirectEditingController.php',
52
+        'OCA\\Files\\Controller\\DirectEditingViewController' => __DIR__.'/..'.'/../lib/Controller/DirectEditingViewController.php',
53
+        'OCA\\Files\\Controller\\TransferOwnershipController' => __DIR__.'/..'.'/../lib/Controller/TransferOwnershipController.php',
54
+        'OCA\\Files\\Controller\\ViewController' => __DIR__.'/..'.'/../lib/Controller/ViewController.php',
55
+        'OCA\\Files\\Db\\TransferOwnership' => __DIR__.'/..'.'/../lib/Db/TransferOwnership.php',
56
+        'OCA\\Files\\Db\\TransferOwnershipMapper' => __DIR__.'/..'.'/../lib/Db/TransferOwnershipMapper.php',
57
+        'OCA\\Files\\Event\\LoadAdditionalScriptsEvent' => __DIR__.'/..'.'/../lib/Event/LoadAdditionalScriptsEvent.php',
58
+        'OCA\\Files\\Event\\LoadSidebar' => __DIR__.'/..'.'/../lib/Event/LoadSidebar.php',
59
+        'OCA\\Files\\Exception\\TransferOwnershipException' => __DIR__.'/..'.'/../lib/Exception/TransferOwnershipException.php',
60
+        'OCA\\Files\\Helper' => __DIR__.'/..'.'/../lib/Helper.php',
61
+        'OCA\\Files\\Listener\\LegacyLoadAdditionalScriptsAdapter' => __DIR__.'/..'.'/../lib/Listener/LegacyLoadAdditionalScriptsAdapter.php',
62
+        'OCA\\Files\\Listener\\LoadSidebarListener' => __DIR__.'/..'.'/../lib/Listener/LoadSidebarListener.php',
63
+        'OCA\\Files\\Migration\\Version11301Date20191205150729' => __DIR__.'/..'.'/../lib/Migration/Version11301Date20191205150729.php',
64
+        'OCA\\Files\\Notification\\Notifier' => __DIR__.'/..'.'/../lib/Notification/Notifier.php',
65
+        'OCA\\Files\\Service\\DirectEditingService' => __DIR__.'/..'.'/../lib/Service/DirectEditingService.php',
66
+        'OCA\\Files\\Service\\OwnershipTransferService' => __DIR__.'/..'.'/../lib/Service/OwnershipTransferService.php',
67
+        'OCA\\Files\\Service\\TagService' => __DIR__.'/..'.'/../lib/Service/TagService.php',
68
+        'OCA\\Files\\Settings\\PersonalSettings' => __DIR__.'/..'.'/../lib/Settings/PersonalSettings.php',
69 69
     );
70 70
 
71 71
     public static function getInitializer(ClassLoader $loader)
72 72
     {
73
-        return \Closure::bind(function () use ($loader) {
73
+        return \Closure::bind(function() use ($loader) {
74 74
             $loader->prefixLengthsPsr4 = ComposerStaticInitFiles::$prefixLengthsPsr4;
75 75
             $loader->prefixDirsPsr4 = ComposerStaticInitFiles::$prefixDirsPsr4;
76 76
             $loader->classMap = ComposerStaticInitFiles::$classMap;
Please login to merge, or discard this patch.