Passed
Push — master ( 9888b0...c0d9f9 )
by
unknown
24:43 queued 12:16
created
class.meetingrequest.php 1 patch
Spacing   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -165,15 +165,15 @@  discard block
 block discarded – undo
165 165
 		$properties['reminderminutes'] = 'PT_LONG:PSETID_Common:' . PidLidReminderDelta;
166 166
 		$properties['reminderset'] = 'PT_BOOLEAN:PSETID_Common:' . PidLidReminderSet;
167 167
 		$properties['sendasical'] = 'PT_BOOLEAN:PSETID_Appointment:0x8200';
168
-		$properties['updatecounter'] = 'PT_LONG:PSETID_Appointment:' . PidLidAppointmentSequence;					// AppointmentSequenceNumber
168
+		$properties['updatecounter'] = 'PT_LONG:PSETID_Appointment:' . PidLidAppointmentSequence; // AppointmentSequenceNumber
169 169
 		$properties['unknown7'] = 'PT_LONG:PSETID_Appointment:0x8202';
170
-		$properties['last_updatecounter'] = 'PT_LONG:PSETID_Appointment:0x8203';			// AppointmentLastSequence
170
+		$properties['last_updatecounter'] = 'PT_LONG:PSETID_Appointment:0x8203'; // AppointmentLastSequence
171 171
 		$properties['busystatus'] = 'PT_LONG:PSETID_Appointment:' . PidLidBusyStatus;
172 172
 		$properties['intendedbusystatus'] = 'PT_LONG:PSETID_Appointment:' . PidLidIntendedBusyStatus;
173 173
 		$properties['start'] = 'PT_SYSTIME:PSETID_Appointment:' . PidLidAppointmentStartWhole;
174 174
 		$properties['responselocation'] = 'PT_STRING8:PSETID_Meeting:0x2';
175 175
 		$properties['location'] = 'PT_STRING8:PSETID_Appointment:' . PidLidLocation;
176
-		$properties['requestsent'] = 'PT_BOOLEAN:PSETID_Appointment:0x8229';		// PidLidFInvited, MeetingRequestWasSent
176
+		$properties['requestsent'] = 'PT_BOOLEAN:PSETID_Appointment:0x8229'; // PidLidFInvited, MeetingRequestWasSent
177 177
 		$properties['startdate'] = 'PT_SYSTIME:PSETID_Appointment:' . PidLidAppointmentStartWhole;
178 178
 		$properties['duedate'] = 'PT_SYSTIME:PSETID_Appointment:' . PidLidAppointmentEndWhole;
179 179
 		$properties['flagdueby'] = 'PT_SYSTIME:PSETID_Common:' . PidLidReminderSignalTime;
@@ -182,11 +182,11 @@  discard block
 block discarded – undo
182 182
 		$properties['recurring'] = 'PT_BOOLEAN:PSETID_Appointment:' . PidLidRecurring;
183 183
 		$properties['clipstart'] = 'PT_SYSTIME:PSETID_Appointment:' . PidLidClipStart;
184 184
 		$properties['clipend'] = 'PT_SYSTIME:PSETID_Appointment:' . PidLidClipEnd;
185
-		$properties['start_recur_date'] = 'PT_LONG:PSETID_Meeting:0xD';				// StartRecurTime
186
-		$properties['start_recur_time'] = 'PT_LONG:PSETID_Meeting:0xE';				// StartRecurTime
187
-		$properties['end_recur_date'] = 'PT_LONG:PSETID_Meeting:0xF';				// EndRecurDate
188
-		$properties['end_recur_time'] = 'PT_LONG:PSETID_Meeting:0x10';				// EndRecurTime
189
-		$properties['is_exception'] = 'PT_BOOLEAN:PSETID_Meeting:0xA';				// LID_IS_EXCEPTION
185
+		$properties['start_recur_date'] = 'PT_LONG:PSETID_Meeting:0xD'; // StartRecurTime
186
+		$properties['start_recur_time'] = 'PT_LONG:PSETID_Meeting:0xE'; // StartRecurTime
187
+		$properties['end_recur_date'] = 'PT_LONG:PSETID_Meeting:0xF'; // EndRecurDate
188
+		$properties['end_recur_time'] = 'PT_LONG:PSETID_Meeting:0x10'; // EndRecurTime
189
+		$properties['is_exception'] = 'PT_BOOLEAN:PSETID_Meeting:0xA'; // LID_IS_EXCEPTION
190 190
 		$properties['apptreplyname'] = 'PT_STRING8:PSETID_Appointment:0x8230';
191 191
 		// Propose new time properties
192 192
 		$properties['proposed_start_whole'] = 'PT_SYSTIME:PSETID_Appointment:' . PidLidAppointmentProposedStartWhole;
@@ -563,7 +563,7 @@  discard block
 block discarded – undo
563 563
 		$listProperties['rcvd_representing_search_key'] = PR_RCVD_REPRESENTING_SEARCH_KEY;
564 564
 		$messageProps = mapi_getprops($this->message, $listProperties);
565 565
 
566
-		$goid = $messageProps[$this->proptags['goid']];	// GlobalID (0x3)
566
+		$goid = $messageProps[$this->proptags['goid']]; // GlobalID (0x3)
567 567
 		if (!isset($goid)) {
568 568
 			return;
569 569
 		}
@@ -1507,7 +1507,7 @@  discard block
 block discarded – undo
1507 1507
 		$props[$this->proptags['goid2']] = $goid;
1508 1508
 
1509 1509
 		if (!isset($props[$this->proptags['updatecounter']])) {
1510
-			$props[$this->proptags['updatecounter']] = 0;			// OL also starts sequence no with zero.
1510
+			$props[$this->proptags['updatecounter']] = 0; // OL also starts sequence no with zero.
1511 1511
 			$props[$this->proptags['last_updatecounter']] = 0;
1512 1512
 		}
1513 1513
 
@@ -2522,7 +2522,7 @@  discard block
 block discarded – undo
2522 2522
 		$getResourcesRestriction = [
2523 2523
 			RES_PROPERTY,
2524 2524
 			[
2525
-				RELOP => RELOP_EQ,	// Equals recipient type 3: Resource
2525
+				RELOP => RELOP_EQ, // Equals recipient type 3: Resource
2526 2526
 				ULPROPTAG => PR_RECIPIENT_TYPE,
2527 2527
 				VALUE => [PR_RECIPIENT_TYPE => MAPI_BCC],
2528 2528
 			],
@@ -2798,7 +2798,7 @@  discard block
 block discarded – undo
2798 2798
 		$getResourcesRestriction = [
2799 2799
 			RES_PROPERTY,
2800 2800
 			[
2801
-				RELOP => RELOP_EQ,	// Equals recipient type 3: Resource
2801
+				RELOP => RELOP_EQ, // Equals recipient type 3: Resource
2802 2802
 				ULPROPTAG => PR_RECIPIENT_TYPE,
2803 2803
 				VALUE => [PR_RECIPIENT_TYPE => MAPI_BCC],
2804 2804
 			],
@@ -3016,7 +3016,7 @@  discard block
 block discarded – undo
3016 3016
 				$restriction[1][] = [
3017 3017
 					RES_PROPERTY,
3018 3018
 					[
3019
-						RELOP => RELOP_NE,	// Does not equal recipient type: MAPI_BCC (Resource)
3019
+						RELOP => RELOP_NE, // Does not equal recipient type: MAPI_BCC (Resource)
3020 3020
 						ULPROPTAG => PR_RECIPIENT_TYPE,
3021 3021
 						VALUE => [PR_RECIPIENT_TYPE => MAPI_BCC],
3022 3022
 					],
@@ -3119,7 +3119,7 @@  discard block
 block discarded – undo
3119 3119
 			$stripResourcesRestriction[1][] = [
3120 3120
 				RES_PROPERTY,
3121 3121
 				[
3122
-					RELOP => RELOP_NE,	// Does not equal recipient type: MAPI_BCC (Resource)
3122
+					RELOP => RELOP_NE, // Does not equal recipient type: MAPI_BCC (Resource)
3123 3123
 					ULPROPTAG => PR_RECIPIENT_TYPE,
3124 3124
 					VALUE => [PR_RECIPIENT_TYPE => MAPI_BCC],
3125 3125
 				],
@@ -3225,7 +3225,7 @@  discard block
 block discarded – undo
3225 3225
 			$newmessageprops[PR_MESSAGE_CLASS] = 'IPM.Schedule.Meeting.Canceled';
3226 3226
 			$newmessageprops[$this->proptags['meetingstatus']] = olMeetingCanceled; // It's a cancel request
3227 3227
 			$newmessageprops[$this->proptags['busystatus']] = fbFree; // set the busy status as free
3228
-			$newmessageprops[PR_IMPORTANCE] = IMPORTANCE_HIGH;	// HIGH Importance
3228
+			$newmessageprops[PR_IMPORTANCE] = IMPORTANCE_HIGH; // HIGH Importance
3229 3229
 			if (isset($newmessageprops[PR_SUBJECT])) {
3230 3230
 				$newmessageprops[PR_SUBJECT] = dgettext('zarafa', 'Canceled') . ': ' . $newmessageprops[PR_SUBJECT];
3231 3231
 			}
Please login to merge, or discard this patch.
class.baserecurrence.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1404,7 +1404,7 @@  discard block
 block discarded – undo
1404 1404
 			if ($this->tz["timezone"] != 0) {
1405 1405
 				// Create user readable timezone information
1406 1406
 				$timezone = sprintf(
1407
-					"(GMT %s%02d:%02d)",-
1407
+					"(GMT %s%02d:%02d)", -
1408 1408
 					$this->tz["timezone"] > 0 ? "+" : "-",
1409 1409
 					abs($this->tz["timezone"] / 60),
1410 1410
 					abs($this->tz["timezone"] % 60)
@@ -1942,7 +1942,7 @@  discard block
 block discarded – undo
1942 1942
 						}
1943 1943
 						elseif ($this->recur['regen']) {
1944 1944
 							$year_starttime = $this->gmtime($now);
1945
-							$is_next_leapyear = $this->isLeapYear($year_starttime['tm_year'] + 1900 + 1);	// +1 next year
1945
+							$is_next_leapyear = $this->isLeapYear($year_starttime['tm_year'] + 1900 + 1); // +1 next year
1946 1946
 							$now = $daystart + ($is_next_leapyear ? 31622400 /* Leap year in seconds */ : 31536000 /* year in seconds */);
1947 1947
 
1948 1948
 							if ($now <= $dayend) {
Please login to merge, or discard this patch.