Passed
Push — master ( a16703...c6645c )
by John
17:09 queued 13s
created
lib/private/Collaboration/Collaborators/Search.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@
 block discarded – undo
104 104
 	}
105 105
 
106 106
 	public function registerPlugin(array $pluginInfo) {
107
-		$shareType = constant(Share::class . '::' . $pluginInfo['shareType']);
107
+		$shareType = constant(Share::class.'::'.$pluginInfo['shareType']);
108 108
 		if ($shareType === null) {
109 109
 			throw new \InvalidArgumentException('Provided ShareType is invalid');
110 110
 		}
Please login to merge, or discard this patch.
apps/encryption/lib/Crypto/EncryptAll.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
 		$this->input = $input;
135 135
 		$this->output = $output;
136 136
 
137
-		$headline = 'Encrypt all files with the ' . Encryption::DISPLAY_NAME;
137
+		$headline = 'Encrypt all files with the '.Encryption::DISPLAY_NAME;
138 138
 		$this->output->writeln("\n");
139 139
 		$this->output->writeln($headline);
140 140
 		$this->output->writeln(str_pad('', strlen($headline), '='));
@@ -190,7 +190,7 @@  discard block
 block discarded – undo
190 190
 				$users = $backend->getUsers('', $limit, $offset);
191 191
 				foreach ($users as $user) {
192 192
 					if ($this->keyManager->userHasKeys($user) === false) {
193
-						$progress->setMessage('Create key-pair for ' . $user);
193
+						$progress->setMessage('Create key-pair for '.$user);
194 194
 						$progress->advance();
195 195
 						$this->setupUserFS($user);
196 196
 						$password = $this->generateOneTimePassword($user);
@@ -264,12 +264,12 @@  discard block
 block discarded – undo
264 264
 	protected function encryptUsersFiles($uid, ProgressBar $progress, $userCount) {
265 265
 		$this->setupUserFS($uid);
266 266
 		$directories = [];
267
-		$directories[] = '/' . $uid . '/files';
267
+		$directories[] = '/'.$uid.'/files';
268 268
 
269 269
 		while ($root = array_pop($directories)) {
270 270
 			$content = $this->rootView->getDirectoryContent($root);
271 271
 			foreach ($content as $file) {
272
-				$path = $root . '/' . $file['name'];
272
+				$path = $root.'/'.$file['name'];
273 273
 				if ($this->rootView->is_dir($path)) {
274 274
 					$directories[] = $path;
275 275
 					continue;
@@ -300,7 +300,7 @@  discard block
 block discarded – undo
300 300
 		}
301 301
 
302 302
 		$source = $path;
303
-		$target = $path . '.encrypted.' . time();
303
+		$target = $path.'.encrypted.'.time();
304 304
 
305 305
 		try {
306 306
 			$this->rootView->copy($source, $target);
Please login to merge, or discard this patch.
lib/private/DB/ConnectionAdapter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
 
89 89
 	public function lastInsertId(string $table): int {
90 90
 		try {
91
-			return (int)$this->inner->lastInsertId($table);
91
+			return (int) $this->inner->lastInsertId($table);
92 92
 		} catch (Exception $e) {
93 93
 			throw DbalException::wrap($e);
94 94
 		}
Please login to merge, or discard this patch.
lib/private/Repair/RepairDavShares.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
 		$qb = $this->dbc->getQueryBuilder();
75 75
 		$qb->select(['id', 'principaluri'])
76 76
 			->from('dav_shares')
77
-			->where($qb->expr()->like('principaluri', $qb->createNamedParameter(self::GROUP_PRINCIPAL_PREFIX . '%')));
77
+			->where($qb->expr()->like('principaluri', $qb->createNamedParameter(self::GROUP_PRINCIPAL_PREFIX.'%')));
78 78
 
79 79
 		$updateQuery = $this->dbc->getQueryBuilder();
80 80
 		$updateQuery->update('dav_shares')
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
 			// + AND there are no ambivalent groups
101 101
 
102 102
 			try {
103
-				$fixedPrincipal = self::GROUP_PRINCIPAL_PREFIX . $encodedGid;
103
+				$fixedPrincipal = self::GROUP_PRINCIPAL_PREFIX.$encodedGid;
104 104
 				$logParameters = [
105 105
 					'app' => 'core',
106 106
 					'id' => $share['id'],
Please login to merge, or discard this patch.
apps/dav/lib/Listener/CalendarContactInteractionListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
101 101
 						}
102 102
 					}
103 103
 				} catch (Throwable $e) {
104
-					$this->logger->warning('Could not read calendar data for interaction events: ' . $e->getMessage(), [
104
+					$this->logger->warning('Could not read calendar data for interaction events: '.$e->getMessage(), [
105 105
 						'exception' => $e,
106 106
 					]);
107 107
 				}
Please login to merge, or discard this patch.
lib/private/EventDispatcher/GenericEventWrapper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
 		$class = ($this->event !== null && is_object($this->event)) ? get_class($this->event) : 'null';
60 60
 		$this->logger->info(
61 61
 			'Deprecated event type for {name}: {class} is used',
62
-			[ 'name' => $this->eventName, 'class' => $class]
62
+			['name' => $this->eventName, 'class' => $class]
63 63
 		);
64 64
 		$this->deprecationNoticeLogged = true;
65 65
 	}
Please login to merge, or discard this patch.
lib/public/Authentication/TwoFactorAuth/IProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,12 +38,12 @@
 block discarded – undo
38 38
 	 * @since 14.0.0
39 39
 	 * @deprecated 22.0.0
40 40
 	 */
41
-	public const EVENT_SUCCESS = self::class . '::success';
41
+	public const EVENT_SUCCESS = self::class.'::success';
42 42
 
43 43
 	/**
44 44
 	 * @deprecated 22.0.0
45 45
 	 */
46
-	public const EVENT_FAILED = self::class . '::failed';
46
+	public const EVENT_FAILED = self::class.'::failed';
47 47
 
48 48
 	/**
49 49
 	 * Get unique identifier of this 2FA provider
Please login to merge, or discard this patch.
lib/public/Authentication/TwoFactorAuth/IRegistry.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,12 +42,12 @@
 block discarded – undo
42 42
 	/**
43 43
 	 * @deprecated 22.0.0
44 44
 	 */
45
-	public const EVENT_PROVIDER_ENABLED = self::class . '::enable';
45
+	public const EVENT_PROVIDER_ENABLED = self::class.'::enable';
46 46
 
47 47
 	/**
48 48
 	 * @deprecated 22.0.0
49 49
 	 */
50
-	public const EVENT_PROVIDER_DISABLED = self::class . '::disable';
50
+	public const EVENT_PROVIDER_DISABLED = self::class.'::disable';
51 51
 
52 52
 	/**
53 53
 	 * Get a key-value map of providers and their enabled/disabled state for
Please login to merge, or discard this patch.
lib/public/IPreview.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
 	 * @since 9.2.0
51 51
 	 * @deprecated 22.0.0
52 52
 	 */
53
-	public const EVENT = self::class . ':' . 'PreviewRequested';
53
+	public const EVENT = self::class.':'.'PreviewRequested';
54 54
 
55 55
 	public const MODE_FILL = 'fill';
56 56
 	public const MODE_COVER = 'cover';
Please login to merge, or discard this patch.