Passed
Push — master ( d205fb...56c548 )
by
unknown
31:30 queued 16:35
created
server/includes/core/class.indexsqlite.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@
 block discarded – undo
143 143
 		else {
144 144
 			$first = true;
145 145
 			foreach ($search_patterns as $key => $search_pattern) {
146
-				switch($key) {
146
+				switch ($key) {
147 147
 					case 'message_classes':
148 148
 					case 'date_start':
149 149
 					case 'date_end':
Please login to merge, or discard this patch.
server/includes/core/class.mapisession.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -178,13 +178,13 @@  discard block
 block discarded – undo
178 178
 			$user = $this->getUser($store_props[PR_USER_ENTRYID]);
179 179
 
180 180
 			// receive userdata
181
-			$user_props = [ PR_ASSISTANT, PR_ASSISTANT_TELEPHONE_NUMBER, PR_BUSINESS2_TELEPHONE_NUMBER, PR_BUSINESS_TELEPHONE_NUMBER,
181
+			$user_props = [PR_ASSISTANT, PR_ASSISTANT_TELEPHONE_NUMBER, PR_BUSINESS2_TELEPHONE_NUMBER, PR_BUSINESS_TELEPHONE_NUMBER,
182 182
 				PR_COMPANY_NAME, PR_COUNTRY, PR_DEPARTMENT_NAME, PR_DISPLAY_NAME,
183 183
 				PR_EMAIL_ADDRESS, PR_EMS_AB_THUMBNAIL_PHOTO, PR_GIVEN_NAME, PR_HOME2_TELEPHONE_NUMBER,
184 184
 				PR_STREET_ADDRESS, PR_HOME_TELEPHONE_NUMBER, PR_INITIALS, PR_LOCALITY,
185 185
 				PR_MOBILE_TELEPHONE_NUMBER, PR_OFFICE_LOCATION, PR_PAGER_TELEPHONE_NUMBER, PR_POSTAL_CODE,
186 186
 				PR_PRIMARY_FAX_NUMBER, PR_PRIMARY_TELEPHONE_NUMBER, PR_SEARCH_KEY, PR_SMTP_ADDRESS,
187
-				PR_STATE_OR_PROVINCE, PR_SURNAME, PR_TITLE ];
187
+				PR_STATE_OR_PROVINCE, PR_SURNAME, PR_TITLE];
188 188
 
189 189
 			$user_props = mapi_getprops($user, $user_props);
190 190
 
@@ -1094,7 +1094,7 @@  discard block
 block discarded – undo
1094 1094
 					// Postfix display name of every contact folder with respective owner name
1095 1095
 					// it is mandatory to keep display-name different
1096 1096
 					$userStoreProps = mapi_getprops($openedUserStore, [PR_MAILBOX_OWNER_NAME]);
1097
-					for ($i = 0,$len = count($userContactFolders); $i < $len; ++$i) {
1097
+					for ($i = 0, $len = count($userContactFolders); $i < $len; ++$i) {
1098 1098
 						$userContactFolders[$i][PR_DISPLAY_NAME] = $userContactFolders[$i][PR_DISPLAY_NAME] . " - " . $userStoreProps[PR_MAILBOX_OWNER_NAME];
1099 1099
 					}
1100 1100
 
Please login to merge, or discard this patch.
server/includes/modules/class.addressbooklistmodule.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -354,8 +354,7 @@  discard block
 block discarded – undo
354 354
 				function sorter($direction, $key) {
355 355
 					return function($a, $b) use ($direction, $key) {
356 356
 						return $direction == 'ASC' ?
357
-							strcasecmp($a['props'][$key] ?? '', $b['props'][$key] ?? '') :
358
-							strcasecmp($b['props'][$key] ?? '', $a['props'][$key] ?? '');
357
+							strcasecmp($a['props'][$key] ?? '', $b['props'][$key] ?? '') : strcasecmp($b['props'][$key] ?? '', $a['props'][$key] ?? '');
359 358
 					};
360 359
 				}
361 360
 				usort($items, sorter($sortingDir, $sortingField));
@@ -760,7 +759,7 @@  discard block
 block discarded – undo
760 759
 								],
761 760
 								[
762 761
 									RES_OR,
763
-									$tempRestrictions,     // all group restrictions
762
+									$tempRestrictions, // all group restrictions
764 763
 								],
765 764
 							],
766 765
 						],
Please login to merge, or discard this patch.