Passed
Push — master ( d7fd99...ee5080 )
by
unknown
02:37 queued 13s
created
class.taskrequest.php 1 patch
Spacing   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -24,12 +24,12 @@  discard block
 block discarded – undo
24 24
  * carried in the IPM.TaskRequest item (although this information seems
25 25
  * redundant due to that information already being available in PR_MESSAGE_CLASS).
26 26
  */
27
-define('tdmtNothing', 0);			// Value in IPM.Task items
28
-define('tdmtTaskReq', 1);			// Assigner -> Assignee
29
-define('tdmtTaskAcc', 2);			// Assignee -> Assigner
30
-define('tdmtTaskDec', 3);			// Assignee -> Assigner
31
-define('tdmtTaskUpd', 4);			// Assignee -> Assigner
32
-define('tdmtTaskSELF', 5);			// Assigner -> Assigner (?)
27
+define('tdmtNothing', 0); // Value in IPM.Task items
28
+define('tdmtTaskReq', 1); // Assigner -> Assignee
29
+define('tdmtTaskAcc', 2); // Assignee -> Assigner
30
+define('tdmtTaskDec', 3); // Assignee -> Assigner
31
+define('tdmtTaskUpd', 4); // Assignee -> Assigner
32
+define('tdmtTaskSELF', 5); // Assigner -> Assigner (?)
33 33
 
34 34
 /* The TaskHistory is used to show the last action on the task
35 35
  * on both the assigner and the assignee's side.
@@ -39,22 +39,22 @@  discard block
 block discarded – undo
39 39
  * the format 'Accepted by <user> on 01-01-2010 11:00'.
40 40
  */
41 41
 define('thNone', 0);
42
-define('thAccepted', 1);			// Set by assignee
43
-define('thDeclined', 2);			// Set by assignee
44
-define('thUpdated', 3);				// Set by assignee
42
+define('thAccepted', 1); // Set by assignee
43
+define('thDeclined', 2); // Set by assignee
44
+define('thUpdated', 3); // Set by assignee
45 45
 define('thDueDateChanged', 4);
46
-define('thAssigned', 5);			// Set by assigner
46
+define('thAssigned', 5); // Set by assigner
47 47
 
48 48
 /* The TaskState value is used to differentiate the version of a task
49 49
  * in the assigner's folder and the version in the
50 50
  * assignee's folder. The buttons shown depend on this and
51 51
  * the 'taskaccepted' boolean (for the assignee)
52 52
  */
53
-define('tdsNOM', 0);		// Got a response to a deleted task, and re-created the task for the assigner
54
-define('tdsOWNNEW', 1);		// Not assigned
55
-define('tdsOWN', 2);		// Assignee version
56
-define('tdsACC', 3);		// Assigner version
57
-define('tdsDEC', 4);		// Assigner version, but assignee declined
53
+define('tdsNOM', 0); // Got a response to a deleted task, and re-created the task for the assigner
54
+define('tdsOWNNEW', 1); // Not assigned
55
+define('tdsOWN', 2); // Assignee version
56
+define('tdsACC', 3); // Assigner version
57
+define('tdsDEC', 4); // Assigner version, but assignee declined
58 58
 
59 59
 /* The TaskAcceptanceState is used for the assigner to indicate state */
60 60
 define('olTaskNotDelegated', 0);
@@ -64,13 +64,13 @@  discard block
 block discarded – undo
64 64
 
65 65
 /* The task ownership indicates the role of the current user relative to the task. */
66 66
 define('olNewTask', 0);
67
-define('olDelegatedTask', 1);	// Task has been assigned
68
-define('olOwnTask', 2);			// Task owned
67
+define('olDelegatedTask', 1); // Task has been assigned
68
+define('olOwnTask', 2); // Task owned
69 69
 
70 70
 /* taskmultrecips indicates whether the task request sent or received has multiple assignees or not. */
71 71
 define('tmrNone', 0);
72
-define('tmrSent', 1);		// Task has been sent to multiple assignee
73
-define('tmrReceived', 2);	// Task Request received has multiple assignee
72
+define('tmrSent', 1); // Task has been sent to multiple assignee
73
+define('tmrReceived', 2); // Task Request received has multiple assignee
74 74
 
75 75
 // Task icon index.
76 76
 define('ICON_TASK_ASSIGNEE', 0x00000502);
@@ -1266,7 +1266,7 @@  discard block
 block discarded – undo
1266 1266
 			}
1267 1267
 
1268 1268
 			foreach ($recips as $recip) {
1269
-				$recip[PR_RECIPIENT_TYPE] = MAPI_TO;	// Change recipient type to MAPI_TO
1269
+				$recip[PR_RECIPIENT_TYPE] = MAPI_TO; // Change recipient type to MAPI_TO
1270 1270
 				mapi_message_modifyrecipients($outgoing, MODRECIP_ADD, [$recip]);
1271 1271
 			}
1272 1272
 
Please login to merge, or discard this patch.
class.recurrence.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1077,7 +1077,7 @@  discard block
 block discarded – undo
1077 1077
 				else {
1078 1078
 					$recip[PR_RECIPIENT_FLAGS] = recipReserved | recipExceptionalDeleted | recipSendable;
1079 1079
 				}
1080
-				$recip[PR_RECIPIENT_TRACKSTATUS] = olResponseNone;		// No Response required
1080
+				$recip[PR_RECIPIENT_TRACKSTATUS] = olResponseNone; // No Response required
1081 1081
 			}
1082 1082
 			unset($recip);
1083 1083
 			mapi_message_modifyrecipients($exception, MODRECIP_MODIFY, $exception_recips['remove']);
@@ -1152,7 +1152,7 @@  discard block
 block discarded – undo
1152 1152
 						else {
1153 1153
 							$recipient[PR_RECIPIENT_FLAGS] = recipReserved | recipExceptionalDeleted | recipSendable;
1154 1154
 						}
1155
-						$recipient[PR_RECIPIENT_TRACKSTATUS] = olRecipientTrackStatusNone;	// No Response required
1155
+						$recipient[PR_RECIPIENT_TRACKSTATUS] = olRecipientTrackStatusNone; // No Response required
1156 1156
 						$deletedRecipients[] = $recipient;
1157 1157
 					}
1158 1158
 				}
Please login to merge, or discard this patch.
mapidefs.php 1 patch
Spacing   +104 added lines, -104 removed lines patch added patch discarded remove patch
@@ -16,40 +16,40 @@  discard block
 block discarded – undo
16 16
 
17 17
 /* Object type */
18 18
 
19
-define('MAPI_STORE', 0x00000001);     /* Message Store */
20
-define('MAPI_ADDRBOOK', 0x00000002);  /* Address Book */
21
-define('MAPI_FOLDER', 0x00000003);    /* Folder */
22
-define('MAPI_ABCONT', 0x00000004);    /* Address Book Container */
23
-define('MAPI_MESSAGE', 0x00000005);   /* Message */
24
-define('MAPI_MAILUSER', 0x00000006);  /* Individual Recipient */
25
-define('MAPI_ATTACH', 0x00000007);    /* Attachment */
26
-define('MAPI_DISTLIST', 0x00000008);  /* Distribution List Recipient */
27
-define('MAPI_PROFSECT', 0x00000009);  /* Profile Section */
28
-define('MAPI_STATUS', 0x0000000A);    /* Status Object */
29
-define('MAPI_SESSION', 0x0000000B);   /* Session */
30
-define('MAPI_FORMINFO', 0x0000000C);  /* Form Information */
19
+define('MAPI_STORE', 0x00000001); /* Message Store */
20
+define('MAPI_ADDRBOOK', 0x00000002); /* Address Book */
21
+define('MAPI_FOLDER', 0x00000003); /* Folder */
22
+define('MAPI_ABCONT', 0x00000004); /* Address Book Container */
23
+define('MAPI_MESSAGE', 0x00000005); /* Message */
24
+define('MAPI_MAILUSER', 0x00000006); /* Individual Recipient */
25
+define('MAPI_ATTACH', 0x00000007); /* Attachment */
26
+define('MAPI_DISTLIST', 0x00000008); /* Distribution List Recipient */
27
+define('MAPI_PROFSECT', 0x00000009); /* Profile Section */
28
+define('MAPI_STATUS', 0x0000000A); /* Status Object */
29
+define('MAPI_SESSION', 0x0000000B); /* Session */
30
+define('MAPI_FORMINFO', 0x0000000C); /* Form Information */
31 31
 
32 32
 define('MV_FLAG', 0x1000);
33 33
 define('MV_INSTANCE', 0x2000);
34 34
 define('MVI_FLAG', MV_FLAG | MV_INSTANCE);
35 35
 
36
-define('PT_UNSPECIFIED', 0);  /* (Reserved for interface use) type doesn't matter to caller */
37
-define('PT_NULL', 1);         /* NULL property value */
38
-define('PT_I2', 2);           /* Signed 16-bit value */
39
-define('PT_LONG', 3);         /* Signed 32-bit value */
40
-define('PT_R4', 4);           /* 4-byte floating point */
41
-define('PT_DOUBLE', 5);       /* Floating point double */
42
-define('PT_CURRENCY', 6);     /* Signed 64-bit int (decimal w/4 digits right of decimal pt) */
43
-define('PT_APPTIME', 7);      /* Application time */
44
-define('PT_ERROR', 10);       /* 32-bit error value */
45
-define('PT_BOOLEAN', 11);     /* 16-bit boolean (non-zero true) */
46
-define('PT_OBJECT', 13);      /* Embedded object in a property */
47
-define('PT_I8', 20);          /* 8-byte signed integer */
48
-define('PT_STRING8', 30);     /* Null terminated 8-bit character string */
49
-define('PT_UNICODE', 31);     /* Null terminated Unicode string */
50
-define('PT_SYSTIME', 64);     /* FILETIME 64-bit int w/ number of 100ns periods since Jan 1,1601 */
51
-define('PT_CLSID', 72);       /* OLE GUID */
52
-define('PT_BINARY', 258);     /* Uninterpreted (counted byte array) */
36
+define('PT_UNSPECIFIED', 0); /* (Reserved for interface use) type doesn't matter to caller */
37
+define('PT_NULL', 1); /* NULL property value */
38
+define('PT_I2', 2); /* Signed 16-bit value */
39
+define('PT_LONG', 3); /* Signed 32-bit value */
40
+define('PT_R4', 4); /* 4-byte floating point */
41
+define('PT_DOUBLE', 5); /* Floating point double */
42
+define('PT_CURRENCY', 6); /* Signed 64-bit int (decimal w/4 digits right of decimal pt) */
43
+define('PT_APPTIME', 7); /* Application time */
44
+define('PT_ERROR', 10); /* 32-bit error value */
45
+define('PT_BOOLEAN', 11); /* 16-bit boolean (non-zero true) */
46
+define('PT_OBJECT', 13); /* Embedded object in a property */
47
+define('PT_I8', 20); /* 8-byte signed integer */
48
+define('PT_STRING8', 30); /* Null terminated 8-bit character string */
49
+define('PT_UNICODE', 31); /* Null terminated Unicode string */
50
+define('PT_SYSTIME', 64); /* FILETIME 64-bit int w/ number of 100ns periods since Jan 1,1601 */
51
+define('PT_CLSID', 72); /* OLE GUID */
52
+define('PT_BINARY', 258); /* Uninterpreted (counted byte array) */
53 53
 /* Changes are likely to these numbers, and to their structures. */
54 54
 
55 55
 /* Alternate property type names for ease of use */
@@ -190,14 +190,14 @@  discard block
 block discarded – undo
190 190
 
191 191
 /* Values for PR_RESOURCE_TYPE, _METHODS, _FLAGS */
192 192
 
193
-define('MAPI_STORE_PROVIDER', 33);     /* Message Store */
194
-define('MAPI_AB', 34);                 /* Address Book */
195
-define('MAPI_AB_PROVIDER', 35);        /* Address Book Provider */
193
+define('MAPI_STORE_PROVIDER', 33); /* Message Store */
194
+define('MAPI_AB', 34); /* Address Book */
195
+define('MAPI_AB_PROVIDER', 35); /* Address Book Provider */
196 196
 define('MAPI_TRANSPORT_PROVIDER', 36); /* Transport Provider */
197
-define('MAPI_SPOOLER', 37);            /* Message Spooler */
198
-define('MAPI_PROFILE_PROVIDER', 38);   /* Profile Provider */
199
-define('MAPI_SUBSYSTEM', 39);          /* Overall Subsystem Status */
200
-define('MAPI_HOOK_PROVIDER', 40);      /* Spooler Hook */
197
+define('MAPI_SPOOLER', 37); /* Message Spooler */
198
+define('MAPI_PROFILE_PROVIDER', 38); /* Profile Provider */
199
+define('MAPI_SUBSYSTEM', 39); /* Overall Subsystem Status */
200
+define('MAPI_HOOK_PROVIDER', 40); /* Spooler Hook */
201 201
 define('STATUS_VALIDATE_STATE', 0x00000001);
202 202
 define('STATUS_SETTINGS_DIALOG', 0x00000002);
203 203
 define('STATUS_CHANGE_PASSWORD', 0x00000004);
@@ -243,10 +243,10 @@  discard block
 block discarded – undo
243 243
 define('MODRECIP_MODIFY', 0x00000004);
244 244
 define('MODRECIP_REMOVE', 0x00000008);
245 245
 
246
-define('MAPI_ORIG', 0);    /* Recipient is message originator */
247
-define('MAPI_TO', 1);      /* Recipient is a primary recipient */
248
-define('MAPI_CC', 2);      /* Recipient is a copy recipient */
249
-define('MAPI_BCC', 3);     /* Recipient is blind copy recipient */
246
+define('MAPI_ORIG', 0); /* Recipient is message originator */
247
+define('MAPI_TO', 1); /* Recipient is a primary recipient */
248
+define('MAPI_CC', 2); /* Recipient is a copy recipient */
249
+define('MAPI_BCC', 3); /* Recipient is blind copy recipient */
250 250
 
251 251
 /* IAttach Interface ------------------------------------------------------- */
252 252
 
@@ -307,26 +307,26 @@  discard block
 block discarded – undo
307 307
 define('MAPI_SEND_NO_RICH_INFO', 0x00010000);
308 308
 
309 309
 /* flags for PR_STORE_SUPPORT_MASK */
310
-define('STORE_ANSI_OK', 0x00020000);          // The message store supports properties containing ANSI (8-bit) characters.
311
-define('STORE_ATTACH_OK', 0x00000020);        // The message store supports attachments (OLE or non-OLE) to messages.
312
-define('STORE_CATEGORIZE_OK', 0x00000400);    // The message store supports categorized views of tables.
313
-define('STORE_CREATE_OK', 0x00000010);        // The message store supports creation of new messages.
314
-define('STORE_ENTRYID_UNIQUE', 0x00000001);   // Entry identifiers for the objects in the message store are unique, that is, never reused during the life of the store.
315
-define('STORE_HTML_OK', 0x00010000);          // The message store supports Hypertext Markup Language (HTML) messages, stored in the PR_BODY_HTML property. Note that STORE_HTML_OK is not defined in versions of MAPIDEFS.H included with Microsoft� Exchange 2000 Server and earlier. If your development environment uses a MAPIDEFS.H file that does not include STORE_HTML_OK, use the value 0x00010000 instead.
316
-define('STORE_LOCALSTORE', 0x00080000);       // This flag is reserved and should not be used.
317
-define('STORE_MODIFY_OK', 0x00000008);        // The message store supports modification of its existing messages.
318
-define('STORE_MV_PROPS_OK', 0x00000200);      // The message store supports multivalued properties, guarantees the stability of value order in a multivalued property throughout a save operation, and supports instantiation of multivalued properties in tables.
319
-define('STORE_NOTIFY_OK', 0x00000100);        // The message store supports notifications.
320
-define('STORE_OLE_OK', 0x00000040);           // The message store supports OLE attachments. The OLE data is accessible through an IStorage interface, such as that available through the PR_ATTACH_DATA_OBJ property.
321
-define('STORE_PUBLIC_FOLDERS', 0x00004000);   // The folders in this store are public (multi-user), not private (possibly multi-instance but not multi-user).
322
-define('STORE_READONLY', 0x00000002);         // All interfaces for the message store have a read-only access level.
323
-define('STORE_RESTRICTION_OK', 0x00001000);   // The message store supports restrictions.
324
-define('STORE_RTF_OK', 0x00000800);           // The message store supports Rich Text Format (RTF) messages, usually stored compressed, and the store itself keeps PR_BODY and PR_RTF_COMPRESSED synchronized.
325
-define('STORE_SEARCH_OK', 0x00000004);        // The message store supports search-results folders.
326
-define('STORE_SORT_OK', 0x00002000);          // The message store supports sorting views of tables.
327
-define('STORE_SUBMIT_OK', 0x00000080);        // The message store supports marking a message for submission.
310
+define('STORE_ANSI_OK', 0x00020000); // The message store supports properties containing ANSI (8-bit) characters.
311
+define('STORE_ATTACH_OK', 0x00000020); // The message store supports attachments (OLE or non-OLE) to messages.
312
+define('STORE_CATEGORIZE_OK', 0x00000400); // The message store supports categorized views of tables.
313
+define('STORE_CREATE_OK', 0x00000010); // The message store supports creation of new messages.
314
+define('STORE_ENTRYID_UNIQUE', 0x00000001); // Entry identifiers for the objects in the message store are unique, that is, never reused during the life of the store.
315
+define('STORE_HTML_OK', 0x00010000); // The message store supports Hypertext Markup Language (HTML) messages, stored in the PR_BODY_HTML property. Note that STORE_HTML_OK is not defined in versions of MAPIDEFS.H included with Microsoft� Exchange 2000 Server and earlier. If your development environment uses a MAPIDEFS.H file that does not include STORE_HTML_OK, use the value 0x00010000 instead.
316
+define('STORE_LOCALSTORE', 0x00080000); // This flag is reserved and should not be used.
317
+define('STORE_MODIFY_OK', 0x00000008); // The message store supports modification of its existing messages.
318
+define('STORE_MV_PROPS_OK', 0x00000200); // The message store supports multivalued properties, guarantees the stability of value order in a multivalued property throughout a save operation, and supports instantiation of multivalued properties in tables.
319
+define('STORE_NOTIFY_OK', 0x00000100); // The message store supports notifications.
320
+define('STORE_OLE_OK', 0x00000040); // The message store supports OLE attachments. The OLE data is accessible through an IStorage interface, such as that available through the PR_ATTACH_DATA_OBJ property.
321
+define('STORE_PUBLIC_FOLDERS', 0x00004000); // The folders in this store are public (multi-user), not private (possibly multi-instance but not multi-user).
322
+define('STORE_READONLY', 0x00000002); // All interfaces for the message store have a read-only access level.
323
+define('STORE_RESTRICTION_OK', 0x00001000); // The message store supports restrictions.
324
+define('STORE_RTF_OK', 0x00000800); // The message store supports Rich Text Format (RTF) messages, usually stored compressed, and the store itself keeps PR_BODY and PR_RTF_COMPRESSED synchronized.
325
+define('STORE_SEARCH_OK', 0x00000004); // The message store supports search-results folders.
326
+define('STORE_SORT_OK', 0x00002000); // The message store supports sorting views of tables.
327
+define('STORE_SUBMIT_OK', 0x00000080); // The message store supports marking a message for submission.
328 328
 define('STORE_UNCOMPRESSED_RTF', 0x00008000); // The message store supports storage of Rich Text Format (RTF) messages in uncompressed form. An uncompressed RTF stream is identified by the value dwMagicUncompressedRTF in the stream header. The dwMagicUncompressedRTF value is defined in the RTFLIB.H file.
329
-define('STORE_UNICODE_OK', 0x00040000);       // The message store supports properties containing Unicode characters.
329
+define('STORE_UNICODE_OK', 0x00040000); // The message store supports properties containing Unicode characters.
330 330
 
331 331
 /*  PR_DISPLAY_TYPEs */
332 332
 /*  For address book contents tables */
@@ -439,21 +439,21 @@  discard block
 block discarded – undo
439 439
 define('BMR_NEZ', 0x00000001);
440 440
 
441 441
 /* array index values of restrictions -- same values are used in php-ext/main.cpp::PHPArraytoSRestriction() */
442
-define('VALUE', 0);        // propval
443
-define('RELOP', 1);        // compare method
444
-define('FUZZYLEVEL', 2);   // string search flags
445
-define('CB', 3);           // size restriction
446
-define('ULTYPE', 4);       // bit mask restriction type BMR_xxx
447
-define('ULMASK', 5);       // bitmask
448
-define('ULPROPTAG', 6);    // property
449
-define('ULPROPTAG1', 7);   // RES_COMPAREPROPS 1st property
450
-define('ULPROPTAG2', 8);   // RES_COMPAREPROPS 2nd property
451
-define('PROPS', 9);        // RES_COMMENT properties
442
+define('VALUE', 0); // propval
443
+define('RELOP', 1); // compare method
444
+define('FUZZYLEVEL', 2); // string search flags
445
+define('CB', 3); // size restriction
446
+define('ULTYPE', 4); // bit mask restriction type BMR_xxx
447
+define('ULMASK', 5); // bitmask
448
+define('ULPROPTAG', 6); // property
449
+define('ULPROPTAG1', 7); // RES_COMPAREPROPS 1st property
450
+define('ULPROPTAG2', 8); // RES_COMPAREPROPS 2nd property
451
+define('PROPS', 9); // RES_COMMENT properties
452 452
 define('RESTRICTION', 10); // RES_COMMENT and RES_SUBRESTRICTION restriction
453 453
 
454 454
 /* GUID's for PR_MDB_PROVIDER */
455
-define("ZARAFA_SERVICE_GUID", makeGuid("{C0A19454-7F29-1B10-A587-08002B2A2517}"));        // default store
456
-define("ZARAFA_STORE_PUBLIC_GUID", makeGuid("{70FAB278-F7AF-CD11-9BC8-00AA002FC45A}"));   // public store
455
+define("ZARAFA_SERVICE_GUID", makeGuid("{C0A19454-7F29-1B10-A587-08002B2A2517}")); // default store
456
+define("ZARAFA_STORE_PUBLIC_GUID", makeGuid("{70FAB278-F7AF-CD11-9BC8-00AA002FC45A}")); // public store
457 457
 define("ZARAFA_STORE_DELEGATE_GUID", makeGuid("{0077B49E-E474-CE11-8C5E-00AA004254E2}")); // other store
458 458
 define('ZARAFA_STORE_ARCHIVER_GUID', makeGuid("{BC8953AD-2E3F-4172-9404-896FF459870F}")); // archive store
459 459
 
@@ -586,38 +586,38 @@  discard block
 block discarded – undo
586 586
 define('SYNC_NO_FOREIGN_KEYS', 0x100);
587 587
 define('SYNC_LIMITED_IMESSAGE', 0x200);
588 588
 define('SYNC_CATCHUP', 0x400);
589
-define('SYNC_NEW_MESSAGE', 0x800);               // only applicable to ImportMessageChange()
590
-define('SYNC_MSG_SELECTIVE', 0x1000);            // Used internally. Will reject if used by clients.
589
+define('SYNC_NEW_MESSAGE', 0x800); // only applicable to ImportMessageChange()
590
+define('SYNC_MSG_SELECTIVE', 0x1000); // Used internally. Will reject if used by clients.
591 591
 define('SYNC_BEST_BODY', 0x2000);
592 592
 define('SYNC_IGNORE_SPECIFIED_ON_ASSOCIATED', 0x4000);
593
-define('SYNC_PROGRESS_MODE', 0x8000);            // AirMapi progress mode
593
+define('SYNC_PROGRESS_MODE', 0x8000); // AirMapi progress mode
594 594
 define('SYNC_FXRECOVERMODE', 0x10000);
595 595
 define('SYNC_DEFER_CONFIG', 0x20000);
596
-define('SYNC_FORCE_UNICODE', 0x40000);           // Forces server to return Unicode properties
597
-define('SYNC_STATE_READONLY', 0x80000);          // Server will not update the states in the DB, setting up exporter with this flag states are read only
596
+define('SYNC_FORCE_UNICODE', 0x40000); // Forces server to return Unicode properties
597
+define('SYNC_STATE_READONLY', 0x80000); // Server will not update the states in the DB, setting up exporter with this flag states are read only
598 598
 
599
-define('EMS_AB_ADDRESS_LOOKUP', 0x00000001);     // Flag for resolvename to resolve only exact matches
599
+define('EMS_AB_ADDRESS_LOOKUP', 0x00000001); // Flag for resolvename to resolve only exact matches
600 600
 
601
-define('TBL_BATCH', 0x00000002);                 // Batch multiple table commands
601
+define('TBL_BATCH', 0x00000002); // Batch multiple table commands
602 602
 
603 603
 /* Flags for recipients in exceptions */
604
-define('recipSendable', 0x00000001);             // sendable attendee.
605
-define('recipOrganizer', 0x00000002);            // meeting organizer
606
-define('recipExceptionalResponse', 0x00000010);  // attendee gave a response for the exception
607
-define('recipExceptionalDeleted', 0x00000020);   // recipientRow exists, but it is treated as if the corresponding recipient is deleted from meeting
608
-define('recipOriginal', 0x00000100);             // recipient is an original Attendee
604
+define('recipSendable', 0x00000001); // sendable attendee.
605
+define('recipOrganizer', 0x00000002); // meeting organizer
606
+define('recipExceptionalResponse', 0x00000010); // attendee gave a response for the exception
607
+define('recipExceptionalDeleted', 0x00000020); // recipientRow exists, but it is treated as if the corresponding recipient is deleted from meeting
608
+define('recipOriginal', 0x00000100); // recipient is an original Attendee
609 609
 define('recipReserved', 0x00000200);
610 610
 
611 611
 /* Flags which indicates type of Meeting Object */
612
-define('mtgEmpty', 0x00000000);                  // Unspecified.
613
-define('mtgRequest', 0x00000001);                // Initial meeting request.
614
-define('mtgFull', 0x00010000);                   // Full update.
615
-define('mtgInfo', 0x00020000);                   // Informational update.
616
-define('mtgOutOfDate', 0x00080000);              // A newer Meeting Request object or Meeting Update object was received after this one.
617
-define('mtgDelegatorCopy', 0x00100000);          // This is set on the delegator's copy when a delegate will handle meeting-related objects.
612
+define('mtgEmpty', 0x00000000); // Unspecified.
613
+define('mtgRequest', 0x00000001); // Initial meeting request.
614
+define('mtgFull', 0x00010000); // Full update.
615
+define('mtgInfo', 0x00020000); // Informational update.
616
+define('mtgOutOfDate', 0x00080000); // A newer Meeting Request object or Meeting Update object was received after this one.
617
+define('mtgDelegatorCopy', 0x00100000); // This is set on the delegator's copy when a delegate will handle meeting-related objects.
618 618
 
619
-define('MAPI_ONE_OFF_UNICODE', 0x8000);          // the flag that defines whether the embedded strings are Unicode in one off entryids.
620
-define('MAPI_ONE_OFF_NO_RICH_INFO', 0x0001);     // the flag that specifies whether the recipient gets TNEF or not.
619
+define('MAPI_ONE_OFF_UNICODE', 0x8000); // the flag that defines whether the embedded strings are Unicode in one off entryids.
620
+define('MAPI_ONE_OFF_NO_RICH_INFO', 0x0001); // the flag that specifies whether the recipient gets TNEF or not.
621 621
 
622 622
 /* Mask flags for mapi_msgstore_advise */
623 623
 define('fnevCriticalError', 0x00000001);
@@ -634,21 +634,21 @@  discard block
 block discarded – undo
634 634
 define('fnevExtended', 0x80000000);
635 635
 
636 636
 /* PersistBlockType values PR_ADDITIONAL_REN_ENTRYIDS_EX / PR_ADDITIONAL_REN_ENTRYIDS_EX PersistIDs */
637
-define('PERSIST_SENTINEL', 0x0000);            // Indicates that the PersistData structure is the last one contained in the PidTagAdditionalRenEntryIdsEx property
638
-define('RSF_PID_RSS_SUBSCRIPTION', 0x8001);    // Indicates that the structure contains data for the RSS Feeds folder
639
-define('RSF_PID_SEND_AND_TRACK', 0x8002);      // Indicates that the structure contains data for the Tracked Mail Processing folder
640
-define('RSF_PID_TODO_SEARCH', 0x8004);         // Indicates that the structure contains data for the To-Do folder
641
-define('RSF_PID_CONV_ACTIONS', 0x8006);        // Indicates that the structure contains data for the Conversation Action Settings folder
642
-define('RSF_PID_COMBINED_ACTIONS', 0x8007);    // This value is reserved.
643
-define('RSF_PID_SUGGESTED_CONTACTS', 0x8008);  // Indicates that the structure contains data for the Suggested Contacts folder.
644
-define('RSF_PID_CONTACT_SEARCH', 0x8009);      // Indicates that the structure contains data for the Contacts Search folder.
645
-define('RSF_PID_BUDDYLIST_PDLS', 0x800A);      // Indicates that the structure contains data for the IM Contacts List folder.
646
-define('RSF_PID_BUDDYLIST_CONTACTS', 0x800B);  // Indicates that the structure contains data for the Quick Contacts folder.
637
+define('PERSIST_SENTINEL', 0x0000); // Indicates that the PersistData structure is the last one contained in the PidTagAdditionalRenEntryIdsEx property
638
+define('RSF_PID_RSS_SUBSCRIPTION', 0x8001); // Indicates that the structure contains data for the RSS Feeds folder
639
+define('RSF_PID_SEND_AND_TRACK', 0x8002); // Indicates that the structure contains data for the Tracked Mail Processing folder
640
+define('RSF_PID_TODO_SEARCH', 0x8004); // Indicates that the structure contains data for the To-Do folder
641
+define('RSF_PID_CONV_ACTIONS', 0x8006); // Indicates that the structure contains data for the Conversation Action Settings folder
642
+define('RSF_PID_COMBINED_ACTIONS', 0x8007); // This value is reserved.
643
+define('RSF_PID_SUGGESTED_CONTACTS', 0x8008); // Indicates that the structure contains data for the Suggested Contacts folder.
644
+define('RSF_PID_CONTACT_SEARCH', 0x8009); // Indicates that the structure contains data for the Contacts Search folder.
645
+define('RSF_PID_BUDDYLIST_PDLS', 0x800A); // Indicates that the structure contains data for the IM Contacts List folder.
646
+define('RSF_PID_BUDDYLIST_CONTACTS', 0x800B); // Indicates that the structure contains data for the Quick Contacts folder.
647 647
 
648 648
 /* PersistElementType Values ElementIDs for persist data of PR_ADDITIONAL_REN_ENTRYIDS_EX / PR_ADDITIONAL_REN_ENTRYIDS_EX */
649
-define('ELEMENT_SENTINEL', 0x0000);            // 0 bytes Indicates that the PersistElement structure is the last one contained in the DataElements field of the PersistData structure.
650
-define('RSF_ELID_ENTRYID', 0x0001);            // variable Indicates that the ElementData field contains the entry ID of the special folder that is of the type indicated by the value of the PersistID field of the PersistData structure.
651
-define('RSF_ELID_HEADER', 0x0002);             // 4 bytes Indicates that the ElementData field contains a 4-byte header value equal to 0x00000000.
649
+define('ELEMENT_SENTINEL', 0x0000); // 0 bytes Indicates that the PersistElement structure is the last one contained in the DataElements field of the PersistData structure.
650
+define('RSF_ELID_ENTRYID', 0x0001); // variable Indicates that the ElementData field contains the entry ID of the special folder that is of the type indicated by the value of the PersistID field of the PersistData structure.
651
+define('RSF_ELID_HEADER', 0x0002); // 4 bytes Indicates that the ElementData field contains a 4-byte header value equal to 0x00000000.
652 652
 
653 653
 define('STGM_DIRECT', 0x00000000);
654 654
 define('STGM_TRANSACTED', 0x00010000);
Please login to merge, or discard this patch.
mapi.util.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
 		[
213 213
 			RES_OR,
214 214
 			[
215
-				[RES_AND,	// Normal items: itemEnd must be after viewStart, itemStart must be before viewEnd
215
+				[RES_AND, // Normal items: itemEnd must be after viewStart, itemStart must be before viewEnd
216 216
 					[
217 217
 						[
218 218
 							RES_PROPERTY,
@@ -241,8 +241,8 @@  discard block
 block discarded – undo
241 241
 						VALUE => true,
242 242
 					],
243 243
 				],
244
-			],	// EXISTS OR
245
-		];		// global OR
244
+			], // EXISTS OR
245
+		]; // global OR
246 246
 
247 247
 	// Get requested properties, plus whatever we need
248 248
 	$proplist = [PR_ENTRYID, $properties["recurring"], $properties["recurring_data"], $properties["timezone_data"]];
Please login to merge, or discard this patch.
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.
class.freebusy.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
 
83 83
 			// Ensure to return false if an exception occurs
84 84
 			error_log("getLocalFreeBusyMessage: unhandled MAPIException " . $e->getMessage());
85
-		        return false;
85
+				return false;
86 86
 
87 87
 		}
88 88
 
Please login to merge, or discard this patch.
dev/generate_autoloader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@
 block discarded – undo
113 113
 
114 114
 		// Filter the relevant constants
115 115
 		$relevant_prefixes = ['PR_', 'PidLid', 'MAPI', 'ec', 'RPC_', 'SYNC_'];
116
-		$relevant_constants = array_filter($constants['Core'], function ($key) use ($relevant_prefixes) {
116
+		$relevant_constants = array_filter($constants['Core'], function($key) use ($relevant_prefixes) {
117 117
 			foreach ($relevant_prefixes as $prefix) {
118 118
 				if (strpos($key, $prefix) === 0) {
119 119
 					return true;
Please login to merge, or discard this patch.
dev/autoloader.php 1 patch
Spacing   +61 added lines, -61 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@  discard block
 block discarded – undo
7 7
  * @return void
8 8
  */
9 9
 function mapi_load_mapidefs(?int $level): void {
10
-	return ;
10
+	return;
11 11
 }
12 12
 
13 13
 /**
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
  * @param int $proptag
22 22
  * @return int|false
23 23
  */
24
-function mapi_prop_type(int $proptag): int|false {
24
+function mapi_prop_type(int $proptag): int | false {
25 25
 	return 0;
26 26
 }
27 27
 
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
  * @param int $proptag
30 30
  * @return int|false
31 31
  */
32
-function mapi_prop_id(int $proptag): int|false {
32
+function mapi_prop_id(int $proptag): int | false {
33 33
 	return 0;
34 34
 }
35 35
 
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
  * @param int $errcode
38 38
  * @return bool|false
39 39
  */
40
-function mapi_is_error(int $errcode): bool|false {
40
+function mapi_is_error(int $errcode): bool | false {
41 41
 	return false;
42 42
 }
43 43
 
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
  * @param int $code
47 47
  * @return int|false
48 48
  */
49
-function mapi_make_scode(int $sev, int $code): int|false {
49
+function mapi_make_scode(int $sev, int $code): int | false {
50 50
 	return 0;
51 51
 }
52 52
 
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
  * @param int $propid
56 56
  * @return int|false
57 57
  */
58
-function mapi_prop_tag(int $proptype, int $propid): int|false {
58
+function mapi_prop_tag(int $proptype, int $propid): int | false {
59 59
 	return 0;
60 60
 }
61 61
 
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
  * @param ?int $flags
67 67
  * @return string|false
68 68
  */
69
-function mapi_createoneoff(?string $displayname, string $type, string $address, ?int $flags = 0): string|false {
69
+function mapi_createoneoff(?string $displayname, string $type, string $address, ?int $flags = 0): string | false {
70 70
 	return '';
71 71
 }
72 72
 
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
  * @param string $entryid
75 75
  * @return array|false
76 76
  */
77
-function mapi_parseoneoff(string $entryid): array|false {
77
+function mapi_parseoneoff(string $entryid): array | false {
78 78
 	return [];
79 79
 }
80 80
 
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
  * @param ?string $misc_version
90 90
  * @return resource|false
91 91
  */
92
-function mapi_logon_zarafa(string $username, string $password, ?string $server = null, ?string $sslcert = null, ?string $sslpass = null, ?int $flags = 0, ?string $wa_version = null, ?string $misc_version = null): resource|false {
92
+function mapi_logon_zarafa(string $username, string $password, ?string $server = null, ?string $sslcert = null, ?string $sslpass = null, ?int $flags = 0, ?string $wa_version = null, ?string $misc_version = null): resource | false {
93 93
 	return fopen("php://memory", "r");
94 94
 }
95 95
 
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
  * @param int $flags
100 100
  * @return resource|false
101 101
  */
102
-function mapi_logon_ex(string $username, string $password, int $flags): resource|false {
102
+function mapi_logon_ex(string $username, string $password, int $flags): resource | false {
103 103
 	return fopen("php://memory", "r");
104 104
 }
105 105
 
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
  * @param string $token
108 108
  * @return resource|false
109 109
  */
110
-function mapi_logon_token(string $token): resource|false {
110
+function mapi_logon_token(string $token): resource | false {
111 111
 	return fopen("php://memory", "r");
112 112
 }
113 113
 
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
  * @param resource $session
116 116
  * @return resource|false
117 117
  */
118
-function mapi_getmsgstorestable(resource $session): resource|false {
118
+function mapi_getmsgstorestable(resource $session): resource | false {
119 119
 	return fopen("php://memory", "r");
120 120
 }
121 121
 
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
  * @param string $entryid
125 125
  * @return resource|false
126 126
  */
127
-function mapi_openmsgstore(resource $ses, string $entryid): resource|false {
127
+function mapi_openmsgstore(resource $ses, string $entryid): resource | false {
128 128
 	return fopen("php://memory", "r");
129 129
 }
130 130
 
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
  * @param string $uid
134 134
  * @return resource|false
135 135
  */
136
-function mapi_openprofilesection(resource $ses, string $uid): resource|false {
136
+function mapi_openprofilesection(resource $ses, string $uid): resource | false {
137 137
 	return fopen("php://memory", "r");
138 138
 }
139 139
 
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
  * @param resource $session
142 142
  * @return resource|false
143 143
  */
144
-function mapi_openaddressbook(resource $session): resource|false {
144
+function mapi_openaddressbook(resource $session): resource | false {
145 145
 	return fopen("php://memory", "r");
146 146
 }
147 147
 
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
  * @param ?int $flags
152 152
  * @return resource|false
153 153
  */
154
-function mapi_openentry(resource $ses, ?string $entryid = null, ?int $flags = 0): resource|false {
154
+function mapi_openentry(resource $ses, ?string $entryid = null, ?int $flags = 0): resource | false {
155 155
 	return fopen("php://memory", "r");
156 156
 }
157 157
 
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
  * @param ?int $flags
162 162
  * @return resource|false
163 163
  */
164
-function mapi_ab_openentry(resource $abk, ?string $entryid = null, ?int $flags = 0): resource|false {
164
+function mapi_ab_openentry(resource $abk, ?string $entryid = null, ?int $flags = 0): resource | false {
165 165
 	return fopen("php://memory", "r");
166 166
 }
167 167
 
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
  * @param resource $abk
180 180
  * @return string|false
181 181
  */
182
-function mapi_ab_getdefaultdir(resource $abk): string|false {
182
+function mapi_ab_getdefaultdir(resource $abk): string | false {
183 183
 	return '';
184 184
 }
185 185
 
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
  * @param string $mailbox_dn
189 189
  * @return string|false
190 190
  */
191
-function mapi_msgstore_createentryid(resource $store, string $mailbox_dn): string|false {
191
+function mapi_msgstore_createentryid(resource $store, string $mailbox_dn): string | false {
192 192
 	return '';
193 193
 }
194 194
 
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
  * @param ?int $flags
209 209
  * @return resource|false
210 210
  */
211
-function mapi_msgstore_openentry(resource $store, ?string $entryid = null, ?int $flags = 0): resource|false {
211
+function mapi_msgstore_openentry(resource $store, ?string $entryid = null, ?int $flags = 0): resource | false {
212 212
 	return fopen("php://memory", "r");
213 213
 }
214 214
 
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
  * @param resource $store
217 217
  * @return resource|false
218 218
  */
219
-function mapi_msgstore_getreceivefolder(resource $store): resource|false {
219
+function mapi_msgstore_getreceivefolder(resource $store): resource | false {
220 220
 	return fopen("php://memory", "r");
221 221
 }
222 222
 
@@ -226,7 +226,7 @@  discard block
 block discarded – undo
226 226
  * @param ?string $sk_msg
227 227
  * @return string|false
228 228
  */
229
-function mapi_msgstore_entryidfromsourcekey(resource $store, string $sk_fld, ?string $sk_msg = null): string|false {
229
+function mapi_msgstore_entryidfromsourcekey(resource $store, string $sk_fld, ?string $sk_msg = null): string | false {
230 230
 	return '';
231 231
 }
232 232
 
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
  * @param resource $sink
238 238
  * @return int|false
239 239
  */
240
-function mapi_msgstore_advise(resource $store, string $entryid, int $event_mask, resource $sink): int|false {
240
+function mapi_msgstore_advise(resource $store, string $entryid, int $event_mask, resource $sink): int | false {
241 241
 	return 0;
242 242
 }
243 243
 
@@ -262,7 +262,7 @@  discard block
 block discarded – undo
262 262
 /**
263 263
  * @return resource|false
264 264
  */
265
-function mapi_sink_create(): resource|false {
265
+function mapi_sink_create(): resource | false {
266 266
 	return fopen("php://memory", "r");
267 267
 }
268 268
 
@@ -300,7 +300,7 @@  discard block
 block discarded – undo
300 300
  * @param resource $table
301 301
  * @return int|false
302 302
  */
303
-function mapi_table_getrowcount(resource $table): int|false {
303
+function mapi_table_getrowcount(resource $table): int | false {
304 304
 	return 0;
305 305
 }
306 306
 
@@ -320,7 +320,7 @@  discard block
 block discarded – undo
320 320
  * @param int $rowcount
321 321
  * @return int|false
322 322
  */
323
-function mapi_table_seekrow(resource $table, int $bookmark, int $rowcount): int|false {
323
+function mapi_table_seekrow(resource $table, int $bookmark, int $rowcount): int | false {
324 324
 	return 0;
325 325
 }
326 326
 
@@ -351,7 +351,7 @@  discard block
 block discarded – undo
351 351
  * @param ?int $flags
352 352
  * @return int|false
353 353
  */
354
-function mapi_table_findrow(resource $table, array $restrict, ?int $bookmark = 0, ?int $flags = 0): int|false {
354
+function mapi_table_findrow(resource $table, array $restrict, ?int $bookmark = 0, ?int $flags = 0): int | false {
355 355
 	return 0;
356 356
 }
357 357
 
@@ -359,7 +359,7 @@  discard block
 block discarded – undo
359 359
  * @param resource $table
360 360
  * @return int|false
361 361
  */
362
-function mapi_table_createbookmark(resource $table): int|false {
362
+function mapi_table_createbookmark(resource $table): int | false {
363 363
 	return 0;
364 364
 }
365 365
 
@@ -377,7 +377,7 @@  discard block
 block discarded – undo
377 377
  * @param ?int $flags
378 378
  * @return resource|false
379 379
  */
380
-function mapi_folder_gethierarchytable(resource $fld, ?int $flags = 0): resource|false {
380
+function mapi_folder_gethierarchytable(resource $fld, ?int $flags = 0): resource | false {
381 381
 	return fopen("php://memory", "r");
382 382
 }
383 383
 
@@ -386,7 +386,7 @@  discard block
 block discarded – undo
386 386
  * @param ?int $flags
387 387
  * @return resource|false
388 388
  */
389
-function mapi_folder_getcontentstable(resource $fld, ?int $flags = 0): resource|false {
389
+function mapi_folder_getcontentstable(resource $fld, ?int $flags = 0): resource | false {
390 390
 	return fopen("php://memory", "r");
391 391
 }
392 392
 
@@ -394,7 +394,7 @@  discard block
 block discarded – undo
394 394
  * @param resource $fld
395 395
  * @return resource|false
396 396
  */
397
-function mapi_folder_getrulestable(resource $fld): resource|false {
397
+function mapi_folder_getrulestable(resource $fld): resource | false {
398 398
 	return fopen("php://memory", "r");
399 399
 }
400 400
 
@@ -403,7 +403,7 @@  discard block
 block discarded – undo
403 403
  * @param ?int $flags
404 404
  * @return resource|false
405 405
  */
406
-function mapi_folder_createmessage(resource $fld, ?int $flags = 0): resource|false {
406
+function mapi_folder_createmessage(resource $fld, ?int $flags = 0): resource | false {
407 407
 	return fopen("php://memory", "r");
408 408
 }
409 409
 
@@ -415,7 +415,7 @@  discard block
 block discarded – undo
415 415
  * @param ?int $folder_type
416 416
  * @return resource|false
417 417
  */
418
-function mapi_folder_createfolder(resource $fld, string $fname, ?string $comment = null, ?int $flags = 0, ?int $folder_type = 0): resource|false {
418
+function mapi_folder_createfolder(resource $fld, string $fname, ?string $comment = null, ?int $flags = 0, ?int $folder_type = 0): resource | false {
419 419
 	return fopen("php://memory", "r");
420 420
 }
421 421
 
@@ -515,7 +515,7 @@  discard block
 block discarded – undo
515 515
  * @param resource $msg
516 516
  * @return resource|false
517 517
  */
518
-function mapi_message_getattachmenttable(resource $msg): resource|false {
518
+function mapi_message_getattachmenttable(resource $msg): resource | false {
519 519
 	return fopen("php://memory", "r");
520 520
 }
521 521
 
@@ -523,7 +523,7 @@  discard block
 block discarded – undo
523 523
  * @param resource $msg
524 524
  * @return resource|false
525 525
  */
526
-function mapi_message_getrecipienttable(resource $msg): resource|false {
526
+function mapi_message_getrecipienttable(resource $msg): resource | false {
527 527
 	return fopen("php://memory", "r");
528 528
 }
529 529
 
@@ -532,7 +532,7 @@  discard block
 block discarded – undo
532 532
  * @param int $id
533 533
  * @return resource|false
534 534
  */
535
-function mapi_message_openattach(resource $msg, int $id): resource|false {
535
+function mapi_message_openattach(resource $msg, int $id): resource | false {
536 536
 	return fopen("php://memory", "r");
537 537
 }
538 538
 
@@ -541,7 +541,7 @@  discard block
 block discarded – undo
541 541
  * @param ?int $flags
542 542
  * @return resource|false
543 543
  */
544
-function mapi_message_createattach(resource $msg, ?int $flags = 0): resource|false {
544
+function mapi_message_createattach(resource $msg, ?int $flags = 0): resource | false {
545 545
 	return fopen("php://memory", "r");
546 546
 }
547 547
 
@@ -589,7 +589,7 @@  discard block
 block discarded – undo
589 589
  * @param ?string $guid
590 590
  * @return resource|false
591 591
  */
592
-function mapi_openpropertytostream(resource $any, int $proptag, ?int $flags = 0, ?string $guid = null): resource|false {
592
+function mapi_openpropertytostream(resource $any, int $proptag, ?int $flags = 0, ?string $guid = null): resource | false {
593 593
 	return fopen("php://memory", "r");
594 594
 }
595 595
 
@@ -598,7 +598,7 @@  discard block
 block discarded – undo
598 598
  * @param string $data
599 599
  * @return int|false
600 600
  */
601
-function mapi_stream_write(resource $stream, string $data): int|false {
601
+function mapi_stream_write(resource $stream, string $data): int | false {
602 602
 	return 0;
603 603
 }
604 604
 
@@ -607,7 +607,7 @@  discard block
 block discarded – undo
607 607
  * @param int $size
608 608
  * @return string|false
609 609
  */
610
-function mapi_stream_read(resource $stream, int $size): string|false {
610
+function mapi_stream_read(resource $stream, int $size): string | false {
611 611
 	return '';
612 612
 }
613 613
 
@@ -615,7 +615,7 @@  discard block
 block discarded – undo
615 615
  * @param resource $stream
616 616
  * @return array|false
617 617
  */
618
-function mapi_stream_stat(resource $stream): array|false {
618
+function mapi_stream_stat(resource $stream): array | false {
619 619
 	return [];
620 620
 }
621 621
 
@@ -649,7 +649,7 @@  discard block
 block discarded – undo
649 649
 /**
650 650
  * @return resource|false
651 651
  */
652
-function mapi_stream_create(): resource|false {
652
+function mapi_stream_create(): resource | false {
653 653
 	return fopen("php://memory", "r");
654 654
 }
655 655
 
@@ -658,7 +658,7 @@  discard block
 block discarded – undo
658 658
  * @param ?int $flags
659 659
  * @return resource|bool
660 660
  */
661
-function mapi_attach_openobj(resource $attach, ?int $flags = 0): resource|bool {
661
+function mapi_attach_openobj(resource $attach, ?int $flags = 0): resource | bool {
662 662
 	return fopen("php://memory", "r");
663 663
 }
664 664
 
@@ -706,7 +706,7 @@  discard block
 block discarded – undo
706 706
  * @param int $proptag
707 707
  * @return resource|false
708 708
  */
709
-function mapi_openproperty(resource $any, int $proptag /* [more] */): resource|false {
709
+function mapi_openproperty(resource $any, int $proptag /* [more] */): resource | false {
710 710
 	return fopen("php://memory", "r");
711 711
 }
712 712
 
@@ -724,7 +724,7 @@  discard block
 block discarded – undo
724 724
  * @param ?array $names
725 725
  * @return array|false
726 726
  */
727
-function mapi_getnamesfromids(resource $any, ?array $names = null): array|false {
727
+function mapi_getnamesfromids(resource $any, ?array $names = null): array | false {
728 728
 	return [];
729 729
 }
730 730
 
@@ -734,7 +734,7 @@  discard block
 block discarded – undo
734 734
  * @param ?array $guids
735 735
  * @return array|false
736 736
  */
737
-function mapi_getidsfromnames(resource $store, array $names, ?array $guids = null): array|false {
737
+function mapi_getidsfromnames(resource $store, array $names, ?array $guids = null): array | false {
738 738
 	return [];
739 739
 }
740 740
 
@@ -742,7 +742,7 @@  discard block
 block discarded – undo
742 742
  * @param string $data
743 743
  * @return string|false
744 744
  */
745
-function mapi_decompressrtf(string $data): string|false {
745
+function mapi_decompressrtf(string $data): string | false {
746 746
 	return '';
747 747
 }
748 748
 
@@ -751,7 +751,7 @@  discard block
 block discarded – undo
751 751
  * @param int $type
752 752
  * @return array|false
753 753
  */
754
-function mapi_zarafa_getpermissionrules(resource $any, int $type): array|false {
754
+function mapi_zarafa_getpermissionrules(resource $any, int $type): array | false {
755 755
 	return [];
756 756
 }
757 757
 
@@ -771,7 +771,7 @@  discard block
 block discarded – undo
771 771
  * @param int $end
772 772
  * @return array|false
773 773
  */
774
-function mapi_getuserfreebusy(resource $ses, string $entryid, int $start, int $end): array|false {
774
+function mapi_getuserfreebusy(resource $ses, string $entryid, int $start, int $end): array | false {
775 775
 	return [];
776 776
 }
777 777
 
@@ -782,7 +782,7 @@  discard block
 block discarded – undo
782 782
  * @param int $end
783 783
  * @return string|false
784 784
  */
785
-function mapi_getuserfreebusyical(resource $ses, string $entryid, int $start, int $end): string|false {
785
+function mapi_getuserfreebusyical(resource $ses, string $entryid, int $start, int $end): string | false {
786 786
 	return '';
787 787
 }
788 788
 
@@ -822,7 +822,7 @@  discard block
 block discarded – undo
822 822
  * @param resource $r
823 823
  * @return int|false
824 824
  */
825
-function mapi_exportchanges_getchangecount(resource $r): int|false {
825
+function mapi_exportchanges_getchangecount(resource $r): int | false {
826 826
 	return 0;
827 827
 }
828 828
 
@@ -930,7 +930,7 @@  discard block
 block discarded – undo
930 930
  * @param object &$object
931 931
  * @return resource|false
932 932
  */
933
-function mapi_wrap_importcontentschanges(object &$object): resource|false {
933
+function mapi_wrap_importcontentschanges(object &$object): resource | false {
934 934
 	return fopen("php://memory", "r");
935 935
 }
936 936
 
@@ -938,7 +938,7 @@  discard block
 block discarded – undo
938 938
  * @param object &$object
939 939
  * @return resource|false
940 940
  */
941
-function mapi_wrap_importhierarchychanges(object &$object): resource|false {
941
+function mapi_wrap_importhierarchychanges(object &$object): resource | false {
942 942
 	return fopen("php://memory", "r");
943 943
 }
944 944
 
@@ -949,7 +949,7 @@  discard block
 block discarded – undo
949 949
  * @param array $opts
950 950
  * @return resource|false
951 951
  */
952
-function mapi_inetmapi_imtoinet(resource $ses, resource $abk, resource $msg, array $opts): resource|false {
952
+function mapi_inetmapi_imtoinet(resource $ses, resource $abk, resource $msg, array $opts): resource | false {
953 953
 	return fopen("php://memory", "r");
954 954
 }
955 955
 
@@ -985,7 +985,7 @@  discard block
 block discarded – undo
985 985
  * @param string $ics
986 986
  * @return array|false
987 987
  */
988
-function mapi_icaltomapi2(resource $abk, resource $fld, string $ics): array|false {
988
+function mapi_icaltomapi2(resource $abk, resource $fld, string $ics): array | false {
989 989
 	return [];
990 990
 }
991 991
 
@@ -996,7 +996,7 @@  discard block
 block discarded – undo
996 996
  * @param array $opts
997 997
  * @return string|false
998 998
  */
999
-function mapi_mapitoical(resource $ses, resource $abk, resource $msg, array $opts): string|false {
999
+function mapi_mapitoical(resource $ses, resource $abk, resource $msg, array $opts): string | false {
1000 1000
 	return '';
1001 1001
 }
1002 1002
 
@@ -1016,7 +1016,7 @@  discard block
 block discarded – undo
1016 1016
  * @param string $vcard
1017 1017
  * @return array|false
1018 1018
  */
1019
-function mapi_vcftomapi2(resource $fld, string $vcard): array|false {
1019
+function mapi_vcftomapi2(resource $fld, string $vcard): array | false {
1020 1020
 	return [];
1021 1021
 }
1022 1022
 
@@ -1027,7 +1027,7 @@  discard block
 block discarded – undo
1027 1027
  * @param array $opts
1028 1028
  * @return string|false
1029 1029
  */
1030
-function mapi_mapitovcf(resource $ses, resource $abk, resource $msg, array $opts): string|false {
1030
+function mapi_mapitovcf(resource $ses, resource $abk, resource $msg, array $opts): string | false {
1031 1031
 	return '';
1032 1032
 }
1033 1033
 
@@ -1069,7 +1069,7 @@  discard block
 block discarded – undo
1069 1069
  * @param string $username
1070 1070
  * @return array|false
1071 1071
  */
1072
-function nsp_getuserinfo(string $username): array|false {
1072
+function nsp_getuserinfo(string $username): array | false {
1073 1073
 	return [];
1074 1074
 }
1075 1075
 
@@ -1087,7 +1087,7 @@  discard block
 block discarded – undo
1087 1087
  * @param string $essdn
1088 1088
  * @return string|false
1089 1089
  */
1090
-function nsp_essdn_to_username(string $essdn): string|false {
1090
+function nsp_essdn_to_username(string $essdn): string | false {
1091 1091
 	return '';
1092 1092
 }
1093 1093
 
@@ -1105,7 +1105,7 @@  discard block
 block discarded – undo
1105 1105
  * @param string $tz
1106 1106
  * @return string|false
1107 1107
  */
1108
-function mapi_ianatz_to_tzdef(string $tz): string|false {
1108
+function mapi_ianatz_to_tzdef(string $tz): string | false {
1109 1109
 	return '';
1110 1110
 }
1111 1111
 
Please login to merge, or discard this patch.