Passed
Push — master ( c8a360...d3d2db )
by Roeland
09:38 queued 11s
created
apps/files/lib/Activity/Provider.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -124,9 +124,9 @@  discard block
 block discarded – undo
124 124
 
125 125
 	protected function setIcon(IEvent $event, string $icon, string $app = 'files') {
126 126
 		if ($this->activityManager->getRequirePNG()) {
127
-			$event->setIcon($this->url->getAbsoluteURL($this->url->imagePath($app, $icon . '.png')));
127
+			$event->setIcon($this->url->getAbsoluteURL($this->url->imagePath($app, $icon.'.png')));
128 128
 		} else {
129
-			$event->setIcon($this->url->getAbsoluteURL($this->url->imagePath($app, $icon . '.svg')));
129
+			$event->setIcon($this->url->getAbsoluteURL($this->url->imagePath($app, $icon.'.svg')));
130 130
 		}
131 131
 	}
132 132
 
@@ -245,7 +245,7 @@  discard block
 block discarded – undo
245 245
 		}
246 246
 
247 247
 		if ($this->fileIsEncrypted) {
248
-			$event->setSubject($event->getSubject() . '_enc', $event->getSubjectParameters());
248
+			$event->setSubject($event->getSubject().'_enc', $event->getSubjectParameters());
249 249
 		}
250 250
 
251 251
 		if (!isset($parsedParameters['user'])) {
@@ -272,7 +272,7 @@  discard block
 block discarded – undo
272 272
 	protected function setSubjects(IEvent $event, $subject, array $parameters) {
273 273
 		$placeholders = $replacements = [];
274 274
 		foreach ($parameters as $placeholder => $parameter) {
275
-			$placeholders[] = '{' . $placeholder . '}';
275
+			$placeholders[] = '{'.$placeholder.'}';
276 276
 			if ($parameter['type'] === 'file') {
277 277
 				$replacements[] = $parameter['path'];
278 278
 			} else {
@@ -538,7 +538,7 @@  discard block
 block discarded – undo
538 538
 				$lowerSearch = strtolower($search);
539 539
 				foreach ($cloudIds as $cloudId) {
540 540
 					if (strtolower($cloudId) === $lowerSearch) {
541
-						$this->displayNames[$search] = $contact['FN'] . " ($cloudId)";
541
+						$this->displayNames[$search] = $contact['FN']." ($cloudId)";
542 542
 						return $this->displayNames[$search];
543 543
 					}
544 544
 				}
Please login to merge, or discard this patch.
apps/files_sharing/lib/Activity/Providers/Base.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
 	protected function setSubjects(IEvent $event, $subject, array $parameters) {
126 126
 		$placeholders = $replacements = [];
127 127
 		foreach ($parameters as $placeholder => $parameter) {
128
-			$placeholders[] = '{' . $placeholder . '}';
128
+			$placeholders[] = '{'.$placeholder.'}';
129 129
 			if ($parameter['type'] === 'file') {
130 130
 				$replacements[] = $parameter['path'];
131 131
 			} else {
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
 				$lowerSearch = strtolower($search);
219 219
 				foreach ($cloudIds as $cloudId) {
220 220
 					if (strtolower($cloudId) === $lowerSearch) {
221
-						$this->displayNames[$search] = $contact['FN'] . " ($cloudId)";
221
+						$this->displayNames[$search] = $contact['FN']." ($cloudId)";
222 222
 						return $this->displayNames[$search];
223 223
 					}
224 224
 				}
Please login to merge, or discard this patch.