Passed
Push — master ( a16703...c6645c )
by John
17:09 queued 13s
created
lib/public/AppFramework/AuthPublicShareController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -168,7 +168,7 @@
 block discarded – undo
168 168
 		if (substr($class, -10) === 'Controller') {
169 169
 			$class = substr($class, 0, -10);
170 170
 		}
171
-		return $app .'.'. $class .'.'. $function;
171
+		return $app.'.'.$class.'.'.$function;
172 172
 	}
173 173
 
174 174
 	/**
Please login to merge, or discard this patch.
apps/user_ldap/lib/Mapping/UserMapping.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,6 +35,6 @@
 block discarded – undo
35 35
 	 */
36 36
 	protected function getTableName(bool $includePrefix = true) {
37 37
 		$p = $includePrefix ? '*PREFIX*' : '';
38
-		return $p . 'ldap_user_mapping';
38
+		return $p.'ldap_user_mapping';
39 39
 	}
40 40
 }
Please login to merge, or discard this patch.
apps/user_ldap/lib/Mapping/GroupMapping.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,6 +35,6 @@
 block discarded – undo
35 35
 	 */
36 36
 	protected function getTableName(bool $includePrefix = true) {
37 37
 		$p = $includePrefix ? '*PREFIX*' : '';
38
-		return $p . 'ldap_group_mapping';
38
+		return $p.'ldap_group_mapping';
39 39
 	}
40 40
 }
Please login to merge, or discard this patch.
apps/user_ldap/lib/Proxy.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
 	 * @return string
108 108
 	 */
109 109
 	protected function getUserCacheKey($uid) {
110
-		return 'user-' . $uid . '-lastSeenOn';
110
+		return 'user-'.$uid.'-lastSeenOn';
111 111
 	}
112 112
 
113 113
 	/**
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
 	 * @return string
116 116
 	 */
117 117
 	protected function getGroupCacheKey($gid) {
118
-		return 'group-' . $gid . '-lastSeenOn';
118
+		return 'group-'.$gid.'-lastSeenOn';
119 119
 	}
120 120
 
121 121
 	/**
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
 		if ($key === null) {
179 179
 			return $prefix;
180 180
 		}
181
-		return $prefix . hash('sha256', $key);
181
+		return $prefix.hash('sha256', $key);
182 182
 	}
183 183
 
184 184
 	/**
Please login to merge, or discard this patch.
lib/public/AppFramework/Services/IAppConfig.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
 	 * @return string[] the keys stored for the app
38 38
 	 * @since 20.0.0
39 39
 	 */
40
-	public function getAppKeys(): array ;
40
+	public function getAppKeys(): array;
41 41
 
42 42
 	/**
43 43
 	 * Writes a new app wide value
Please login to merge, or discard this patch.
core/Controller/ClientFlowLoginController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -357,7 +357,7 @@  discard block
 block discarded – undo
357 357
 			);
358 358
 			$this->session->remove('oauth.state');
359 359
 		} else {
360
-			$redirectUri = 'nc://login/server:' . $this->getServerPath() . '&user:' . urlencode($loginName) . '&password:' . urlencode($token);
360
+			$redirectUri = 'nc://login/server:'.$this->getServerPath().'&user:'.urlencode($loginName).'&password:'.urlencode($token);
361 361
 
362 362
 			// Clear the token from the login here
363 363
 			$this->tokenProvider->invalidateToken($sessionId);
@@ -395,7 +395,7 @@  discard block
 block discarded – undo
395 395
 			return $response;
396 396
 		}
397 397
 
398
-		$redirectUri = 'nc://login/server:' . $this->getServerPath() . '&user:' . urlencode($user) . '&password:' . urlencode($password);
398
+		$redirectUri = 'nc://login/server:'.$this->getServerPath().'&user:'.urlencode($user).'&password:'.urlencode($password);
399 399
 		return new Http\RedirectResponse($redirectUri);
400 400
 	}
401 401
 
@@ -418,6 +418,6 @@  discard block
 block discarded – undo
418 418
 			}
419 419
 		}
420 420
 
421
-		return $protocol . "://" . $this->request->getServerHost() . $serverPostfix;
421
+		return $protocol."://".$this->request->getServerHost().$serverPostfix;
422 422
 	}
423 423
 }
Please login to merge, or discard this patch.
apps/contactsinteraction/lib/AddressBook.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -85,13 +85,13 @@  discard block
 block discarded – undo
85 85
 			return new Card(
86 86
 				$this->mapper->find(
87 87
 					$this->getUid(),
88
-					(int)$name
88
+					(int) $name
89 89
 				),
90 90
 				$this->principalUri,
91 91
 				$this->getACL()
92 92
 			);
93 93
 		} catch (DoesNotExistException $ex) {
94
-			throw new NotFound("Contact does not exist: " . $ex->getMessage(), 0, $ex);
94
+			throw new NotFound("Contact does not exist: ".$ex->getMessage(), 0, $ex);
95 95
 		}
96 96
 	}
97 97
 
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
 	 */
101 101
 	public function getChildren(): array {
102 102
 		return array_map(
103
-			function (RecentContact $contact) {
103
+			function(RecentContact $contact) {
104 104
 				return new Card(
105 105
 					$contact,
106 106
 					$this->principalUri,
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
 		try {
119 119
 			$this->mapper->find(
120 120
 				$this->getUid(),
121
-				(int)$name
121
+				(int) $name
122 122
 			);
123 123
 			return true;
124 124
 		} catch (DoesNotExistException $e) {
@@ -147,8 +147,8 @@  discard block
 block discarded – undo
147 147
 		return [
148 148
 			'principaluri' => $this->principalUri,
149 149
 			'{DAV:}displayname' => $this->l10n->t('Recently contacted'),
150
-			'{' . Plugin::NS_OWNCLOUD . '}read-only' => true,
151
-			'{' . \OCA\DAV\CalDAV\Plugin::NS_CALENDARSERVER . '}getctag' => 'http://sabre.io/ns/sync/' . ($this->getLastModified() ?? 0),
150
+			'{'.Plugin::NS_OWNCLOUD.'}read-only' => true,
151
+			'{'.\OCA\DAV\CalDAV\Plugin::NS_CALENDARSERVER.'}getctag' => 'http://sabre.io/ns/sync/'.($this->getLastModified() ?? 0),
152 152
 		];
153 153
 	}
154 154
 
Please login to merge, or discard this patch.
apps/contactsinteraction/lib/Card.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
 	 * @inheritDoc
96 96
 	 */
97 97
 	public function getETag(): ?string {
98
-		return '"' . md5((string) $this->getLastModified()) . '"';
98
+		return '"'.md5((string) $this->getLastModified()).'"';
99 99
 	}
100 100
 
101 101
 	/**
Please login to merge, or discard this patch.
lib/private/AppFramework/Middleware/NotModifiedMiddleware.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
 
41 41
 	public function afterController($controller, $methodName, Response $response) {
42 42
 		$etagHeader = $this->request->getHeader('IF_NONE_MATCH');
43
-		if ($etagHeader !== '' && $response->getETag() !== null && trim($etagHeader) === '"' . $response->getETag() . '"') {
43
+		if ($etagHeader !== '' && $response->getETag() !== null && trim($etagHeader) === '"'.$response->getETag().'"') {
44 44
 			$response->setStatus(Http::STATUS_NOT_MODIFIED);
45 45
 			return $response;
46 46
 		}
Please login to merge, or discard this patch.