Passed
Pull Request — master (#50)
by
unknown
04:34
created
server/includes/templates/login.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
 			<?php include '/etc/grommunio-web/disclaimer.html'; ?>
98 98
 		</div>
99 99
 		<?php }
100
-		elseif (file_exists('disclaimer.html')) { ?>
100
+elseif (file_exists('disclaimer.html')) { ?>
101 101
 		<div class="disclaimer">
102 102
 			<?php include 'disclaimer.html'; ?>
103 103
 		</div>
Please login to merge, or discard this patch.
plugins/kendox/php/kendox-client/class.kendox-token-generator.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -42,11 +42,11 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
plugins/filesbackendDefault/php/lib/ocsapi/class.ocsclient.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -84,14 +84,14 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
plugins/filesbackendSeafile/php/lib/seafapi/SeafileApi.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -96,11 +96,11 @@
 block discarded – undo
96 96
 	 * @var string Server base URL
97 97
 	 */
98 98
 		private readonly string $baseurl, /**
99
-	 * @var string Username
100
-	 */
99
+		 * @var string Username
100
+		 */
101 101
 		private string $user, /**
102
-	 * @var string Password
103
-	 */
102
+		 * @var string Password
103
+		 */
104 104
 		private readonly string $pass,
105 105
 		?string $otp = null
106 106
 	) {
Please login to merge, or discard this patch.
server/includes/modules/class.advancedsearchlistmodule.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -298,7 +298,8 @@  discard block
 block discarded – undo
298 298
 							];
299 299
 						}
300 300
 					}
301
-				} else {
301
+				}
302
+				else {
302 303
 					$terms[] = [
303 304
 						'type' => 'term',
304 305
 						'fields' => $fields,
@@ -329,7 +330,8 @@  discard block
 block discarded – undo
329 330
 					if ($value !== null) {
330 331
 						if ($subres[RELOP] == RELOP_LT || $subres[RELOP] == RELOP_LE) {
331 332
 							$filters['date_end'] = $value;
332
-						} elseif ($subres[RELOP] == RELOP_GT || $subres[RELOP] == RELOP_GE) {
333
+						}
334
+						elseif ($subres[RELOP] == RELOP_GT || $subres[RELOP] == RELOP_GE) {
333 335
 							$filters['date_start'] = $value;
334 336
 						}
335 337
 					}
Please login to merge, or discard this patch.
server/includes/upload_attachment.php 2 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -648,16 +648,16 @@
 block discarded – undo
648 648
 			// Manually set PR_MESSAGE_DELIVERY_TIME to sent time, since mapi_inetmapi_imtomapi does not set delivery-time
649 649
 			// Either use PR_CLIENT_SUBMIT_TIME or extract date from EML and set PR_MESSAGE_DELIVERY_TIME
650 650
 	 		$props = mapi_getprops($newMessage, [PR_CLIENT_SUBMIT_TIME, PR_MESSAGE_DELIVERY_TIME]);
651
-                        if (empty($props[PR_MESSAGE_DELIVERY_TIME])) {
651
+						if (empty($props[PR_MESSAGE_DELIVERY_TIME])) {
652 652
 				if (!empty($props[PR_CLIENT_SUBMIT_TIME]))
653
-                                	mapi_setprops($newMessage, [PR_MESSAGE_DELIVERY_TIME => $props[PR_CLIENT_SUBMIT_TIME]]);
653
+									mapi_setprops($newMessage, [PR_MESSAGE_DELIVERY_TIME => $props[PR_CLIENT_SUBMIT_TIME]]);
654 654
 				else {
655 655
 					if (preg_match('/^Date:\s*(.+)$/mi', $attachmentStream, $matches)) {
656
-                				$deliverytime = strtotime(trim($matches[1]));
657
-                				if ($deliverytime) 
656
+								$deliverytime = strtotime(trim($matches[1]));
657
+								if ($deliverytime) 
658 658
 							mapi_setprops($newMessage, [PR_MESSAGE_DELIVERY_TIME => $deliverytime]);
659 659
         
660
-        				}
660
+						}
661 661
 				}
662 662
 				mapi_message_savechanges($newMessage);
663 663
 			}
Please login to merge, or discard this patch.
Braces   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -649,13 +649,15 @@
 block discarded – undo
649 649
 			// Either use PR_CLIENT_SUBMIT_TIME or extract date from EML and set PR_MESSAGE_DELIVERY_TIME
650 650
 	 		$props = mapi_getprops($newMessage, [PR_CLIENT_SUBMIT_TIME, PR_MESSAGE_DELIVERY_TIME]);
651 651
                         if (empty($props[PR_MESSAGE_DELIVERY_TIME])) {
652
-				if (!empty($props[PR_CLIENT_SUBMIT_TIME]))
653
-                                	mapi_setprops($newMessage, [PR_MESSAGE_DELIVERY_TIME => $props[PR_CLIENT_SUBMIT_TIME]]);
652
+				if (!empty($props[PR_CLIENT_SUBMIT_TIME])) {
653
+				                                	mapi_setprops($newMessage, [PR_MESSAGE_DELIVERY_TIME => $props[PR_CLIENT_SUBMIT_TIME]]);
654
+				}
654 655
 				else {
655 656
 					if (preg_match('/^Date:\s*(.+)$/mi', $attachmentStream, $matches)) {
656 657
                 				$deliverytime = strtotime(trim($matches[1]));
657
-                				if ($deliverytime) 
658
-							mapi_setprops($newMessage, [PR_MESSAGE_DELIVERY_TIME => $deliverytime]);
658
+                				if ($deliverytime) {
659
+                											mapi_setprops($newMessage, [PR_MESSAGE_DELIVERY_TIME => $deliverytime]);
660
+                				}
659 661
         
660 662
         				}
661 663
 				}
Please login to merge, or discard this patch.