Test Failed
Push — master ( 991290...31715c )
by
unknown
12:12
created
server/includes/core/class.operations.php 2 patches
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -2059,9 +2059,9 @@  discard block
 block discarded – undo
2059 2059
 			$messageProps = [];
2060 2060
 			// It stores the values that is exception allowed or not false -> not allowed
2061 2061
 			$isExceptionAllowed = true;
2062
-			$delete = $actionType == 'delete';	// Flag for MeetingRequest Class whether to send update or cancel mail.
2063
-			$basedate = false;	// Flag for MeetingRequest Class whether to send an exception or not.
2064
-			$isReminderTimeAllowed = true;	// Flag to check reminder minutes is in range of the occurrences
2062
+			$delete = $actionType == 'delete'; // Flag for MeetingRequest Class whether to send update or cancel mail.
2063
+			$basedate = false; // Flag for MeetingRequest Class whether to send an exception or not.
2064
+			$isReminderTimeAllowed = true; // Flag to check reminder minutes is in range of the occurrences
2065 2065
 			$properties = $GLOBALS['properties']->getAppointmentProperties();
2066 2066
 			$send = false;
2067 2067
 			$oldProps = [];
@@ -3003,7 +3003,7 @@  discard block
 block discarded – undo
3003 3003
 				 * convert flags of PR_MESSAGE_FLAGS property to flags that is
3004 3004
 				 * used in mapi_message_setreadflag.
3005 3005
 				 */
3006
-				$flag = MAPI_DEFERRED_ERRORS;		// set unread flag, read receipt will be sent
3006
+				$flag = MAPI_DEFERRED_ERRORS; // set unread flag, read receipt will be sent
3007 3007
 
3008 3008
 				if (($flags & MSGFLAG_RN_PENDING) && isset($msg_action['send_read_receipt']) && $msg_action['send_read_receipt'] == false) {
3009 3009
 					$flag |= SUPPRESS_RECEIPT;
@@ -3056,7 +3056,7 @@  discard block
 block discarded – undo
3056 3056
 
3057 3057
 			if (array_search(strtolower($foldername), $folderNames) !== false) {
3058 3058
 				$i = 2;
3059
-				while (array_search(strtolower($foldername)." ($i)", $folderNames) !== false)
3059
+				while (array_search(strtolower($foldername) . " ($i)", $folderNames) !== false)
3060 3060
 					++$i;
3061 3061
 				$foldername .= " ($i)";
3062 3062
 			}
Please login to merge, or discard this patch.
Braces   +5 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2088,7 +2088,8 @@  discard block
 block discarded – undo
2088 2088
 			if (!empty($action['props']['timezone_iana'])) {
2089 2089
 				try {
2090 2090
 					$tzdef = mapi_ianatz_to_tzdef($action['props']['timezone_iana']);
2091
-				} catch (Exception $e) {
2091
+				}
2092
+				catch (Exception $e) {
2092 2093
 				}
2093 2094
 				if ($tzdef !== false) {
2094 2095
 					$action['props']['tzdefstart'] = $action['props']['tzdefend'] = bin2hex($tzdef);
@@ -3056,8 +3057,9 @@  discard block
 block discarded – undo
3056 3057
 
3057 3058
 			if (array_search(strtolower($foldername), $folderNames) !== false) {
3058 3059
 				$i = 2;
3059
-				while (array_search(strtolower($foldername)." ($i)", $folderNames) !== false)
3060
-					++$i;
3060
+				while (array_search(strtolower($foldername)." ($i)", $folderNames) !== false) {
3061
+									++$i;
3062
+				}
3061 3063
 				$foldername .= " ($i)";
3062 3064
 			}
3063 3065
 
Please login to merge, or discard this patch.