Passed
Push — master ( 0c0397...46bfe3 )
by Roeland
21:08 queued 10:02
created
apps/files_versions/composer/composer/autoload_classmap.php 1 patch
Spacing   +27 added lines, -27 removed lines patch added patch discarded remove patch
@@ -6,31 +6,31 @@
 block discarded – undo
6 6
 $baseDir = $vendorDir;
7 7
 
8 8
 return array(
9
-    'OCA\\Files_Versions\\AppInfo\\Application' => $baseDir . '/../lib/AppInfo/Application.php',
10
-    'OCA\\Files_Versions\\BackgroundJob\\ExpireVersions' => $baseDir . '/../lib/BackgroundJob/ExpireVersions.php',
11
-    'OCA\\Files_Versions\\Capabilities' => $baseDir . '/../lib/Capabilities.php',
12
-    'OCA\\Files_Versions\\Command\\CleanUp' => $baseDir . '/../lib/Command/CleanUp.php',
13
-    'OCA\\Files_Versions\\Command\\Expire' => $baseDir . '/../lib/Command/Expire.php',
14
-    'OCA\\Files_Versions\\Command\\ExpireVersions' => $baseDir . '/../lib/Command/ExpireVersions.php',
15
-    'OCA\\Files_Versions\\Controller\\PreviewController' => $baseDir . '/../lib/Controller/PreviewController.php',
16
-    'OCA\\Files_Versions\\Events\\CreateVersionEvent' => $baseDir . '/../lib/Events/CreateVersionEvent.php',
17
-    'OCA\\Files_Versions\\Expiration' => $baseDir . '/../lib/Expiration.php',
18
-    'OCA\\Files_Versions\\Hooks' => $baseDir . '/../lib/Hooks.php',
19
-    'OCA\\Files_Versions\\Listener\\LoadAdditionalListener' => $baseDir . '/../lib/Listener/LoadAdditionalListener.php',
20
-    'OCA\\Files_Versions\\Listener\\LoadSidebarListener' => $baseDir . '/../lib/Listener/LoadSidebarListener.php',
21
-    'OCA\\Files_Versions\\Sabre\\Plugin' => $baseDir . '/../lib/Sabre/Plugin.php',
22
-    'OCA\\Files_Versions\\Sabre\\RestoreFolder' => $baseDir . '/../lib/Sabre/RestoreFolder.php',
23
-    'OCA\\Files_Versions\\Sabre\\RootCollection' => $baseDir . '/../lib/Sabre/RootCollection.php',
24
-    'OCA\\Files_Versions\\Sabre\\VersionCollection' => $baseDir . '/../lib/Sabre/VersionCollection.php',
25
-    'OCA\\Files_Versions\\Sabre\\VersionFile' => $baseDir . '/../lib/Sabre/VersionFile.php',
26
-    'OCA\\Files_Versions\\Sabre\\VersionHome' => $baseDir . '/../lib/Sabre/VersionHome.php',
27
-    'OCA\\Files_Versions\\Sabre\\VersionRoot' => $baseDir . '/../lib/Sabre/VersionRoot.php',
28
-    'OCA\\Files_Versions\\Storage' => $baseDir . '/../lib/Storage.php',
29
-    'OCA\\Files_Versions\\Versions\\BackendNotFoundException' => $baseDir . '/../lib/Versions/BackendNotFoundException.php',
30
-    'OCA\\Files_Versions\\Versions\\IVersion' => $baseDir . '/../lib/Versions/IVersion.php',
31
-    'OCA\\Files_Versions\\Versions\\IVersionBackend' => $baseDir . '/../lib/Versions/IVersionBackend.php',
32
-    'OCA\\Files_Versions\\Versions\\IVersionManager' => $baseDir . '/../lib/Versions/IVersionManager.php',
33
-    'OCA\\Files_Versions\\Versions\\LegacyVersionsBackend' => $baseDir . '/../lib/Versions/LegacyVersionsBackend.php',
34
-    'OCA\\Files_Versions\\Versions\\Version' => $baseDir . '/../lib/Versions/Version.php',
35
-    'OCA\\Files_Versions\\Versions\\VersionManager' => $baseDir . '/../lib/Versions/VersionManager.php',
9
+    'OCA\\Files_Versions\\AppInfo\\Application' => $baseDir.'/../lib/AppInfo/Application.php',
10
+    'OCA\\Files_Versions\\BackgroundJob\\ExpireVersions' => $baseDir.'/../lib/BackgroundJob/ExpireVersions.php',
11
+    'OCA\\Files_Versions\\Capabilities' => $baseDir.'/../lib/Capabilities.php',
12
+    'OCA\\Files_Versions\\Command\\CleanUp' => $baseDir.'/../lib/Command/CleanUp.php',
13
+    'OCA\\Files_Versions\\Command\\Expire' => $baseDir.'/../lib/Command/Expire.php',
14
+    'OCA\\Files_Versions\\Command\\ExpireVersions' => $baseDir.'/../lib/Command/ExpireVersions.php',
15
+    'OCA\\Files_Versions\\Controller\\PreviewController' => $baseDir.'/../lib/Controller/PreviewController.php',
16
+    'OCA\\Files_Versions\\Events\\CreateVersionEvent' => $baseDir.'/../lib/Events/CreateVersionEvent.php',
17
+    'OCA\\Files_Versions\\Expiration' => $baseDir.'/../lib/Expiration.php',
18
+    'OCA\\Files_Versions\\Hooks' => $baseDir.'/../lib/Hooks.php',
19
+    'OCA\\Files_Versions\\Listener\\LoadAdditionalListener' => $baseDir.'/../lib/Listener/LoadAdditionalListener.php',
20
+    'OCA\\Files_Versions\\Listener\\LoadSidebarListener' => $baseDir.'/../lib/Listener/LoadSidebarListener.php',
21
+    'OCA\\Files_Versions\\Sabre\\Plugin' => $baseDir.'/../lib/Sabre/Plugin.php',
22
+    'OCA\\Files_Versions\\Sabre\\RestoreFolder' => $baseDir.'/../lib/Sabre/RestoreFolder.php',
23
+    'OCA\\Files_Versions\\Sabre\\RootCollection' => $baseDir.'/../lib/Sabre/RootCollection.php',
24
+    'OCA\\Files_Versions\\Sabre\\VersionCollection' => $baseDir.'/../lib/Sabre/VersionCollection.php',
25
+    'OCA\\Files_Versions\\Sabre\\VersionFile' => $baseDir.'/../lib/Sabre/VersionFile.php',
26
+    'OCA\\Files_Versions\\Sabre\\VersionHome' => $baseDir.'/../lib/Sabre/VersionHome.php',
27
+    'OCA\\Files_Versions\\Sabre\\VersionRoot' => $baseDir.'/../lib/Sabre/VersionRoot.php',
28
+    'OCA\\Files_Versions\\Storage' => $baseDir.'/../lib/Storage.php',
29
+    'OCA\\Files_Versions\\Versions\\BackendNotFoundException' => $baseDir.'/../lib/Versions/BackendNotFoundException.php',
30
+    'OCA\\Files_Versions\\Versions\\IVersion' => $baseDir.'/../lib/Versions/IVersion.php',
31
+    'OCA\\Files_Versions\\Versions\\IVersionBackend' => $baseDir.'/../lib/Versions/IVersionBackend.php',
32
+    'OCA\\Files_Versions\\Versions\\IVersionManager' => $baseDir.'/../lib/Versions/IVersionManager.php',
33
+    'OCA\\Files_Versions\\Versions\\LegacyVersionsBackend' => $baseDir.'/../lib/Versions/LegacyVersionsBackend.php',
34
+    'OCA\\Files_Versions\\Versions\\Version' => $baseDir.'/../lib/Versions/Version.php',
35
+    'OCA\\Files_Versions\\Versions\\VersionManager' => $baseDir.'/../lib/Versions/VersionManager.php',
36 36
 );
Please login to merge, or discard this patch.
apps/workflowengine/lib/AppInfo/Application.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 	public function registerHooksAndListeners() {
57 57
 		$this->dispatcher->addListener(
58 58
 			'OCP\WorkflowEngine::loadAdditionalSettingScripts',
59
-			function () {
59
+			function() {
60 60
 				if (!function_exists('style')) {
61 61
 					// This is hacky, but we need to load the template class
62 62
 					class_exists(Template::class, true);
@@ -87,10 +87,10 @@  discard block
 block discarded – undo
87 87
 
88 88
 		foreach ($configuredEvents as $operationClass => $events) {
89 89
 			foreach ($events as $entityClass => $eventNames) {
90
-				array_map(function (string $eventName) use ($operationClass, $entityClass) {
90
+				array_map(function(string $eventName) use ($operationClass, $entityClass) {
91 91
 					$this->dispatcher->addListener(
92 92
 						$eventName,
93
-						function ($event) use ($eventName, $operationClass, $entityClass) {
93
+						function($event) use ($eventName, $operationClass, $entityClass) {
94 94
 							$ruleMatcher = $this->manager->getRuleMatcher();
95 95
 							try {
96 96
 								/** @var IEntity $entity */
Please login to merge, or discard this patch.
apps/files_sharing/lib/Notification/Notifier.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -232,7 +232,7 @@
 block discarded – undo
232 232
 
233 233
 		$placeholders = $replacements = [];
234 234
 		foreach ($subjectParameters as $placeholder => $parameter) {
235
-			$placeholders[] = '{' . $placeholder . '}';
235
+			$placeholders[] = '{'.$placeholder.'}';
236 236
 			$replacements[] = $parameter['name'];
237 237
 		}
238 238
 
Please login to merge, or discard this patch.
lib/private/Updater/VersionCheck.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
 		}
61 61
 
62 62
 		// Look up the cache - it is invalidated all 30 minutes
63
-		if (((int)$this->config->getAppValue('core', 'lastupdatedat') + 1800) > time()) {
63
+		if (((int) $this->config->getAppValue('core', 'lastupdatedat') + 1800) > time()) {
64 64
 			return json_decode($this->config->getAppValue('core', 'lastupdateResult'), true);
65 65
 		}
66 66
 
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 		$versionString = implode('x', $version);
85 85
 
86 86
 		//fetch xml data from updater
87
-		$url = $updaterUrl . '?version=' . $versionString;
87
+		$url = $updaterUrl.'?version='.$versionString;
88 88
 
89 89
 		$tmp = [];
90 90
 		try {
@@ -98,13 +98,13 @@  discard block
 block discarded – undo
98 98
 			$data = @simplexml_load_string($xml);
99 99
 			libxml_disable_entity_loader($loadEntities);
100 100
 			if ($data !== false) {
101
-				$tmp['version'] = (string)$data->version;
102
-				$tmp['versionstring'] = (string)$data->versionstring;
103
-				$tmp['url'] = (string)$data->url;
104
-				$tmp['web'] = (string)$data->web;
105
-				$tmp['changes'] = isset($data->changes) ? (string)$data->changes : '';
106
-				$tmp['autoupdater'] = (string)$data->autoupdater;
107
-				$tmp['eol'] = isset($data->eol) ? (string)$data->eol : '0';
101
+				$tmp['version'] = (string) $data->version;
102
+				$tmp['versionstring'] = (string) $data->versionstring;
103
+				$tmp['url'] = (string) $data->url;
104
+				$tmp['web'] = (string) $data->web;
105
+				$tmp['changes'] = isset($data->changes) ? (string) $data->changes : '';
106
+				$tmp['autoupdater'] = (string) $data->autoupdater;
107
+				$tmp['eol'] = isset($data->eol) ? (string) $data->eol : '0';
108 108
 			} else {
109 109
 				libxml_clear_errors();
110 110
 			}
Please login to merge, or discard this patch.
lib/private/Files/Config/CachedMountFileInfo.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,6 +43,6 @@
 block discarded – undo
43 43
 	}
44 44
 
45 45
 	public function getPath() {
46
-		return $this->getMountPoint() . $this->getInternalPath();
46
+		return $this->getMountPoint().$this->getInternalPath();
47 47
 	}
48 48
 }
Please login to merge, or discard this patch.
apps/dav/lib/CalDAV/Reminder/INotificationProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,5 +44,5 @@
 block discarded – undo
44 44
 	 */
45 45
 	public function send(VEvent $vevent,
46 46
 						 string $calendarDisplayName,
47
-						 array $users=[]): void;
47
+						 array $users = []): void;
48 48
 }
Please login to merge, or discard this patch.
core/Command/Group/Add.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
 		$gid = $input->getArgument('groupid');
66 66
 		$group = $this->groupManager->get($gid);
67 67
 		if ($group) {
68
-			$output->writeln('<error>Group "' . $gid . '" already exists.</error>');
68
+			$output->writeln('<error>Group "'.$gid.'" already exists.</error>');
69 69
 			return 1;
70 70
 		} else {
71 71
 			$group = $this->groupManager->createGroup($gid);
@@ -73,9 +73,9 @@  discard block
 block discarded – undo
73 73
 				$output->writeln('<error>Could not create group</error>');
74 74
 				return 2;
75 75
 			}
76
-			$output->writeln('Created group "' . $group->getGID() . '"');
76
+			$output->writeln('Created group "'.$group->getGID().'"');
77 77
 
78
-			$displayName = trim((string)$input->getOption('display-name'));
78
+			$displayName = trim((string) $input->getOption('display-name'));
79 79
 			if ($displayName !== '') {
80 80
 				$group->setDisplayName($displayName);
81 81
 			}
Please login to merge, or discard this patch.
apps/files_external/appinfo/app.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,13 +30,13 @@
 block discarded – undo
30 30
 
31 31
 OC::$CLASSPATH['OC_Mount_Config'] = 'files_external/lib/config.php';
32 32
 
33
-require_once __DIR__ . '/../3rdparty/autoload.php';
33
+require_once __DIR__.'/../3rdparty/autoload.php';
34 34
 
35 35
 // register Application object singleton
36 36
 \OC_Mount_Config::$app = \OC::$server->query(\OCA\Files_External\AppInfo\Application::class);
37 37
 $appContainer = \OC_Mount_Config::$app->getContainer();
38 38
 
39
-\OCA\Files\App::getNavigationManager()->add(function () {
39
+\OCA\Files\App::getNavigationManager()->add(function() {
40 40
 	$l = \OC::$server->getL10N('files_external');
41 41
 	return [
42 42
 		'id' => 'extstoragemounts',
Please login to merge, or discard this patch.
apps/theming/lib/Capabilities.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,8 +79,7 @@
 block discarded – undo
79 79
 				'color-element' => $this->util->elementColor($color),
80 80
 				'logo' => $this->url->getAbsoluteURL($this->theming->getLogo()),
81 81
 				'background' => $backgroundLogo === 'backgroundColor' ?
82
-					$this->theming->getColorPrimary() :
83
-					$this->url->getAbsoluteURL($this->theming->getBackground()),
82
+					$this->theming->getColorPrimary() : $this->url->getAbsoluteURL($this->theming->getBackground()),
84 83
 				'background-plain' => $backgroundLogo === 'backgroundColor',
85 84
 				'background-default' => !$this->util->isBackgroundThemed(),
86 85
 				'logoheader' => $this->url->getAbsoluteURL($this->theming->getLogo()),
Please login to merge, or discard this patch.