Test Failed
Push — master ( 6ab057...9e2699 )
by
unknown
23:26 queued 12:21
created
server/includes/modules/class.addressbooklistmodule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -850,7 +850,7 @@
 block discarded – undo
850 850
 									],
851 851
 									[
852 852
 										RES_OR,
853
-										$tempRestrictions,     // all group restrictions
853
+										$tempRestrictions, // all group restrictions
854 854
 									],
855 855
 								],
856 856
 							],
Please login to merge, or discard this patch.
server/includes/modules/class.listmodule.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -496,12 +496,12 @@
 block discarded – undo
496 496
 			$data["search_meta"]["searchfolder_entryid"] = $entryid;
497 497
 			$data["search_meta"]["search_store_entryid"] = $action["store_entryid"];
498 498
 			$data["search_meta"]["searchstate"] = $searchState;
499
-			$data["search_meta"]["results"] = $numberOfResults;		// actual number of items that we are sending to client
499
+			$data["search_meta"]["results"] = $numberOfResults; // actual number of items that we are sending to client
500 500
 
501 501
 			$data["page"] = [];
502 502
 			$data["page"]["start"] = 0;
503 503
 			$data["page"]["rowcount"] = $rowCount;
504
-			$data["page"]["totalrowcount"] = $totalRowCount;	// total number of items
504
+			$data["page"]["totalrowcount"] = $totalRowCount; // total number of items
505 505
 
506 506
 			if (!empty($listData)) {
507 507
 				$data["item"] = array_merge([], $listData);
Please login to merge, or discard this patch.
server/includes/modules/class.delegatesmodule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -575,7 +575,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
server/includes/modules/class.hierarchymodule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -316,7 +316,7 @@
 block discarded – undo
316 316
 									throw new MAPIException(null, MAPI_E_NO_ACCESS);
317 317
 								}
318 318
 
319
-								$noPermissionFolders = array_filter($data['item'][0]['folders']['item'], function ($item) {
319
+								$noPermissionFolders = array_filter($data['item'][0]['folders']['item'], function($item) {
320 320
 									return $item['props']['access'] === 0;
321 321
 								});
322 322
 								if (count($noPermissionFolders) >= $folders) {
Please login to merge, or discard this patch.
server/includes/core/class.theming.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -358,7 +358,7 @@
 block discarded – undo
358 358
 
359 359
 		if ($themeProps['primary-color']) {
360 360
 			if (!$themeProps['primary-color:hover']) {
361
-				list(, , $l) = Colors::rgb2hsl(Colors::colorString2Object($themeProps['primary-color']));
361
+				list(,, $l) = Colors::rgb2hsl(Colors::colorString2Object($themeProps['primary-color']));
362 362
 				if ($l > 20) {
363 363
 					$themeProps['primary-color:hover'] = Colors::darker($themeProps['primary-color'], 10);
364 364
 				}
Please login to merge, or discard this patch.
server/includes/core/class.mapisession.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1074,7 +1074,7 @@  discard block
 block discarded – undo
1074 1074
 						// Postfix display name of every contact folder with respective owner name
1075 1075
 						// it is mandatory to keep display-name different
1076 1076
 						$userStoreProps = mapi_getprops($openedUserStore, [PR_MAILBOX_OWNER_NAME]);
1077
-						for ($i = 0,$len = count($userContactFolders); $i < $len; ++$i) {
1077
+						for ($i = 0, $len = count($userContactFolders); $i < $len; ++$i) {
1078 1078
 							$userContactFolders[$i][PR_DISPLAY_NAME] = $userContactFolders[$i][PR_DISPLAY_NAME] . " - " . $userStoreProps[PR_MAILBOX_OWNER_NAME];
1079 1079
 						}
1080 1080
 
@@ -1098,7 +1098,7 @@  discard block
 block discarded – undo
1098 1098
 
1099 1099
 				// Create the lists of store entryids, folder entryids and folder names to be added
1100 1100
 				// to the profile section
1101
-				for ($i = 0,$len = count($contactFolders); $i < $len; ++$i) {
1101
+				for ($i = 0, $len = count($contactFolders); $i < $len; ++$i) {
1102 1102
 					$contact_store_entryids[] = $contactFolders[$i][PR_STORE_ENTRYID];
1103 1103
 					$contact_folder_entryids[] = $contactFolders[$i][PR_ENTRYID];
1104 1104
 					$contact_folder_names[] = $contactFolders[$i][PR_DISPLAY_NAME];
Please login to merge, or discard this patch.
server/includes/core/constants.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -26,17 +26,17 @@
 block discarded – undo
26 26
 
27 27
 	// used by distribution lists
28 28
 	define("DL_GUID", pack("H*", "C091ADD3519DCF11A4A900AA0047FAA4"));
29
-	define("DL_USER", 0xC3);		//	195
30
-	define("DL_USER2", 0xD3);		//	211
31
-	define("DL_USER3", 0xE3);		//	227
29
+	define("DL_USER", 0xC3); //	195
30
+	define("DL_USER2", 0xD3); //	211
31
+	define("DL_USER3", 0xE3); //	227
32 32
 	/*
33 33
 	 * According to Exchange protocol, type property for oneoff contact
34 34
 	 * will be 0x00.
35 35
 	 */
36
-	define("DL_EXTERNAL_MEMBER", 0x00);		//	0
37
-	define("DL_DIST", 0xB4);		//	180
38
-	define("DL_USER_AB", 0xB5);		//	181
39
-	define("DL_DIST_AB", 0xB6);		//	182
36
+	define("DL_EXTERNAL_MEMBER", 0x00); //	0
37
+	define("DL_DIST", 0xB4); //	180
38
+	define("DL_USER_AB", 0xB5); //	181
39
+	define("DL_DIST_AB", 0xB6); //	182
40 40
 
41 41
 	// @FIXME these needs to be changed in mapitags.php
42 42
 
Please login to merge, or discard this patch.
server/includes/core/class.configcheck.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,8 +23,7 @@
 block discarded – undo
23 23
 
24 24
 		# Replicate value logic from php-src/ext/zlib/zlib.c
25 25
 		$sv = ini_get("zlib.output_compression");
26
-		$sv = strcasecmp($sv, "on") == 0 ? 1 :
27
-			  (strcasecmp($sv, "off") == 0 ? 0 : intval($sv));
26
+		$sv = strcasecmp($sv, "on") == 0 ? 1 : (strcasecmp($sv, "off") == 0 ? 0 : intval($sv));
28 27
 		if ($sv != 0) {
29 28
 			$this->error_config("zlib.output_compression", "off", "With this option enabled, it could occur that XMLHTTP requests will fail");
30 29
 		}
Please login to merge, or discard this patch.
server/includes/core/class.language.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -389,7 +389,7 @@  discard block
 block discarded – undo
389 389
 				if ($data_orig_strs[$i]['length'] > 0) {	// fread does not accept length=0
390 390
 					$length = $data_orig_strs[$i]['length'];
391 391
 					$orig_str = unpack('a' . $length . 'str', fread($fp, $length));
392
-					$translation_data[$i]['msgid'] = $orig_str['str'];	// unpack converts to array :S
392
+					$translation_data[$i]['msgid'] = $orig_str['str']; // unpack converts to array :S
393 393
 
394 394
 					// Find context in the original string
395 395
 					if (strpos($translation_data[$i]['msgid'], "\004") !== false) {
@@ -416,7 +416,7 @@  discard block
 block discarded – undo
416 416
 				if ($data_transl_strs[$i]['length'] > 0) {	// fread does not accept length=0
417 417
 					$length = $data_transl_strs[$i]['length'];
418 418
 					$trans_str = unpack('a' . $length . 'str', fread($fp, $length));
419
-					$translation_data[$i]['msgstr'] = $trans_str['str'];	// unpack converts to array :S
419
+					$translation_data[$i]['msgstr'] = $trans_str['str']; // unpack converts to array :S
420 420
 
421 421
 					// If there are plural forms in the source string,
422 422
 					// then the translated string must contain plural
Please login to merge, or discard this patch.