Test Setup Failed
Push — master ( 463395...e134b8 )
by
unknown
23:19 queued 20:27
created
lib/GrommunioCalDavBackend.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -211,8 +211,7 @@  discard block
 block discarded – undo
211 211
 
212 212
 			if ($filter['name'] == 'VEVENT') {
213 213
 				$types[] = 'IPM.Appointment';
214
-			}
215
-			elseif ($filter['name'] == 'VTODO') {
214
+			} elseif ($filter['name'] == 'VTODO') {
216 215
 				$types[] = 'IPM.Task';
217 216
 			}
218 217
 
@@ -282,8 +281,7 @@  discard block
 block discarded – undo
282 281
 		if (!$ics && mapi_last_hresult()) {
283 282
 			$this->logger->error("Error generating ical, error code: 0x%08X", mapi_last_hresult());
284 283
 			$ics = null;
285
-		}
286
-		elseif (!$ics) {
284
+		} elseif (!$ics) {
287 285
 			$this->logger->error("Error generating ical, unknown error");
288 286
 			$ics = null;
289 287
 		}
@@ -413,8 +411,7 @@  discard block
 block discarded – undo
413 411
 				// the positions of the last piece of standard information
414 412
 				$cut1 = $lastStandard;
415 413
 				$cut2 = strripos($ics, 'END:STANDARD', $lastStandard) + 14; // strlen('END:STANDARD')
416
-			}
417
-			else {
414
+			} else {
418 415
 				// the part of the ics with the last piece of standard/daytime information
419 416
 				$cutEnd = $lastStandard;
420 417
 
Please login to merge, or discard this patch.
lib/PrincipalsBackend.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -68,8 +68,7 @@
 block discarded – undo
68 68
 		}
69 69
 		if ($path === 'principals') {
70 70
 			$username = $this->gDavBackend->GetUser();
71
-		}
72
-		else {
71
+		} else {
73 72
 			$username = str_replace('principals/', '', $path);
74 73
 		}
75 74
 		file_put_contents('/tmp/grommunio-dav.log', 'before mapi_zarafa_getuser_by_name', FILE_APPEND);
Please login to merge, or discard this patch.