Completed
Push — master ( beefeb...3bc4e0 )
by
unknown
24:52 queued 14s
created
apps/settings/lib/BackgroundJobs/VerifyUserData.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
 	}
108 108
 
109 109
 	protected function run($argument) {
110
-		$try = (int)$argument['try'] + 1;
110
+		$try = (int) $argument['try'] + 1;
111 111
 
112 112
 		switch ($argument['type']) {
113 113
 			case IAccountManager::PROPERTY_WEBSITE:
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
 				break;
120 120
 			default:
121 121
 				// no valid type given, no need to retry
122
-				$this->logger->error($argument['type'] . ' is no valid type for user account data.');
122
+				$this->logger->error($argument['type'].' is no valid type for user account data.');
123 123
 				$result = true;
124 124
 		}
125 125
 
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
 	protected function verifyWebsite(array $argument) {
138 138
 		$result = false;
139 139
 
140
-		$url = rtrim($argument['data'], '/') . '/.well-known/' . 'CloudIdVerificationCode.txt';
140
+		$url = rtrim($argument['data'], '/').'/.well-known/'.'CloudIdVerificationCode.txt';
141 141
 
142 142
 		$client = $this->httpClientService->newClient();
143 143
 		try {
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
 			$user = $this->userManager->get($argument['uid']);
155 155
 			// we don't check a valid user -> give up
156 156
 			if ($user === null) {
157
-				$this->logger->error($argument['uid'] . ' doesn\'t exist, can\'t verify user data.');
157
+				$this->logger->error($argument['uid'].' doesn\'t exist, can\'t verify user data.');
158 158
 				return $result;
159 159
 			}
160 160
 			$userAccount = $this->accountManager->getAccount($user);
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
 
181 181
 		// we don't check a valid user -> give up
182 182
 		if ($user === null) {
183
-			$this->logger->info($argument['uid'] . ' doesn\'t exist, can\'t verify user data.');
183
+			$this->logger->info($argument['uid'].' doesn\'t exist, can\'t verify user data.');
184 184
 			return true;
185 185
 		}
186 186
 
@@ -222,7 +222,7 @@  discard block
 block discarded – undo
222 222
 		try {
223 223
 			$client = $this->httpClientService->newClient();
224 224
 			$response = $client->get(
225
-				$this->lookupServerUrl . '/users?search=' . urlencode($cloudId) . '&exactCloudId=1',
225
+				$this->lookupServerUrl.'/users?search='.urlencode($cloudId).'&exactCloudId=1',
226 226
 				[
227 227
 					'timeout' => 10,
228 228
 					'connect_timeout' => 3,
@@ -254,7 +254,7 @@  discard block
 block discarded – undo
254 254
 				'data' => $argument['data'],
255 255
 				'type' => $argument['type'],
256 256
 				'uid' => $argument['uid'],
257
-				'try' => (int)$argument['try'] + 1,
257
+				'try' => (int) $argument['try'] + 1,
258 258
 				'lastRun' => time()
259 259
 			]
260 260
 		);
@@ -267,7 +267,7 @@  discard block
 block discarded – undo
267 267
 	 * @return bool
268 268
 	 */
269 269
 	protected function shouldRun(array $argument) {
270
-		$lastRun = (int)$argument['lastRun'];
270
+		$lastRun = (int) $argument['lastRun'];
271 271
 		return ((time() - $lastRun) > $this->interval);
272 272
 	}
273 273
 
Please login to merge, or discard this patch.
core/Command/User/Report.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
 				'count-dirs',
62 62
 				null,
63 63
 				InputOption::VALUE_NONE,
64
-				'Also count the number of user directories in the database (could time out on huge installations, therefore defaults to no with ' . self::DEFAULT_COUNT_DIRS_MAX_USERS . '+ users)'
64
+				'Also count the number of user directories in the database (could time out on huge installations, therefore defaults to no with '.self::DEFAULT_COUNT_DIRS_MAX_USERS.'+ users)'
65 65
 			)
66 66
 		;
67 67
 	}
Please login to merge, or discard this patch.
apps/dav/lib/Listener/CardListener.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
 				);
64 64
 			} catch (Throwable $e) {
65 65
 				// Any error with activities shouldn't abort the addressbook creation, so we just log it
66
-				$this->logger->error('Error generating activities for a new card in addressbook: ' . $e->getMessage(), [
66
+				$this->logger->error('Error generating activities for a new card in addressbook: '.$e->getMessage(), [
67 67
 					'exception' => $e,
68 68
 				]);
69 69
 			}
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
 				);
82 82
 			} catch (Throwable $e) {
83 83
 				// Any error with activities shouldn't abort the addressbook update, so we just log it
84
-				$this->logger->error('Error generating activities for a changed card in addressbook: ' . $e->getMessage(), [
84
+				$this->logger->error('Error generating activities for a changed card in addressbook: '.$e->getMessage(), [
85 85
 					'exception' => $e,
86 86
 				]);
87 87
 			}
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
 				);
100 100
 			} catch (Throwable $e) {
101 101
 				// Any error with activities shouldn't abort the addressbook deletion, so we just log it
102
-				$this->logger->error('Error generating activities for a deleted card in addressbook: ' . $e->getMessage(), [
102
+				$this->logger->error('Error generating activities for a deleted card in addressbook: '.$e->getMessage(), [
103 103
 					'exception' => $e,
104 104
 				]);
105 105
 			}
Please login to merge, or discard this patch.
apps/dav/lib/Listener/AddressbookListener.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
 				);
61 61
 			} catch (Throwable $e) {
62 62
 				// Any error with activities shouldn't abort the addressbook creation, so we just log it
63
-				$this->logger->error('Error generating activities for a new addressbook: ' . $e->getMessage(), [
63
+				$this->logger->error('Error generating activities for a new addressbook: '.$e->getMessage(), [
64 64
 					'exception' => $e,
65 65
 				]);
66 66
 			}
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
 				);
78 78
 			} catch (Throwable $e) {
79 79
 				// Any error with activities shouldn't abort the addressbook update, so we just log it
80
-				$this->logger->error('Error generating activities for a changed addressbook: ' . $e->getMessage(), [
80
+				$this->logger->error('Error generating activities for a changed addressbook: '.$e->getMessage(), [
81 81
 					'exception' => $e,
82 82
 				]);
83 83
 			}
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
 				);
94 94
 			} catch (Throwable $e) {
95 95
 				// Any error with activities shouldn't abort the addressbook deletion, so we just log it
96
-				$this->logger->error('Error generating activities for a deleted addressbook: ' . $e->getMessage(), [
96
+				$this->logger->error('Error generating activities for a deleted addressbook: '.$e->getMessage(), [
97 97
 					'exception' => $e,
98 98
 				]);
99 99
 			}
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
 				);
112 112
 			} catch (Throwable $e) {
113 113
 				// Any error with activities shouldn't abort the addressbook creation, so we just log it
114
-				$this->logger->error('Error generating activities for (un)sharing addressbook: ' . $e->getMessage(), [
114
+				$this->logger->error('Error generating activities for (un)sharing addressbook: '.$e->getMessage(), [
115 115
 					'exception' => $e,
116 116
 				]);
117 117
 			}
Please login to merge, or discard this patch.
apps/dav/lib/Listener/CalendarObjectReminderUpdaterListener.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
 				);
79 79
 			} catch (Throwable $e) {
80 80
 				// Any error with reminders shouldn't abort the calendar move, so we just log it
81
-				$this->logger->error('Error cleaning up reminders of a calendar moved into trashbin: ' . $e->getMessage(), [
81
+				$this->logger->error('Error cleaning up reminders of a calendar moved into trashbin: '.$e->getMessage(), [
82 82
 					'exception' => $e,
83 83
 				]);
84 84
 			}
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
 				);
94 94
 			} catch (Throwable $e) {
95 95
 				// Any error with activities shouldn't abort the calendar deletion, so we just log it
96
-				$this->logger->error('Error cleaning up reminders of a deleted calendar: ' . $e->getMessage(), [
96
+				$this->logger->error('Error cleaning up reminders of a deleted calendar: '.$e->getMessage(), [
97 97
 					'exception' => $e,
98 98
 				]);
99 99
 			}
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
 				);
115 115
 			} catch (Throwable $e) {
116 116
 				// Any error with reminders shouldn't abort the calendar deletion, so we just log it
117
-				$this->logger->error('Error restoring reminders of a calendar: ' . $e->getMessage(), [
117
+				$this->logger->error('Error restoring reminders of a calendar: '.$e->getMessage(), [
118 118
 					'exception' => $e,
119 119
 				]);
120 120
 			}
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
 				);
130 130
 			} catch (Throwable $e) {
131 131
 				// Any error with reminders shouldn't abort the calendar object creation, so we just log it
132
-				$this->logger->error('Error creating reminders of a calendar object: ' . $e->getMessage(), [
132
+				$this->logger->error('Error creating reminders of a calendar object: '.$e->getMessage(), [
133 133
 					'exception' => $e,
134 134
 				]);
135 135
 			}
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
 				);
145 145
 			} catch (Throwable $e) {
146 146
 				// Any error with activities shouldn't abort the calendar object deletion, so we just log it
147
-				$this->logger->error('Error cleaning up reminders of a calendar object: ' . $e->getMessage(), [
147
+				$this->logger->error('Error cleaning up reminders of a calendar object: '.$e->getMessage(), [
148 148
 					'exception' => $e,
149 149
 				]);
150 150
 			}
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
 				);
160 160
 			} catch (Throwable $e) {
161 161
 				// Any error with reminders shouldn't abort the calendar object deletion, so we just log it
162
-				$this->logger->error('Error deleting reminders of a calendar object: ' . $e->getMessage(), [
162
+				$this->logger->error('Error deleting reminders of a calendar object: '.$e->getMessage(), [
163 163
 					'exception' => $e,
164 164
 				]);
165 165
 			}
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
 				);
175 175
 			} catch (Throwable $e) {
176 176
 				// Any error with reminders shouldn't abort the calendar object deletion, so we just log it
177
-				$this->logger->error('Error restoring reminders of a calendar object: ' . $e->getMessage(), [
177
+				$this->logger->error('Error restoring reminders of a calendar object: '.$e->getMessage(), [
178 178
 					'exception' => $e,
179 179
 				]);
180 180
 			}
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
 				);
190 190
 			} catch (Throwable $e) {
191 191
 				// Any error with activities shouldn't abort the calendar object deletion, so we just log it
192
-				$this->logger->error('Error cleaning up reminders of a deleted calendar object: ' . $e->getMessage(), [
192
+				$this->logger->error('Error cleaning up reminders of a deleted calendar object: '.$e->getMessage(), [
193 193
 					'exception' => $e,
194 194
 				]);
195 195
 			}
Please login to merge, or discard this patch.
lib/public/AppFramework/Http/DownloadResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
 
42 42
 		$filename = strtr($filename, ['"' => '\\"', '\\' => '\\\\']);
43 43
 
44
-		$this->addHeader('Content-Disposition', 'attachment; filename="' . $filename . '"');
44
+		$this->addHeader('Content-Disposition', 'attachment; filename="'.$filename.'"');
45 45
 		$this->addHeader('Content-Type', $contentType);
46 46
 	}
47 47
 }
Please login to merge, or discard this patch.
lib/private/Accounts/Account.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
 	}
67 67
 
68 68
 	public function getProperties(): array {
69
-		return array_filter($this->properties, function ($obj) {
69
+		return array_filter($this->properties, function($obj) {
70 70
 			return $obj instanceof IAccountProperty;
71 71
 		});
72 72
 	}
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
 			$index = $obj->getName();
97 97
 			if ($this->isCollection($index)) {
98 98
 				$incrementals[$index] = ($incrementals[$index] ?? -1) + 1;
99
-				$index .= '#' . $incrementals[$index];
99
+				$index .= '#'.$incrementals[$index];
100 100
 			}
101 101
 			$result[$index] = $obj;
102 102
 		}
Please login to merge, or discard this patch.
apps/dav/lib/Command/DeleteCalendar.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
 		$user = $input->getArgument('uid');
97 97
 		if (!$this->userManager->userExists($user)) {
98 98
 			throw new \InvalidArgumentException(
99
-				'User <' . $user . '> is unknown.');
99
+				'User <'.$user.'> is unknown.');
100 100
 		}
101 101
 
102 102
 		$birthday = $input->getOption('birthday');
@@ -112,11 +112,11 @@  discard block
 block discarded – undo
112 112
 		}
113 113
 
114 114
 		$calendarInfo = $this->calDav->getCalendarByUri(
115
-			'principals/users/' . $user,
115
+			'principals/users/'.$user,
116 116
 			$name);
117 117
 		if ($calendarInfo === null) {
118 118
 			throw new \InvalidArgumentException(
119
-				'User <' . $user . '> has no calendar named <' . $name . '>. You can run occ dav:list-calendars to list calendars URIs for this user.');
119
+				'User <'.$user.'> has no calendar named <'.$name.'>. You can run occ dav:list-calendars to list calendars URIs for this user.');
120 120
 		}
121 121
 
122 122
 		$calendar = new Calendar(
Please login to merge, or discard this patch.
apps/dav/lib/CalDAV/Trashbin/Plugin.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
 		PropFind $propFind,
103 103
 		INode $node): void {
104 104
 		if ($node instanceof DeletedCalendarObject) {
105
-			$propFind->handle(self::PROPERTY_DELETED_AT, function () use ($node) {
105
+			$propFind->handle(self::PROPERTY_DELETED_AT, function() use ($node) {
106 106
 				$ts = $node->getDeletedAt();
107 107
 				if ($ts === null) {
108 108
 					return null;
@@ -112,12 +112,12 @@  discard block
 block discarded – undo
112 112
 					->setTimestamp($ts)
113 113
 					->format(DateTimeInterface::ATOM);
114 114
 			});
115
-			$propFind->handle(self::PROPERTY_CALENDAR_URI, function () use ($node) {
115
+			$propFind->handle(self::PROPERTY_CALENDAR_URI, function() use ($node) {
116 116
 				return $node->getCalendarUri();
117 117
 			});
118 118
 		}
119 119
 		if ($node instanceof TrashbinHome) {
120
-			$propFind->handle(self::PROPERTY_RETENTION_DURATION, function () use ($node) {
120
+			$propFind->handle(self::PROPERTY_RETENTION_DURATION, function() use ($node) {
121 121
 				return $this->retentionService->getDuration();
122 122
 			});
123 123
 		}
Please login to merge, or discard this patch.