Passed
Push — master ( 52e05d...6f0859 )
by
unknown
08:31 queued 03:15
created
plugins/smime/php/class.pluginsmimemodule.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 			}
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/files/php/class.filesaccountmodule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
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' => [
Please login to merge, or discard this patch.
server/includes/core/class.operations.php 1 patch
Spacing   +5 added lines, -6 removed lines patch added patch discarded remove patch
@@ -2074,9 +2074,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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]);
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/Model/Config.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -111,8 +111,7 @@
 block discarded – undo
111 111
 		foreach (self::SCHEMA as $name => $definition) {
112 112
 			$result[$name] =
113 113
 				array_key_exists($name, $config) ?
114
-					$config[$name] :
115
-					$this->config[$name] ?? $definition['options']['default'] ?? null;
114
+					$config[$name] : $this->config[$name] ?? $definition['options']['default'] ?? null;
116 115
 		}
117 116
 		$filtered = filter_var_array($result, self::SCHEMA);
118 117
 
Please login to merge, or discard this patch.
plugins/filesbackendSeafile/php/Model/SsoBackend.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 	 *
19 19
 	 * @psalm-param-out SsoBackend $self
20 20
 	 */
21
-	public static function bind(?SsoBackend &$self = null): SsoBackend {
21
+	public static function bind(?SsoBackend & $self = null): SsoBackend {
22 22
 		if ($self === null) {
23 23
 			$self = new self();
24 24
 		}
Please login to merge, or discard this patch.
plugins/filesbackendSeafile/php/lib/seafapi/SeafileApi.php 2 patches
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.
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -63,17 +63,17 @@
 block discarded – undo
63 63
 	 *
64 64
 	 * @see jsonDecode
65 65
 	 */
66
-	private const JSON_DECODE_ACCEPT_MASK = 31;                         # 1 1111 accept bitmask (five bits with the msb flags)
67
-	private const JSON_DECODE_ACCEPT_JSON = 16;                         # 1 0000 JSON text
68
-	private const JSON_DECODE_ACCEPT_DEFAULT = 23;                      # 1 0111 default: string, array or object
69
-	private const JSON_DECODE_ACCEPT_OBJECT = 17;                       # 1 0001 object
70
-	private const JSON_DECODE_ACCEPT_ARRAY = 18;                        # 1 0010 array
71
-	private const JSON_DECODE_ACCEPT_STRING = 20;                       # 1 0100 string
72
-	private const JSON_DECODE_ACCEPT_ARRAY_OF_OBJECTS = 24;             # 1 1000 array with only objects (incl. none)
73
-	private const JSON_DECODE_ACCEPT_ARRAY_SINGLE_OBJECT = 25;          # 1 1001 array with one single object, return that item
66
+	private const JSON_DECODE_ACCEPT_MASK = 31; # 1 1111 accept bitmask (five bits with the msb flags)
67
+	private const JSON_DECODE_ACCEPT_JSON = 16; # 1 0000 JSON text
68
+	private const JSON_DECODE_ACCEPT_DEFAULT = 23; # 1 0111 default: string, array or object
69
+	private const JSON_DECODE_ACCEPT_OBJECT = 17; # 1 0001 object
70
+	private const JSON_DECODE_ACCEPT_ARRAY = 18; # 1 0010 array
71
+	private const JSON_DECODE_ACCEPT_STRING = 20; # 1 0100 string
72
+	private const JSON_DECODE_ACCEPT_ARRAY_OF_OBJECTS = 24; # 1 1000 array with only objects (incl. none)
73
+	private const JSON_DECODE_ACCEPT_ARRAY_SINGLE_OBJECT = 25; # 1 1001 array with one single object, return that item
74 74
 	private const JSON_DECODE_ACCEPT_ARRAY_SINGLE_OBJECT_NULLABLE = 26; # 1 1010 array with one single object, return that item, or empty array, return null
75
-	private const JSON_DECODE_ACCEPT_SUCCESS_STRING = 28;               # 1 1100 string "success"
76
-	private const JSON_DECODE_ACCEPT_SUCCESS_OBJECT = 29;               # 1 1101 object with single "success" property and value true
75
+	private const JSON_DECODE_ACCEPT_SUCCESS_STRING = 28; # 1 1100 string "success"
76
+	private const JSON_DECODE_ACCEPT_SUCCESS_OBJECT = 29; # 1 1101 object with single "success" property and value true
77 77
 
78 78
 	/**
79 79
 	 * @const string ASCII upper-case characters part of a hexit
Please login to merge, or discard this patch.
plugins/filesbackendSeafile/php/lib/seafapi/autoload.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 }
10 10
 
11 11
 \spl_autoload_register(
12
-	static function ($className) {
12
+	static function($className) {
13 13
 		$namespacePrefix = __NAMESPACE__ . '\\';
14 14
 		$basePath = __DIR__ . '/';
15 15
 		if (!str_starts_with($className, $namespacePrefix)) {
Please login to merge, or discard this patch.