Passed
Push — master ( 7e7284...62fa85 )
by Roeland
17:42 queued 12s
created
lib/private/Files/Template/TemplateManager.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -118,14 +118,14 @@  discard block
 block discarded – undo
118 118
 
119 119
 	public function listCreators(): array {
120 120
 		$types = $this->getTypes();
121
-		usort($types, function (TemplateFileCreator $a, TemplateFileCreator $b) {
121
+		usort($types, function(TemplateFileCreator $a, TemplateFileCreator $b) {
122 122
 			return $a->getOrder() - $b->getOrder();
123 123
 		});
124 124
 		return $types;
125 125
 	}
126 126
 
127 127
 	public function listTemplates(): array {
128
-		return array_map(function (TemplateFileCreator $entry) {
128
+		return array_map(function(TemplateFileCreator $entry) {
129 129
 			return array_merge($entry->jsonSerialize(), [
130 130
 				'templates' => $this->getTemplateFiles($entry)
131 131
 			]);
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
 				$template = $userFolder->get($templateId);
152 152
 				$template->copy($targetFile->getPath());
153 153
 			} else {
154
-				$matchingProvider = array_filter($this->getRegisteredProviders(), function (ICustomTemplateProvider $provider) use ($templateType) {
154
+				$matchingProvider = array_filter($this->getRegisteredProviders(), function(ICustomTemplateProvider $provider) use ($templateType) {
155 155
 					return $templateType === get_class($provider);
156 156
 				});
157 157
 				$provider = array_shift($matchingProvider);
@@ -252,8 +252,8 @@  discard block
 block discarded – undo
252 252
 			$this->userId = $userId;
253 253
 		}
254 254
 
255
-		$defaultSkeletonDirectory = \OC::$SERVERROOT . '/core/skeleton';
256
-		$defaultTemplateDirectory = \OC::$SERVERROOT . '/core/skeleton/Templates';
255
+		$defaultSkeletonDirectory = \OC::$SERVERROOT.'/core/skeleton';
256
+		$defaultTemplateDirectory = \OC::$SERVERROOT.'/core/skeleton/Templates';
257 257
 		$skeletonPath = $this->config->getSystemValue('skeletondirectory', $defaultSkeletonDirectory);
258 258
 		$skeletonTemplatePath = $this->config->getSystemValue('templatedirectory', $defaultTemplateDirectory);
259 259
 		$isDefaultSkeleton = $skeletonPath === $defaultSkeletonDirectory;
@@ -263,7 +263,7 @@  discard block
 block discarded – undo
263 263
 		try {
264 264
 			$l10n = $this->l10nFactory->get('lib', $userLang);
265 265
 			$userFolder = $this->rootFolder->getUserFolder($this->userId);
266
-			$userTemplatePath = $path ?? $l10n->t('Templates') . '/';
266
+			$userTemplatePath = $path ?? $l10n->t('Templates').'/';
267 267
 
268 268
 			// Initial user setup without a provided path
269 269
 			if ($path === null) {
@@ -272,7 +272,7 @@  discard block
 block discarded – undo
272 272
 					if (!$userFolder->nodeExists('Templates')) {
273 273
 						return '';
274 274
 					}
275
-					$newPath = $userFolder->getPath() . '/' . $userTemplatePath;
275
+					$newPath = $userFolder->getPath().'/'.$userTemplatePath;
276 276
 					if ($newPath !== $userFolder->get('Templates')->getPath()) {
277 277
 						$userFolder->get('Templates')->move($newPath);
278 278
 					}
@@ -310,7 +310,7 @@  discard block
 block discarded – undo
310 310
 			}
311 311
 
312 312
 			if ($path !== null && $isDefaultSkeleton && $isDefaultTemplates && $folderIsEmpty) {
313
-				$localizedSkeletonPath = $this->getLocalizedTemplatePath($skeletonPath . '/Templates', $userLang);
313
+				$localizedSkeletonPath = $this->getLocalizedTemplatePath($skeletonPath.'/Templates', $userLang);
314 314
 				if (!empty($localizedSkeletonPath) && file_exists($localizedSkeletonPath)) {
315 315
 					\OC_Util::copyr($localizedSkeletonPath, $folder);
316 316
 					$userFolder->getStorage()->getScanner()->scan($userTemplatePath, Scanner::SCAN_RECURSIVE);
@@ -322,7 +322,7 @@  discard block
 block discarded – undo
322 322
 			$this->setTemplatePath($path ?? '');
323 323
 			return $this->getTemplatePath();
324 324
 		} catch (\Throwable $e) {
325
-			$this->logger->error('Failed to initialize templates directory to user language ' . $userLang . ' for ' . $userId, ['app' => 'files_templates', 'exception' => $e]);
325
+			$this->logger->error('Failed to initialize templates directory to user language '.$userLang.' for '.$userId, ['app' => 'files_templates', 'exception' => $e]);
326 326
 		}
327 327
 		$this->setTemplatePath('');
328 328
 		return $this->getTemplatePath();
Please login to merge, or discard this patch.
lib/private/legacy/OC_Util.php 1 patch
Spacing   +46 added lines, -46 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
 
91 91
 	private static function initLocalStorageRootFS() {
92 92
 		// mount local file backend as root
93
-		$configDataDirectory = \OC::$server->getSystemConfig()->getValue("datadirectory", OC::$SERVERROOT . "/data");
93
+		$configDataDirectory = \OC::$server->getSystemConfig()->getValue("datadirectory", OC::$SERVERROOT."/data");
94 94
 		//first set up the local "root" storage
95 95
 		\OC\Files\Filesystem::initMountManager();
96 96
 		if (!self::$rootMounted) {
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
 		\OC\Files\Filesystem::initMountManager();
213 213
 
214 214
 		$prevLogging = \OC\Files\Filesystem::logWarningWhenAddingStorageWrapper(false);
215
-		\OC\Files\Filesystem::addStorageWrapper('mount_options', function ($mountPoint, \OCP\Files\Storage $storage, \OCP\Files\Mount\IMountPoint $mount) {
215
+		\OC\Files\Filesystem::addStorageWrapper('mount_options', function($mountPoint, \OCP\Files\Storage $storage, \OCP\Files\Mount\IMountPoint $mount) {
216 216
 			if ($storage->instanceOfStorage('\OC\Files\Storage\Common')) {
217 217
 				/** @var \OC\Files\Storage\Common $storage */
218 218
 				$storage->setMountOptions($mount->getOptions());
@@ -220,7 +220,7 @@  discard block
 block discarded – undo
220 220
 			return $storage;
221 221
 		});
222 222
 
223
-		\OC\Files\Filesystem::addStorageWrapper('enable_sharing', function ($mountPoint, \OCP\Files\Storage\IStorage $storage, \OCP\Files\Mount\IMountPoint $mount) {
223
+		\OC\Files\Filesystem::addStorageWrapper('enable_sharing', function($mountPoint, \OCP\Files\Storage\IStorage $storage, \OCP\Files\Mount\IMountPoint $mount) {
224 224
 			if (!$mount->getOption('enable_sharing', true)) {
225 225
 				return new \OC\Files\Storage\Wrapper\PermissionsMask([
226 226
 					'storage' => $storage,
@@ -231,21 +231,21 @@  discard block
 block discarded – undo
231 231
 		});
232 232
 
233 233
 		// install storage availability wrapper, before most other wrappers
234
-		\OC\Files\Filesystem::addStorageWrapper('oc_availability', function ($mountPoint, \OCP\Files\Storage\IStorage $storage) {
234
+		\OC\Files\Filesystem::addStorageWrapper('oc_availability', function($mountPoint, \OCP\Files\Storage\IStorage $storage) {
235 235
 			if (!$storage->instanceOfStorage('\OCA\Files_Sharing\SharedStorage') && !$storage->isLocal()) {
236 236
 				return new \OC\Files\Storage\Wrapper\Availability(['storage' => $storage]);
237 237
 			}
238 238
 			return $storage;
239 239
 		});
240 240
 
241
-		\OC\Files\Filesystem::addStorageWrapper('oc_encoding', function ($mountPoint, \OCP\Files\Storage $storage, \OCP\Files\Mount\IMountPoint $mount) {
241
+		\OC\Files\Filesystem::addStorageWrapper('oc_encoding', function($mountPoint, \OCP\Files\Storage $storage, \OCP\Files\Mount\IMountPoint $mount) {
242 242
 			if ($mount->getOption('encoding_compatibility', false) && !$storage->instanceOfStorage('\OCA\Files_Sharing\SharedStorage') && !$storage->isLocal()) {
243 243
 				return new \OC\Files\Storage\Wrapper\Encoding(['storage' => $storage]);
244 244
 			}
245 245
 			return $storage;
246 246
 		});
247 247
 
248
-		\OC\Files\Filesystem::addStorageWrapper('oc_quota', function ($mountPoint, $storage) {
248
+		\OC\Files\Filesystem::addStorageWrapper('oc_quota', function($mountPoint, $storage) {
249 249
 			// set up quota for home storages, even for other users
250 250
 			// which can happen when using sharing
251 251
 
@@ -267,7 +267,7 @@  discard block
 block discarded – undo
267 267
 			return $storage;
268 268
 		});
269 269
 
270
-		\OC\Files\Filesystem::addStorageWrapper('readonly', function ($mountPoint, \OCP\Files\Storage\IStorage $storage, \OCP\Files\Mount\IMountPoint $mount) {
270
+		\OC\Files\Filesystem::addStorageWrapper('readonly', function($mountPoint, \OCP\Files\Storage\IStorage $storage, \OCP\Files\Mount\IMountPoint $mount) {
271 271
 			/*
272 272
 			 * Do not allow any operations that modify the storage
273 273
 			 */
@@ -318,7 +318,7 @@  discard block
 block discarded – undo
318 318
 
319 319
 		//if we aren't logged in, there is no use to set up the filesystem
320 320
 		if ($user != "") {
321
-			$userDir = '/' . $user . '/files';
321
+			$userDir = '/'.$user.'/files';
322 322
 
323 323
 			//jail the user into his "home" directory
324 324
 			\OC\Files\Filesystem::init($user, $userDir);
@@ -416,7 +416,7 @@  discard block
 block discarded – undo
416 416
 		/** @var LoggerInterface $logger */
417 417
 		$logger = \OC::$server->get(LoggerInterface::class);
418 418
 
419
-		$plainSkeletonDirectory = \OC::$server->getConfig()->getSystemValue('skeletondirectory', \OC::$SERVERROOT . '/core/skeleton');
419
+		$plainSkeletonDirectory = \OC::$server->getConfig()->getSystemValue('skeletondirectory', \OC::$SERVERROOT.'/core/skeleton');
420 420
 		$userLang = \OC::$server->getL10NFactory()->findLanguage();
421 421
 		$skeletonDirectory = str_replace('{lang}', $userLang, $plainSkeletonDirectory);
422 422
 
@@ -438,9 +438,9 @@  discard block
 block discarded – undo
438 438
 		if ($instanceId === null) {
439 439
 			throw new \RuntimeException('no instance id!');
440 440
 		}
441
-		$appdata = 'appdata_' . $instanceId;
441
+		$appdata = 'appdata_'.$instanceId;
442 442
 		if ($userId === $appdata) {
443
-			throw new \RuntimeException('username is reserved name: ' . $appdata);
443
+			throw new \RuntimeException('username is reserved name: '.$appdata);
444 444
 		}
445 445
 
446 446
 		if (!empty($skeletonDirectory)) {
@@ -475,14 +475,14 @@  discard block
 block discarded – undo
475 475
 		// Copy the files
476 476
 		while (false !== ($file = readdir($dir))) {
477 477
 			if (!\OC\Files\Filesystem::isIgnoredDir($file)) {
478
-				if (is_dir($source . '/' . $file)) {
478
+				if (is_dir($source.'/'.$file)) {
479 479
 					$child = $target->newFolder($file);
480
-					self::copyr($source . '/' . $file, $child);
480
+					self::copyr($source.'/'.$file, $child);
481 481
 				} else {
482 482
 					$child = $target->newFile($file);
483
-					$sourceStream = fopen($source . '/' . $file, 'r');
483
+					$sourceStream = fopen($source.'/'.$file, 'r');
484 484
 					if ($sourceStream === false) {
485
-						$logger->error(sprintf('Could not fopen "%s"', $source . '/' . $file), ['app' => 'core']);
485
+						$logger->error(sprintf('Could not fopen "%s"', $source.'/'.$file), ['app' => 'core']);
486 486
 						closedir($dir);
487 487
 						return;
488 488
 					}
@@ -559,8 +559,8 @@  discard block
 block discarded – undo
559 559
 			return;
560 560
 		}
561 561
 
562
-		$timestamp = filemtime(OC::$SERVERROOT . '/version.php');
563
-		require OC::$SERVERROOT . '/version.php';
562
+		$timestamp = filemtime(OC::$SERVERROOT.'/version.php');
563
+		require OC::$SERVERROOT.'/version.php';
564 564
 		/** @var int $timestamp */
565 565
 		self::$versionCache['OC_Version_Timestamp'] = $timestamp;
566 566
 		/** @var string $OC_Version */
@@ -730,7 +730,7 @@  discard block
 block discarded – undo
730 730
 	public static function checkServer(\OC\SystemConfig $config) {
731 731
 		$l = \OC::$server->getL10N('lib');
732 732
 		$errors = [];
733
-		$CONFIG_DATADIRECTORY = $config->getValue('datadirectory', OC::$SERVERROOT . '/data');
733
+		$CONFIG_DATADIRECTORY = $config->getValue('datadirectory', OC::$SERVERROOT.'/data');
734 734
 
735 735
 		if (!self::needUpgrade($config) && $config->getValue('installed', false)) {
736 736
 			// this check needs to be done every time
@@ -770,9 +770,9 @@  discard block
 block discarded – undo
770 770
 				$errors[] = [
771 771
 					'error' => $l->t('Cannot write into "config" directory'),
772 772
 					'hint' => $l->t('This can usually be fixed by giving the webserver write access to the config directory. See %s',
773
-						[ $urlGenerator->linkToDocs('admin-dir_permissions') ]) . '. '
773
+						[$urlGenerator->linkToDocs('admin-dir_permissions')]).'. '
774 774
 						. $l->t('Or, if you prefer to keep config.php file read only, set the option "config_is_read_only" to true in it. See %s',
775
-						[ $urlGenerator->linkToDocs('admin-config') ])
775
+						[$urlGenerator->linkToDocs('admin-config')])
776 776
 				];
777 777
 			}
778 778
 		}
@@ -947,7 +947,7 @@  discard block
 block discarded – undo
947 947
 			$version -= ($minor * 100);
948 948
 			$patch = $version;
949 949
 			$errors[] = [
950
-				'error' => $l->t('libxml2 2.7.0 is at least required. Currently %s is installed.', [$major . '.' . $minor . '.' . $patch]),
950
+				'error' => $l->t('libxml2 2.7.0 is at least required. Currently %s is installed.', [$major.'.'.$minor.'.'.$patch]),
951 951
 				'hint' => $l->t('To fix this issue update your libxml2 version and restart your web server.')
952 952
 			];
953 953
 		}
@@ -1050,10 +1050,10 @@  discard block
 block discarded – undo
1050 1050
 				'hint' => $l->t('Check the value of "datadirectory" in your configuration')
1051 1051
 			];
1052 1052
 		}
1053
-		if (!file_exists($dataDirectory . '/.ocdata')) {
1053
+		if (!file_exists($dataDirectory.'/.ocdata')) {
1054 1054
 			$errors[] = [
1055 1055
 				'error' => $l->t('Your data directory is invalid'),
1056
-				'hint' => $l->t('Ensure there is a file called ".ocdata"' .
1056
+				'hint' => $l->t('Ensure there is a file called ".ocdata"'.
1057 1057
 					' in the root of the data directory.')
1058 1058
 			];
1059 1059
 		}
@@ -1069,7 +1069,7 @@  discard block
 block discarded – undo
1069 1069
 	public static function checkLoggedIn() {
1070 1070
 		// Check if we are a user
1071 1071
 		if (!\OC::$server->getUserSession()->isLoggedIn()) {
1072
-			header('Location: ' . \OC::$server->getURLGenerator()->linkToRoute(
1072
+			header('Location: '.\OC::$server->getURLGenerator()->linkToRoute(
1073 1073
 						'core.login.showLoginForm',
1074 1074
 						[
1075 1075
 							'redirect_url' => \OC::$server->getRequest()->getRequestUri(),
@@ -1080,7 +1080,7 @@  discard block
 block discarded – undo
1080 1080
 		}
1081 1081
 		// Redirect to 2FA challenge selection if 2FA challenge was not solved yet
1082 1082
 		if (\OC::$server->getTwoFactorAuthManager()->needsSecondFactor(\OC::$server->getUserSession()->getUser())) {
1083
-			header('Location: ' . \OC::$server->getURLGenerator()->linkToRoute('core.TwoFactorChallenge.selectChallenge'));
1083
+			header('Location: '.\OC::$server->getURLGenerator()->linkToRoute('core.TwoFactorChallenge.selectChallenge'));
1084 1084
 			exit();
1085 1085
 		}
1086 1086
 	}
@@ -1093,7 +1093,7 @@  discard block
 block discarded – undo
1093 1093
 	public static function checkAdminUser() {
1094 1094
 		OC_Util::checkLoggedIn();
1095 1095
 		if (!OC_User::isAdminUser(OC_User::getUser())) {
1096
-			header('Location: ' . \OCP\Util::linkToAbsolute('', 'index.php'));
1096
+			header('Location: '.\OCP\Util::linkToAbsolute('', 'index.php'));
1097 1097
 			exit();
1098 1098
 		}
1099 1099
 	}
@@ -1140,9 +1140,9 @@  discard block
 block discarded – undo
1140 1140
 				}
1141 1141
 
1142 1142
 				if ($config->getSystemValue('htaccess.IgnoreFrontController', false) === true || getenv('front_controller_active') === 'true') {
1143
-					$location = $urlGenerator->getAbsoluteURL('/apps/' . $appId . '/');
1143
+					$location = $urlGenerator->getAbsoluteURL('/apps/'.$appId.'/');
1144 1144
 				} else {
1145
-					$location = $urlGenerator->getAbsoluteURL('/index.php/apps/' . $appId . '/');
1145
+					$location = $urlGenerator->getAbsoluteURL('/index.php/apps/'.$appId.'/');
1146 1146
 				}
1147 1147
 			}
1148 1148
 		}
@@ -1156,7 +1156,7 @@  discard block
 block discarded – undo
1156 1156
 	 */
1157 1157
 	public static function redirectToDefaultPage() {
1158 1158
 		$location = self::getDefaultPageUrl();
1159
-		header('Location: ' . $location);
1159
+		header('Location: '.$location);
1160 1160
 		exit();
1161 1161
 	}
1162 1162
 
@@ -1169,7 +1169,7 @@  discard block
 block discarded – undo
1169 1169
 		$id = \OC::$server->getSystemConfig()->getValue('instanceid', null);
1170 1170
 		if (is_null($id)) {
1171 1171
 			// We need to guarantee at least one letter in instanceid so it can be used as the session_name
1172
-			$id = 'oc' . \OC::$server->getSecureRandom()->generate(10, \OCP\Security\ISecureRandom::CHAR_LOWER.\OCP\Security\ISecureRandom::CHAR_DIGITS);
1172
+			$id = 'oc'.\OC::$server->getSecureRandom()->generate(10, \OCP\Security\ISecureRandom::CHAR_LOWER.\OCP\Security\ISecureRandom::CHAR_DIGITS);
1173 1173
 			\OC::$server->getSystemConfig()->setValue('instanceid', $id);
1174 1174
 		}
1175 1175
 		return $id;
@@ -1186,12 +1186,12 @@  discard block
 block discarded – undo
1186 1186
 	 */
1187 1187
 	public static function sanitizeHTML($value) {
1188 1188
 		if (is_array($value)) {
1189
-			$value = array_map(function ($value) {
1189
+			$value = array_map(function($value) {
1190 1190
 				return self::sanitizeHTML($value);
1191 1191
 			}, $value);
1192 1192
 		} else {
1193 1193
 			// Specify encoding for PHP<5.4
1194
-			$value = htmlspecialchars((string)$value, ENT_QUOTES, 'UTF-8');
1194
+			$value = htmlspecialchars((string) $value, ENT_QUOTES, 'UTF-8');
1195 1195
 		}
1196 1196
 		return $value;
1197 1197
 	}
@@ -1224,7 +1224,7 @@  discard block
 block discarded – undo
1224 1224
 		$testContent = 'This is used for testing whether htaccess is properly enabled to disallow access from the outside. This file can be safely removed.';
1225 1225
 
1226 1226
 		// creating a test file
1227
-		$testFile = $config->getSystemValue('datadirectory', OC::$SERVERROOT . '/data') . '/' . $fileName;
1227
+		$testFile = $config->getSystemValue('datadirectory', OC::$SERVERROOT.'/data').'/'.$fileName;
1228 1228
 
1229 1229
 		if (file_exists($testFile)) {// already running this test, possible recursive call
1230 1230
 			return false;
@@ -1233,7 +1233,7 @@  discard block
 block discarded – undo
1233 1233
 		$fp = @fopen($testFile, 'w');
1234 1234
 		if (!$fp) {
1235 1235
 			throw new OC\HintException('Can\'t create test file to check for working .htaccess file.',
1236
-				'Make sure it is possible for the webserver to write to ' . $testFile);
1236
+				'Make sure it is possible for the webserver to write to '.$testFile);
1237 1237
 		}
1238 1238
 		fwrite($fp, $testContent);
1239 1239
 		fclose($fp);
@@ -1259,10 +1259,10 @@  discard block
 block discarded – undo
1259 1259
 		}
1260 1260
 
1261 1261
 		$fileName = '/htaccesstest.txt';
1262
-		$testFile = $config->getSystemValue('datadirectory', OC::$SERVERROOT . '/data') . '/' . $fileName;
1262
+		$testFile = $config->getSystemValue('datadirectory', OC::$SERVERROOT.'/data').'/'.$fileName;
1263 1263
 
1264 1264
 		// accessing the file via http
1265
-		$url = \OC::$server->getURLGenerator()->getAbsoluteURL(OC::$WEBROOT . '/data' . $fileName);
1265
+		$url = \OC::$server->getURLGenerator()->getAbsoluteURL(OC::$WEBROOT.'/data'.$fileName);
1266 1266
 		try {
1267 1267
 			$content = \OC::$server->getHTTPClientService()->newClient()->get($url)->getBody();
1268 1268
 		} catch (\Exception $e) {
@@ -1270,9 +1270,9 @@  discard block
 block discarded – undo
1270 1270
 		}
1271 1271
 
1272 1272
 		if (strpos($url, 'https:') === 0) {
1273
-			$url = 'http:' . substr($url, 6);
1273
+			$url = 'http:'.substr($url, 6);
1274 1274
 		} else {
1275
-			$url = 'https:' . substr($url, 5);
1275
+			$url = 'https:'.substr($url, 5);
1276 1276
 		}
1277 1277
 
1278 1278
 		try {
@@ -1362,7 +1362,7 @@  discard block
 block discarded – undo
1362 1362
 		$theme = \OC::$server->getSystemConfig()->getValue("theme", '');
1363 1363
 
1364 1364
 		if ($theme === '') {
1365
-			if (is_dir(OC::$SERVERROOT . '/themes/default')) {
1365
+			if (is_dir(OC::$SERVERROOT.'/themes/default')) {
1366 1366
 				$theme = 'default';
1367 1367
 			}
1368 1368
 		}
@@ -1383,7 +1383,7 @@  discard block
 block discarded – undo
1383 1383
 
1384 1384
 		$normalizedValue = Normalizer::normalize($value);
1385 1385
 		if ($normalizedValue === null || $normalizedValue === false) {
1386
-			\OC::$server->getLogger()->warning('normalizing failed for "' . $value . '"', ['app' => 'core']);
1386
+			\OC::$server->getLogger()->warning('normalizing failed for "'.$value.'"', ['app' => 'core']);
1387 1387
 			return $value;
1388 1388
 		}
1389 1389
 
@@ -1399,7 +1399,7 @@  discard block
 block discarded – undo
1399 1399
 		$version = OC_Util::getVersionString();
1400 1400
 		$build = OC_Util::getBuild();
1401 1401
 		if (!empty($build) and OC_Util::getChannel() === 'daily') {
1402
-			$version .= ' Build:' . $build;
1402
+			$version .= ' Build:'.$build;
1403 1403
 		}
1404 1404
 		return $version;
1405 1405
 	}
@@ -1421,7 +1421,7 @@  discard block
 block discarded – undo
1421 1421
 		}
1422 1422
 
1423 1423
 		// detect part files
1424
-		if (preg_match('/' . \OCP\Files\FileInfo::BLACKLIST_FILES_REGEX . '/', $trimmed) !== 0) {
1424
+		if (preg_match('/'.\OCP\Files\FileInfo::BLACKLIST_FILES_REGEX.'/', $trimmed) !== 0) {
1425 1425
 			return false;
1426 1426
 		}
1427 1427
 
@@ -1452,19 +1452,19 @@  discard block
 block discarded – undo
1452 1452
 			} elseif ($config->getValue('debug', false) && $versionDiff < 0) {
1453 1453
 				// downgrade with debug
1454 1454
 				$installedMajor = explode('.', $installedVersion);
1455
-				$installedMajor = $installedMajor[0] . '.' . $installedMajor[1];
1455
+				$installedMajor = $installedMajor[0].'.'.$installedMajor[1];
1456 1456
 				$currentMajor = explode('.', $currentVersion);
1457
-				$currentMajor = $currentMajor[0] . '.' . $currentMajor[1];
1457
+				$currentMajor = $currentMajor[0].'.'.$currentMajor[1];
1458 1458
 				if ($installedMajor === $currentMajor) {
1459 1459
 					// Same major, allow downgrade for developers
1460 1460
 					return true;
1461 1461
 				} else {
1462 1462
 					// downgrade attempt, throw exception
1463
-					throw new \OC\HintException('Downgrading is not supported and is likely to cause unpredictable issues (from ' . $installedVersion . ' to ' . $currentVersion . ')');
1463
+					throw new \OC\HintException('Downgrading is not supported and is likely to cause unpredictable issues (from '.$installedVersion.' to '.$currentVersion.')');
1464 1464
 				}
1465 1465
 			} elseif ($versionDiff < 0) {
1466 1466
 				// downgrade attempt, throw exception
1467
-				throw new \OC\HintException('Downgrading is not supported and is likely to cause unpredictable issues (from ' . $installedVersion . ' to ' . $currentVersion . ')');
1467
+				throw new \OC\HintException('Downgrading is not supported and is likely to cause unpredictable issues (from '.$installedVersion.' to '.$currentVersion.')');
1468 1468
 			}
1469 1469
 
1470 1470
 			// also check for upgrades for apps (independently from the user)
Please login to merge, or discard this patch.
apps/files/composer/composer/autoload_static.php 1 patch
Spacing   +54 added lines, -54 removed lines patch added patch discarded remove patch
@@ -6,73 +6,73 @@
 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
-        'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
25
-        'OCA\\Files\\Activity\\FavoriteProvider' => __DIR__ . '/..' . '/../lib/Activity/FavoriteProvider.php',
26
-        'OCA\\Files\\Activity\\Filter\\Favorites' => __DIR__ . '/..' . '/../lib/Activity/Filter/Favorites.php',
27
-        'OCA\\Files\\Activity\\Filter\\FileChanges' => __DIR__ . '/..' . '/../lib/Activity/Filter/FileChanges.php',
28
-        'OCA\\Files\\Activity\\Helper' => __DIR__ . '/..' . '/../lib/Activity/Helper.php',
29
-        'OCA\\Files\\Activity\\Provider' => __DIR__ . '/..' . '/../lib/Activity/Provider.php',
30
-        'OCA\\Files\\Activity\\Settings\\FavoriteAction' => __DIR__ . '/..' . '/../lib/Activity/Settings/FavoriteAction.php',
31
-        'OCA\\Files\\Activity\\Settings\\FileActivitySettings' => __DIR__ . '/..' . '/../lib/Activity/Settings/FileActivitySettings.php',
32
-        'OCA\\Files\\Activity\\Settings\\FileChanged' => __DIR__ . '/..' . '/../lib/Activity/Settings/FileChanged.php',
33
-        'OCA\\Files\\Activity\\Settings\\FileFavoriteChanged' => __DIR__ . '/..' . '/../lib/Activity/Settings/FileFavoriteChanged.php',
34
-        'OCA\\Files\\App' => __DIR__ . '/..' . '/../lib/App.php',
35
-        'OCA\\Files\\AppInfo\\Application' => __DIR__ . '/..' . '/../lib/AppInfo/Application.php',
36
-        'OCA\\Files\\BackgroundJob\\CleanupDirectEditingTokens' => __DIR__ . '/..' . '/../lib/BackgroundJob/CleanupDirectEditingTokens.php',
37
-        'OCA\\Files\\BackgroundJob\\CleanupFileLocks' => __DIR__ . '/..' . '/../lib/BackgroundJob/CleanupFileLocks.php',
38
-        'OCA\\Files\\BackgroundJob\\DeleteOrphanedItems' => __DIR__ . '/..' . '/../lib/BackgroundJob/DeleteOrphanedItems.php',
39
-        'OCA\\Files\\BackgroundJob\\ScanFiles' => __DIR__ . '/..' . '/../lib/BackgroundJob/ScanFiles.php',
40
-        'OCA\\Files\\BackgroundJob\\TransferOwnership' => __DIR__ . '/..' . '/../lib/BackgroundJob/TransferOwnership.php',
41
-        'OCA\\Files\\Capabilities' => __DIR__ . '/..' . '/../lib/Capabilities.php',
42
-        'OCA\\Files\\Collaboration\\Resources\\Listener' => __DIR__ . '/..' . '/../lib/Collaboration/Resources/Listener.php',
43
-        'OCA\\Files\\Collaboration\\Resources\\ResourceProvider' => __DIR__ . '/..' . '/../lib/Collaboration/Resources/ResourceProvider.php',
44
-        'OCA\\Files\\Command\\DeleteOrphanedFiles' => __DIR__ . '/..' . '/../lib/Command/DeleteOrphanedFiles.php',
45
-        'OCA\\Files\\Command\\RepairTree' => __DIR__ . '/..' . '/../lib/Command/RepairTree.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\\TemplateController' => __DIR__ . '/..' . '/../lib/Controller/TemplateController.php',
54
-        'OCA\\Files\\Controller\\TransferOwnershipController' => __DIR__ . '/..' . '/../lib/Controller/TransferOwnershipController.php',
55
-        'OCA\\Files\\Controller\\ViewController' => __DIR__ . '/..' . '/../lib/Controller/ViewController.php',
56
-        'OCA\\Files\\Db\\TransferOwnership' => __DIR__ . '/..' . '/../lib/Db/TransferOwnership.php',
57
-        'OCA\\Files\\Db\\TransferOwnershipMapper' => __DIR__ . '/..' . '/../lib/Db/TransferOwnershipMapper.php',
58
-        'OCA\\Files\\Event\\LoadAdditionalScriptsEvent' => __DIR__ . '/..' . '/../lib/Event/LoadAdditionalScriptsEvent.php',
59
-        'OCA\\Files\\Event\\LoadSidebar' => __DIR__ . '/..' . '/../lib/Event/LoadSidebar.php',
60
-        'OCA\\Files\\Exception\\TransferOwnershipException' => __DIR__ . '/..' . '/../lib/Exception/TransferOwnershipException.php',
61
-        'OCA\\Files\\Helper' => __DIR__ . '/..' . '/../lib/Helper.php',
62
-        'OCA\\Files\\Listener\\LegacyLoadAdditionalScriptsAdapter' => __DIR__ . '/..' . '/../lib/Listener/LegacyLoadAdditionalScriptsAdapter.php',
63
-        'OCA\\Files\\Listener\\LoadSidebarListener' => __DIR__ . '/..' . '/../lib/Listener/LoadSidebarListener.php',
64
-        'OCA\\Files\\Migration\\Version11301Date20191205150729' => __DIR__ . '/..' . '/../lib/Migration/Version11301Date20191205150729.php',
65
-        'OCA\\Files\\Notification\\Notifier' => __DIR__ . '/..' . '/../lib/Notification/Notifier.php',
66
-        'OCA\\Files\\Search\\FilesSearchProvider' => __DIR__ . '/..' . '/../lib/Search/FilesSearchProvider.php',
67
-        'OCA\\Files\\Service\\DirectEditingService' => __DIR__ . '/..' . '/../lib/Service/DirectEditingService.php',
68
-        'OCA\\Files\\Service\\OwnershipTransferService' => __DIR__ . '/..' . '/../lib/Service/OwnershipTransferService.php',
69
-        'OCA\\Files\\Service\\TagService' => __DIR__ . '/..' . '/../lib/Service/TagService.php',
70
-        'OCA\\Files\\Settings\\PersonalSettings' => __DIR__ . '/..' . '/../lib/Settings/PersonalSettings.php',
23
+    public static $classMap = array(
24
+        'Composer\\InstalledVersions' => __DIR__.'/..'.'/composer/InstalledVersions.php',
25
+        'OCA\\Files\\Activity\\FavoriteProvider' => __DIR__.'/..'.'/../lib/Activity/FavoriteProvider.php',
26
+        'OCA\\Files\\Activity\\Filter\\Favorites' => __DIR__.'/..'.'/../lib/Activity/Filter/Favorites.php',
27
+        'OCA\\Files\\Activity\\Filter\\FileChanges' => __DIR__.'/..'.'/../lib/Activity/Filter/FileChanges.php',
28
+        'OCA\\Files\\Activity\\Helper' => __DIR__.'/..'.'/../lib/Activity/Helper.php',
29
+        'OCA\\Files\\Activity\\Provider' => __DIR__.'/..'.'/../lib/Activity/Provider.php',
30
+        'OCA\\Files\\Activity\\Settings\\FavoriteAction' => __DIR__.'/..'.'/../lib/Activity/Settings/FavoriteAction.php',
31
+        'OCA\\Files\\Activity\\Settings\\FileActivitySettings' => __DIR__.'/..'.'/../lib/Activity/Settings/FileActivitySettings.php',
32
+        'OCA\\Files\\Activity\\Settings\\FileChanged' => __DIR__.'/..'.'/../lib/Activity/Settings/FileChanged.php',
33
+        'OCA\\Files\\Activity\\Settings\\FileFavoriteChanged' => __DIR__.'/..'.'/../lib/Activity/Settings/FileFavoriteChanged.php',
34
+        'OCA\\Files\\App' => __DIR__.'/..'.'/../lib/App.php',
35
+        'OCA\\Files\\AppInfo\\Application' => __DIR__.'/..'.'/../lib/AppInfo/Application.php',
36
+        'OCA\\Files\\BackgroundJob\\CleanupDirectEditingTokens' => __DIR__.'/..'.'/../lib/BackgroundJob/CleanupDirectEditingTokens.php',
37
+        'OCA\\Files\\BackgroundJob\\CleanupFileLocks' => __DIR__.'/..'.'/../lib/BackgroundJob/CleanupFileLocks.php',
38
+        'OCA\\Files\\BackgroundJob\\DeleteOrphanedItems' => __DIR__.'/..'.'/../lib/BackgroundJob/DeleteOrphanedItems.php',
39
+        'OCA\\Files\\BackgroundJob\\ScanFiles' => __DIR__.'/..'.'/../lib/BackgroundJob/ScanFiles.php',
40
+        'OCA\\Files\\BackgroundJob\\TransferOwnership' => __DIR__.'/..'.'/../lib/BackgroundJob/TransferOwnership.php',
41
+        'OCA\\Files\\Capabilities' => __DIR__.'/..'.'/../lib/Capabilities.php',
42
+        'OCA\\Files\\Collaboration\\Resources\\Listener' => __DIR__.'/..'.'/../lib/Collaboration/Resources/Listener.php',
43
+        'OCA\\Files\\Collaboration\\Resources\\ResourceProvider' => __DIR__.'/..'.'/../lib/Collaboration/Resources/ResourceProvider.php',
44
+        'OCA\\Files\\Command\\DeleteOrphanedFiles' => __DIR__.'/..'.'/../lib/Command/DeleteOrphanedFiles.php',
45
+        'OCA\\Files\\Command\\RepairTree' => __DIR__.'/..'.'/../lib/Command/RepairTree.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\\TemplateController' => __DIR__.'/..'.'/../lib/Controller/TemplateController.php',
54
+        'OCA\\Files\\Controller\\TransferOwnershipController' => __DIR__.'/..'.'/../lib/Controller/TransferOwnershipController.php',
55
+        'OCA\\Files\\Controller\\ViewController' => __DIR__.'/..'.'/../lib/Controller/ViewController.php',
56
+        'OCA\\Files\\Db\\TransferOwnership' => __DIR__.'/..'.'/../lib/Db/TransferOwnership.php',
57
+        'OCA\\Files\\Db\\TransferOwnershipMapper' => __DIR__.'/..'.'/../lib/Db/TransferOwnershipMapper.php',
58
+        'OCA\\Files\\Event\\LoadAdditionalScriptsEvent' => __DIR__.'/..'.'/../lib/Event/LoadAdditionalScriptsEvent.php',
59
+        'OCA\\Files\\Event\\LoadSidebar' => __DIR__.'/..'.'/../lib/Event/LoadSidebar.php',
60
+        'OCA\\Files\\Exception\\TransferOwnershipException' => __DIR__.'/..'.'/../lib/Exception/TransferOwnershipException.php',
61
+        'OCA\\Files\\Helper' => __DIR__.'/..'.'/../lib/Helper.php',
62
+        'OCA\\Files\\Listener\\LegacyLoadAdditionalScriptsAdapter' => __DIR__.'/..'.'/../lib/Listener/LegacyLoadAdditionalScriptsAdapter.php',
63
+        'OCA\\Files\\Listener\\LoadSidebarListener' => __DIR__.'/..'.'/../lib/Listener/LoadSidebarListener.php',
64
+        'OCA\\Files\\Migration\\Version11301Date20191205150729' => __DIR__.'/..'.'/../lib/Migration/Version11301Date20191205150729.php',
65
+        'OCA\\Files\\Notification\\Notifier' => __DIR__.'/..'.'/../lib/Notification/Notifier.php',
66
+        'OCA\\Files\\Search\\FilesSearchProvider' => __DIR__.'/..'.'/../lib/Search/FilesSearchProvider.php',
67
+        'OCA\\Files\\Service\\DirectEditingService' => __DIR__.'/..'.'/../lib/Service/DirectEditingService.php',
68
+        'OCA\\Files\\Service\\OwnershipTransferService' => __DIR__.'/..'.'/../lib/Service/OwnershipTransferService.php',
69
+        'OCA\\Files\\Service\\TagService' => __DIR__.'/..'.'/../lib/Service/TagService.php',
70
+        'OCA\\Files\\Settings\\PersonalSettings' => __DIR__.'/..'.'/../lib/Settings/PersonalSettings.php',
71 71
     );
72 72
 
73 73
     public static function getInitializer(ClassLoader $loader)
74 74
     {
75
-        return \Closure::bind(function () use ($loader) {
75
+        return \Closure::bind(function() use ($loader) {
76 76
             $loader->prefixLengthsPsr4 = ComposerStaticInitFiles::$prefixLengthsPsr4;
77 77
             $loader->prefixDirsPsr4 = ComposerStaticInitFiles::$prefixDirsPsr4;
78 78
             $loader->classMap = ComposerStaticInitFiles::$classMap;
Please login to merge, or discard this patch.
apps/files/composer/composer/autoload_classmap.php 1 patch
Spacing   +47 added lines, -47 removed lines patch added patch discarded remove patch
@@ -6,51 +6,51 @@
 block discarded – undo
6 6
 $baseDir = $vendorDir;
7 7
 
8 8
 return array(
9
-    'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
10
-    'OCA\\Files\\Activity\\FavoriteProvider' => $baseDir . '/../lib/Activity/FavoriteProvider.php',
11
-    'OCA\\Files\\Activity\\Filter\\Favorites' => $baseDir . '/../lib/Activity/Filter/Favorites.php',
12
-    'OCA\\Files\\Activity\\Filter\\FileChanges' => $baseDir . '/../lib/Activity/Filter/FileChanges.php',
13
-    'OCA\\Files\\Activity\\Helper' => $baseDir . '/../lib/Activity/Helper.php',
14
-    'OCA\\Files\\Activity\\Provider' => $baseDir . '/../lib/Activity/Provider.php',
15
-    'OCA\\Files\\Activity\\Settings\\FavoriteAction' => $baseDir . '/../lib/Activity/Settings/FavoriteAction.php',
16
-    'OCA\\Files\\Activity\\Settings\\FileActivitySettings' => $baseDir . '/../lib/Activity/Settings/FileActivitySettings.php',
17
-    'OCA\\Files\\Activity\\Settings\\FileChanged' => $baseDir . '/../lib/Activity/Settings/FileChanged.php',
18
-    'OCA\\Files\\Activity\\Settings\\FileFavoriteChanged' => $baseDir . '/../lib/Activity/Settings/FileFavoriteChanged.php',
19
-    'OCA\\Files\\App' => $baseDir . '/../lib/App.php',
20
-    'OCA\\Files\\AppInfo\\Application' => $baseDir . '/../lib/AppInfo/Application.php',
21
-    'OCA\\Files\\BackgroundJob\\CleanupDirectEditingTokens' => $baseDir . '/../lib/BackgroundJob/CleanupDirectEditingTokens.php',
22
-    'OCA\\Files\\BackgroundJob\\CleanupFileLocks' => $baseDir . '/../lib/BackgroundJob/CleanupFileLocks.php',
23
-    'OCA\\Files\\BackgroundJob\\DeleteOrphanedItems' => $baseDir . '/../lib/BackgroundJob/DeleteOrphanedItems.php',
24
-    'OCA\\Files\\BackgroundJob\\ScanFiles' => $baseDir . '/../lib/BackgroundJob/ScanFiles.php',
25
-    'OCA\\Files\\BackgroundJob\\TransferOwnership' => $baseDir . '/../lib/BackgroundJob/TransferOwnership.php',
26
-    'OCA\\Files\\Capabilities' => $baseDir . '/../lib/Capabilities.php',
27
-    'OCA\\Files\\Collaboration\\Resources\\Listener' => $baseDir . '/../lib/Collaboration/Resources/Listener.php',
28
-    'OCA\\Files\\Collaboration\\Resources\\ResourceProvider' => $baseDir . '/../lib/Collaboration/Resources/ResourceProvider.php',
29
-    'OCA\\Files\\Command\\DeleteOrphanedFiles' => $baseDir . '/../lib/Command/DeleteOrphanedFiles.php',
30
-    'OCA\\Files\\Command\\RepairTree' => $baseDir . '/../lib/Command/RepairTree.php',
31
-    'OCA\\Files\\Command\\Scan' => $baseDir . '/../lib/Command/Scan.php',
32
-    'OCA\\Files\\Command\\ScanAppData' => $baseDir . '/../lib/Command/ScanAppData.php',
33
-    'OCA\\Files\\Command\\TransferOwnership' => $baseDir . '/../lib/Command/TransferOwnership.php',
34
-    'OCA\\Files\\Controller\\AjaxController' => $baseDir . '/../lib/Controller/AjaxController.php',
35
-    'OCA\\Files\\Controller\\ApiController' => $baseDir . '/../lib/Controller/ApiController.php',
36
-    'OCA\\Files\\Controller\\DirectEditingController' => $baseDir . '/../lib/Controller/DirectEditingController.php',
37
-    'OCA\\Files\\Controller\\DirectEditingViewController' => $baseDir . '/../lib/Controller/DirectEditingViewController.php',
38
-    'OCA\\Files\\Controller\\TemplateController' => $baseDir . '/../lib/Controller/TemplateController.php',
39
-    'OCA\\Files\\Controller\\TransferOwnershipController' => $baseDir . '/../lib/Controller/TransferOwnershipController.php',
40
-    'OCA\\Files\\Controller\\ViewController' => $baseDir . '/../lib/Controller/ViewController.php',
41
-    'OCA\\Files\\Db\\TransferOwnership' => $baseDir . '/../lib/Db/TransferOwnership.php',
42
-    'OCA\\Files\\Db\\TransferOwnershipMapper' => $baseDir . '/../lib/Db/TransferOwnershipMapper.php',
43
-    'OCA\\Files\\Event\\LoadAdditionalScriptsEvent' => $baseDir . '/../lib/Event/LoadAdditionalScriptsEvent.php',
44
-    'OCA\\Files\\Event\\LoadSidebar' => $baseDir . '/../lib/Event/LoadSidebar.php',
45
-    'OCA\\Files\\Exception\\TransferOwnershipException' => $baseDir . '/../lib/Exception/TransferOwnershipException.php',
46
-    'OCA\\Files\\Helper' => $baseDir . '/../lib/Helper.php',
47
-    'OCA\\Files\\Listener\\LegacyLoadAdditionalScriptsAdapter' => $baseDir . '/../lib/Listener/LegacyLoadAdditionalScriptsAdapter.php',
48
-    'OCA\\Files\\Listener\\LoadSidebarListener' => $baseDir . '/../lib/Listener/LoadSidebarListener.php',
49
-    'OCA\\Files\\Migration\\Version11301Date20191205150729' => $baseDir . '/../lib/Migration/Version11301Date20191205150729.php',
50
-    'OCA\\Files\\Notification\\Notifier' => $baseDir . '/../lib/Notification/Notifier.php',
51
-    'OCA\\Files\\Search\\FilesSearchProvider' => $baseDir . '/../lib/Search/FilesSearchProvider.php',
52
-    'OCA\\Files\\Service\\DirectEditingService' => $baseDir . '/../lib/Service/DirectEditingService.php',
53
-    'OCA\\Files\\Service\\OwnershipTransferService' => $baseDir . '/../lib/Service/OwnershipTransferService.php',
54
-    'OCA\\Files\\Service\\TagService' => $baseDir . '/../lib/Service/TagService.php',
55
-    'OCA\\Files\\Settings\\PersonalSettings' => $baseDir . '/../lib/Settings/PersonalSettings.php',
9
+    'Composer\\InstalledVersions' => $vendorDir.'/composer/InstalledVersions.php',
10
+    'OCA\\Files\\Activity\\FavoriteProvider' => $baseDir.'/../lib/Activity/FavoriteProvider.php',
11
+    'OCA\\Files\\Activity\\Filter\\Favorites' => $baseDir.'/../lib/Activity/Filter/Favorites.php',
12
+    'OCA\\Files\\Activity\\Filter\\FileChanges' => $baseDir.'/../lib/Activity/Filter/FileChanges.php',
13
+    'OCA\\Files\\Activity\\Helper' => $baseDir.'/../lib/Activity/Helper.php',
14
+    'OCA\\Files\\Activity\\Provider' => $baseDir.'/../lib/Activity/Provider.php',
15
+    'OCA\\Files\\Activity\\Settings\\FavoriteAction' => $baseDir.'/../lib/Activity/Settings/FavoriteAction.php',
16
+    'OCA\\Files\\Activity\\Settings\\FileActivitySettings' => $baseDir.'/../lib/Activity/Settings/FileActivitySettings.php',
17
+    'OCA\\Files\\Activity\\Settings\\FileChanged' => $baseDir.'/../lib/Activity/Settings/FileChanged.php',
18
+    'OCA\\Files\\Activity\\Settings\\FileFavoriteChanged' => $baseDir.'/../lib/Activity/Settings/FileFavoriteChanged.php',
19
+    'OCA\\Files\\App' => $baseDir.'/../lib/App.php',
20
+    'OCA\\Files\\AppInfo\\Application' => $baseDir.'/../lib/AppInfo/Application.php',
21
+    'OCA\\Files\\BackgroundJob\\CleanupDirectEditingTokens' => $baseDir.'/../lib/BackgroundJob/CleanupDirectEditingTokens.php',
22
+    'OCA\\Files\\BackgroundJob\\CleanupFileLocks' => $baseDir.'/../lib/BackgroundJob/CleanupFileLocks.php',
23
+    'OCA\\Files\\BackgroundJob\\DeleteOrphanedItems' => $baseDir.'/../lib/BackgroundJob/DeleteOrphanedItems.php',
24
+    'OCA\\Files\\BackgroundJob\\ScanFiles' => $baseDir.'/../lib/BackgroundJob/ScanFiles.php',
25
+    'OCA\\Files\\BackgroundJob\\TransferOwnership' => $baseDir.'/../lib/BackgroundJob/TransferOwnership.php',
26
+    'OCA\\Files\\Capabilities' => $baseDir.'/../lib/Capabilities.php',
27
+    'OCA\\Files\\Collaboration\\Resources\\Listener' => $baseDir.'/../lib/Collaboration/Resources/Listener.php',
28
+    'OCA\\Files\\Collaboration\\Resources\\ResourceProvider' => $baseDir.'/../lib/Collaboration/Resources/ResourceProvider.php',
29
+    'OCA\\Files\\Command\\DeleteOrphanedFiles' => $baseDir.'/../lib/Command/DeleteOrphanedFiles.php',
30
+    'OCA\\Files\\Command\\RepairTree' => $baseDir.'/../lib/Command/RepairTree.php',
31
+    'OCA\\Files\\Command\\Scan' => $baseDir.'/../lib/Command/Scan.php',
32
+    'OCA\\Files\\Command\\ScanAppData' => $baseDir.'/../lib/Command/ScanAppData.php',
33
+    'OCA\\Files\\Command\\TransferOwnership' => $baseDir.'/../lib/Command/TransferOwnership.php',
34
+    'OCA\\Files\\Controller\\AjaxController' => $baseDir.'/../lib/Controller/AjaxController.php',
35
+    'OCA\\Files\\Controller\\ApiController' => $baseDir.'/../lib/Controller/ApiController.php',
36
+    'OCA\\Files\\Controller\\DirectEditingController' => $baseDir.'/../lib/Controller/DirectEditingController.php',
37
+    'OCA\\Files\\Controller\\DirectEditingViewController' => $baseDir.'/../lib/Controller/DirectEditingViewController.php',
38
+    'OCA\\Files\\Controller\\TemplateController' => $baseDir.'/../lib/Controller/TemplateController.php',
39
+    'OCA\\Files\\Controller\\TransferOwnershipController' => $baseDir.'/../lib/Controller/TransferOwnershipController.php',
40
+    'OCA\\Files\\Controller\\ViewController' => $baseDir.'/../lib/Controller/ViewController.php',
41
+    'OCA\\Files\\Db\\TransferOwnership' => $baseDir.'/../lib/Db/TransferOwnership.php',
42
+    'OCA\\Files\\Db\\TransferOwnershipMapper' => $baseDir.'/../lib/Db/TransferOwnershipMapper.php',
43
+    'OCA\\Files\\Event\\LoadAdditionalScriptsEvent' => $baseDir.'/../lib/Event/LoadAdditionalScriptsEvent.php',
44
+    'OCA\\Files\\Event\\LoadSidebar' => $baseDir.'/../lib/Event/LoadSidebar.php',
45
+    'OCA\\Files\\Exception\\TransferOwnershipException' => $baseDir.'/../lib/Exception/TransferOwnershipException.php',
46
+    'OCA\\Files\\Helper' => $baseDir.'/../lib/Helper.php',
47
+    'OCA\\Files\\Listener\\LegacyLoadAdditionalScriptsAdapter' => $baseDir.'/../lib/Listener/LegacyLoadAdditionalScriptsAdapter.php',
48
+    'OCA\\Files\\Listener\\LoadSidebarListener' => $baseDir.'/../lib/Listener/LoadSidebarListener.php',
49
+    'OCA\\Files\\Migration\\Version11301Date20191205150729' => $baseDir.'/../lib/Migration/Version11301Date20191205150729.php',
50
+    'OCA\\Files\\Notification\\Notifier' => $baseDir.'/../lib/Notification/Notifier.php',
51
+    'OCA\\Files\\Search\\FilesSearchProvider' => $baseDir.'/../lib/Search/FilesSearchProvider.php',
52
+    'OCA\\Files\\Service\\DirectEditingService' => $baseDir.'/../lib/Service/DirectEditingService.php',
53
+    'OCA\\Files\\Service\\OwnershipTransferService' => $baseDir.'/../lib/Service/OwnershipTransferService.php',
54
+    'OCA\\Files\\Service\\TagService' => $baseDir.'/../lib/Service/TagService.php',
55
+    'OCA\\Files\\Settings\\PersonalSettings' => $baseDir.'/../lib/Settings/PersonalSettings.php',
56 56
 );
Please login to merge, or discard this patch.