@@ -203,7 +203,7 @@ discard block |
||
| 203 | 203 | elseif ($type == RES_BITMASK) { |
| 204 | 204 | $subres = $restriction[1]; |
| 205 | 205 | if ($subres[ULPROPTAG] == PR_MESSAGE_FLAGS && $subres[ULTYPE] == BMR_EQZ) { |
| 206 | - if (MSGFLAG_READ & $subres[ULMASK]) { |
|
| 206 | + if (MSGFLAG_READ&$subres[ULMASK]) { |
|
| 207 | 207 | $patterns['unread'] = true; |
| 208 | 208 | } |
| 209 | 209 | } |
@@ -343,7 +343,7 @@ discard block |
||
| 343 | 343 | } |
| 344 | 344 | } |
| 345 | 345 | // we never start the search folder because we will populate the search folder by ourselves |
| 346 | - mapi_folder_setsearchcriteria($searchFolder, $this->restriction, $entryids, $subfolder_flag | STOP_SEARCH); |
|
| 346 | + mapi_folder_setsearchcriteria($searchFolder, $this->restriction, $entryids, $subfolder_flag|STOP_SEARCH); |
|
| 347 | 347 | $this->sessionData['searchCriteriaCheck'] = $restrictionCheck; |
| 348 | 348 | } |
| 349 | 349 | |
@@ -352,7 +352,7 @@ discard block |
||
| 352 | 352 | if ($this->sessionData['searchOriginalEntryids'][0] !== $folderEntryid) { |
| 353 | 353 | $this->sessionData['searchOriginalEntryids'][0] = $folderEntryid; |
| 354 | 354 | // we never start the search folder because we will populate the search folder by ourselves |
| 355 | - mapi_folder_setsearchcriteria($searchFolder, $this->restriction, [$entryid], $subfolder_flag | STOP_SEARCH); |
|
| 355 | + mapi_folder_setsearchcriteria($searchFolder, $this->restriction, [$entryid], $subfolder_flag|STOP_SEARCH); |
|
| 356 | 356 | } |
| 357 | 357 | } |
| 358 | 358 | |
@@ -325,7 +325,7 @@ discard block |
||
| 325 | 325 | // get delegate meeting rule |
| 326 | 326 | $restriction = [RES_CONTENT, |
| 327 | 327 | [ |
| 328 | - FUZZYLEVEL => FL_FULLSTRING | FL_IGNORECASE, |
|
| 328 | + FUZZYLEVEL => FL_FULLSTRING|FL_IGNORECASE, |
|
| 329 | 329 | ULPROPTAG => PR_RULE_PROVIDER, |
| 330 | 330 | VALUE => [ |
| 331 | 331 | PR_RULE_PROVIDER => 'Schedule+ EMS Interface', |
@@ -445,7 +445,7 @@ discard block |
||
| 445 | 445 | 'type' => ACCESS_TYPE_GRANT, |
| 446 | 446 | 'userid' => hex2bin($delegate['entryid']), |
| 447 | 447 | 'rights' => $delegate['props']['rights_' . $folderName], |
| 448 | - 'state' => RIGHT_NEW | RIGHT_AUTOUPDATE_DENIED, |
|
| 448 | + 'state' => RIGHT_NEW|RIGHT_AUTOUPDATE_DENIED, |
|
| 449 | 449 | ], |
| 450 | 450 | ]; |
| 451 | 451 | |
@@ -575,7 +575,7 @@ discard block |
||
| 575 | 575 | ]; |
| 576 | 576 | |
| 577 | 577 | $rule[PR_RULE_NAME] = ''; |
| 578 | - $rule[PR_RULE_PROVIDER_DATA] = ''; // 0 byte binary string |
|
| 578 | + $rule[PR_RULE_PROVIDER_DATA] = ''; // 0 byte binary string |
|
| 579 | 579 | $rule[PR_RULE_STATE] = ST_ENABLED; |
| 580 | 580 | $rule[PR_RULE_LEVEL] = 0; |
| 581 | 581 | $rule[PR_RULE_SEQUENCE] = 0; |
@@ -700,7 +700,7 @@ discard block |
||
| 700 | 700 | 'type' => ACCESS_TYPE_GRANT, |
| 701 | 701 | 'userid' => hex2bin($delegate['entryid']), |
| 702 | 702 | 'rights' => ecRightsNone, |
| 703 | - 'state' => RIGHT_DELETED | RIGHT_AUTOUPDATE_DENIED, |
|
| 703 | + 'state' => RIGHT_DELETED|RIGHT_AUTOUPDATE_DENIED, |
|
| 704 | 704 | ], |
| 705 | 705 | ]; |
| 706 | 706 | |
@@ -242,7 +242,7 @@ discard block |
||
| 242 | 242 | $abHierarchyRows = mapi_table_queryallrows($hierarchyTable, [PR_AB_PROVIDER_ID, PR_ENTRYID]); |
| 243 | 243 | |
| 244 | 244 | // Look for the 'Contacts Folders' |
| 245 | - for ($i = 0,$len = count($abHierarchyRows); $i < $len; ++$i) { |
|
| 245 | + for ($i = 0, $len = count($abHierarchyRows); $i < $len; ++$i) { |
|
| 246 | 246 | // Check if the folder matches the Contact Provider GUID |
| 247 | 247 | if ($abHierarchyRows[$i][PR_AB_PROVIDER_ID] == MUIDZCSAB) { |
| 248 | 248 | $abContactContainerEntryid = $abHierarchyRows[$i][PR_ENTRYID]; |
@@ -258,7 +258,7 @@ discard block |
||
| 258 | 258 | $abContactContainerHierarchyRows = mapi_table_queryallrows($abContactContainerHierarchyTable, [PR_DISPLAY_NAME, PR_OBJECT_TYPE, PR_ENTRYID]); |
| 259 | 259 | |
| 260 | 260 | // Loop through all the contact folders found under the 'Contacts Folders' hierarchy |
| 261 | - for ($j = 0,$len = count($abContactContainerHierarchyRows); $j < $len; ++$j) { |
|
| 261 | + for ($j = 0, $len = count($abContactContainerHierarchyRows); $j < $len; ++$j) { |
|
| 262 | 262 | // Open, get contents table, restrict, sort and then merge the result in the list of $rows |
| 263 | 263 | $abContactFolder = mapi_ab_openentry($ab, $abContactContainerHierarchyRows[$j][PR_ENTRYID]); |
| 264 | 264 | $abContactFolderTable = mapi_folder_getcontentstable($abContactFolder, MAPI_DEFERRED_ERRORS); |
@@ -289,14 +289,14 @@ discard block |
||
| 289 | 289 | [ |
| 290 | 290 | [RES_CONTENT, |
| 291 | 291 | [ |
| 292 | - FUZZYLEVEL => FL_PREFIX | FL_IGNORECASE, |
|
| 292 | + FUZZYLEVEL => FL_PREFIX|FL_IGNORECASE, |
|
| 293 | 293 | ULPROPTAG => PR_DISPLAY_NAME, |
| 294 | 294 | VALUE => $query, |
| 295 | 295 | ], |
| 296 | 296 | ], |
| 297 | 297 | [RES_CONTENT, |
| 298 | 298 | [ |
| 299 | - FUZZYLEVEL => FL_PREFIX | FL_IGNORECASE, |
|
| 299 | + FUZZYLEVEL => FL_PREFIX|FL_IGNORECASE, |
|
| 300 | 300 | ULPROPTAG => $content, |
| 301 | 301 | VALUE => $query, |
| 302 | 302 | ], |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | * OBJECT_SAVE, OBJECT_DELETE, TABLE_SAVE, TABLE_DELETE, REQUEST_START and REQUEST_END flags |
| 36 | 36 | */ |
| 37 | 37 | public function getEvents() { |
| 38 | - return OBJECT_SAVE | OBJECT_DELETE | TABLE_SAVE | TABLE_DELETE | REQUEST_START | REQUEST_END; |
|
| 38 | + return OBJECT_SAVE|OBJECT_DELETE|TABLE_SAVE|TABLE_DELETE|REQUEST_START|REQUEST_END; |
|
| 39 | 39 | } |
| 40 | 40 | |
| 41 | 41 | /** |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | * OBJECT_SAVE, OBJECT_DELETE, TABLE_SAVE, TABLE_DELETE, REQUEST_START and REQUEST_END flags |
| 14 | 14 | */ |
| 15 | 15 | public function getEvents() { |
| 16 | - return OBJECT_SAVE | TABLE_SAVE | TABLE_DELETE; |
|
| 16 | + return OBJECT_SAVE|TABLE_SAVE|TABLE_DELETE; |
|
| 17 | 17 | } |
| 18 | 18 | |
| 19 | 19 | /** |
@@ -10,7 +10,7 @@ |
||
| 10 | 10 | * @return Number the event which this module handles |
| 11 | 11 | */ |
| 12 | 12 | public function getEvents() { |
| 13 | - return OBJECT_DELETE | OBJECT_SAVE; |
|
| 13 | + return OBJECT_DELETE|OBJECT_SAVE; |
|
| 14 | 14 | } |
| 15 | 15 | |
| 16 | 16 | /** |
@@ -20,5 +20,5 @@ |
||
| 20 | 20 | |
| 21 | 21 | class Config extends ConfigurationOption |
| 22 | 22 | { |
| 23 | - use IOConfigurationOptionTrait; |
|
| 23 | + use IOConfigurationOptionTrait; |
|
| 24 | 24 | } |
| 25 | 25 | \ No newline at end of file |