@@ -84,14 +84,14 @@ |
||
84 | 84 | * @var string Server base URL |
85 | 85 | */ |
86 | 86 | private $baseurl, /** |
87 | - * @var string Username |
|
88 | - */ |
|
87 | + * @var string Username |
|
88 | + */ |
|
89 | 89 | private $user, /** |
90 | - * @var string Password |
|
91 | - */ |
|
90 | + * @var string Password |
|
91 | + */ |
|
92 | 92 | private $pass, /** |
93 | - * @var bool Allow self signed certs |
|
94 | - */ |
|
93 | + * @var bool Allow self signed certs |
|
94 | + */ |
|
95 | 95 | private $allowSelfSignedCerts = false |
96 | 96 | ) { |
97 | 97 | // check if curl is available |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | if ($data === CHANGE_PASSPHRASE_SUCCESS) { |
62 | 62 | // Reset cached passphrase. |
63 | 63 | $encryptionStore = EncryptionStore::getInstance(); |
64 | - withPHPSession(function () use ($encryptionStore) { |
|
64 | + withPHPSession(function() use ($encryptionStore) { |
|
65 | 65 | $encryptionStore->add('smime', ''); |
66 | 66 | }); |
67 | 67 | } |
@@ -173,7 +173,7 @@ discard block |
||
173 | 173 | $encryptionStore->add('smime', $data['passphrase'], time() + (5 * 60)); |
174 | 174 | } |
175 | 175 | else { |
176 | - withPHPSession(function () use ($encryptionStore, $data) { |
|
176 | + withPHPSession(function() use ($encryptionStore, $data) { |
|
177 | 177 | $encryptionStore->add('smime', $data['passphrase']); |
178 | 178 | }); |
179 | 179 | } |
@@ -42,11 +42,11 @@ |
||
42 | 42 | * Issuer host name. |
43 | 43 | */ |
44 | 44 | private $Issuer, /** |
45 | - * Full filename of PFX-File (Certificate). |
|
46 | - */ |
|
45 | + * Full filename of PFX-File (Certificate). |
|
46 | + */ |
|
47 | 47 | private $PfxFile, /** |
48 | - * Password for PFX-File (Certificate). |
|
49 | - */ |
|
48 | + * Password for PFX-File (Certificate). |
|
49 | + */ |
|
50 | 50 | private $PfxPassword |
51 | 51 | ) { |
52 | 52 | $this->loadCertificateFromPfx(); |
@@ -83,7 +83,7 @@ |
||
83 | 83 | catch (MAPIException $e) { |
84 | 84 | $this->sendFeedback(false, $this->errorDetailsFromException($e)); |
85 | 85 | } |
86 | - catch (AccountException|BackendException $e) { |
|
86 | + catch (AccountException | BackendException $e) { |
|
87 | 87 | $this->sendFeedback(false, [ |
88 | 88 | 'type' => ERROR_GENERAL, |
89 | 89 | 'info' => [ |
@@ -2074,9 +2074,9 @@ discard block |
||
2074 | 2074 | $messageProps = []; |
2075 | 2075 | // It stores the values that is exception allowed or not false -> not allowed |
2076 | 2076 | $isExceptionAllowed = true; |
2077 | - $delete = $actionType == 'delete'; // Flag for MeetingRequest Class whether to send update or cancel mail. |
|
2078 | - $basedate = false; // Flag for MeetingRequest Class whether to send an exception or not. |
|
2079 | - $isReminderTimeAllowed = true; // Flag to check reminder minutes is in range of the occurrences |
|
2077 | + $delete = $actionType == 'delete'; // Flag for MeetingRequest Class whether to send update or cancel mail. |
|
2078 | + $basedate = false; // Flag for MeetingRequest Class whether to send an exception or not. |
|
2079 | + $isReminderTimeAllowed = true; // Flag to check reminder minutes is in range of the occurrences |
|
2080 | 2080 | $properties = $GLOBALS['properties']->getAppointmentProperties(); |
2081 | 2081 | $send = false; |
2082 | 2082 | $oldProps = []; |
@@ -3067,7 +3067,7 @@ discard block |
||
3067 | 3067 | * convert flags of PR_MESSAGE_FLAGS property to flags that is |
3068 | 3068 | * used in mapi_message_setreadflag. |
3069 | 3069 | */ |
3070 | - $flag = MAPI_DEFERRED_ERRORS; // set unread flag, read receipt will be sent |
|
3070 | + $flag = MAPI_DEFERRED_ERRORS; // set unread flag, read receipt will be sent |
|
3071 | 3071 | |
3072 | 3072 | if (($flags & MSGFLAG_RN_PENDING) && isset($msg_action['send_read_receipt']) && $msg_action['send_read_receipt'] == false) { |
3073 | 3073 | $flag |= SUPPRESS_RECEIPT; |
@@ -4000,8 +4000,7 @@ discard block |
||
4000 | 4000 | $eidObj = $GLOBALS['entryid']->createABEntryIdObj($distlistEntryid); |
4001 | 4001 | $isMuidGuid = !$GLOBALS['entryid']->hasNoMuid('', $eidObj); |
4002 | 4002 | $extidObj = $isMuidGuid ? |
4003 | - $GLOBALS['entryid']->createMessageEntryIdObj($eidObj['extid']) : |
|
4004 | - $GLOBALS['entryid']->createMessageEntryIdObj($GLOBALS['entryid']->createMessageEntryId($eidObj)); |
|
4003 | + $GLOBALS['entryid']->createMessageEntryIdObj($eidObj['extid']) : $GLOBALS['entryid']->createMessageEntryIdObj($GLOBALS['entryid']->createMessageEntryId($eidObj)); |
|
4005 | 4004 | |
4006 | 4005 | $store = $GLOBALS["mapisession"]->getDefaultMessageStore(); |
4007 | 4006 | $contactFolderId = $this->getPropertiesFromStoreRoot($store, [PR_IPM_CONTACT_ENTRYID]); |