Test Failed
Branch master (0ea1c2)
by Mike
31:02 queued 10:14
created
plugins/files/php/Files/Backend/Webdav/class.backend.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -942,7 +942,7 @@
 block discarded – undo
942 942
                 'fields' => $this->formFields,
943 943
                 'formConfig' => $this->formConfig,
944 944
             ],
945
-            'data' => [ // here we can specify the default values.
945
+            'data' => [// here we can specify the default values.
946 946
                 'server_address' => 'files.demo.com',
947 947
                 'server_port' => '80',
948 948
                 'server_path' => '/remote.php/webdav',
Please login to merge, or discard this patch.
plugins/filesbackendOwncloud/php/class.backend.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -452,7 +452,7 @@
 block discarded – undo
452 452
                 'fields' => $this->formFields,
453 453
                 'formConfig' => $this->formConfig,
454 454
             ],
455
-            'data' => [ // here we can specify the default values.
455
+            'data' => [// here we can specify the default values.
456 456
                 'server_address' => $_SERVER['HTTP_HOST'],
457 457
                 'server_ssl' => true,
458 458
                 'server_port' => '443',
Please login to merge, or discard this patch.
plugins/smime/php/lib/Nemid.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -420,8 +420,8 @@
 block discarded – undo
420 420
 
421 421
     private function certificateAsPem($cert) {
422 422
         return "-----BEGIN CERTIFICATE-----\n"
423
-               . chunk_split(base64_encode($cert['certificate_der']))
424
-               . '-----END CERTIFICATE-----';
423
+                . chunk_split(base64_encode($cert['certificate_der']))
424
+                . '-----END CERTIFICATE-----';
425 425
     }
426 426
 }
427 427
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -446,7 +446,7 @@
 block discarded – undo
446 446
 
447 447
     public static function my_rsa_sha_encode($data, $key_id, $signagure_alg) {
448 448
         $algos = [
449
-            'sha1WithRSAEncryption' => ['alg' => 'sha1',   'oid' => '1.3.14.3.2.26'],
449
+            'sha1WithRSAEncryption' => ['alg' => 'sha1', 'oid' => '1.3.14.3.2.26'],
450 450
             'sha256WithRSAEncryption' => ['alg' => 'sha256', 'oid' => '2.16.840.1.101.3.4.2.1'],
451 451
             'sha384WithRSAEncryption' => ['alg' => 'sha384', 'oid' => '2.16.840.1.101.3.4.2.2'],
452 452
             'sha512WithRSAEncryption' => ['alg' => 'sha512', 'oid' => '2.16.840.1.101.3.4.2.3'],
Please login to merge, or discard this patch.
plugins/smime/php/lib/Der.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -190,7 +190,7 @@
 block discarded – undo
190 190
     }
191 191
 
192 192
     protected function name($tag = null) {
193
-        $this->beginsequence($tag);  # seq of RDN
193
+        $this->beginsequence($tag); # seq of RDN
194 194
         $res = [];
195 195
         while ($this->in()) {
196 196
             $parts = [];
Please login to merge, or discard this patch.
plugins/smime/php/class.pluginsmimemodule.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
                             if (CHANGE_PASSPHRASE_SUCCESS === $data) {
59 59
                                 // Reset cached passphrase.
60 60
                                 $encryptionStore = EncryptionStore::getInstance();
61
-                                withPHPSession(function () use ($encryptionStore) {
61
+                                withPHPSession(function() use ($encryptionStore) {
62 62
                                     $encryptionStore->add('smime', '');
63 63
                                 });
64 64
                             }
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
             if (encryptionStoreExpirationSupport()) {
169 169
                 $encryptionStore->add('smime', $data['passphrase'], time() + (5 * 60));
170 170
             } else {
171
-                withPHPSession(function () use ($encryptionStore, $data) {
171
+                withPHPSession(function() use ($encryptionStore, $data) {
172 172
                     $encryptionStore->add('smime', $data['passphrase']);
173 173
                 });
174 174
             }
Please login to merge, or discard this patch.
plugins/smime/php/plugin.smime.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -452,7 +452,7 @@
 block discarded – undo
452 452
         }
453 453
 
454 454
         if (!encryptionStoreExpirationSupport()) {
455
-            withPHPSession(function () use ($encryptionStore) {
455
+            withPHPSession(function() use ($encryptionStore) {
456 456
                 $encryptionStore->add('smime', '');
457 457
             });
458 458
         }
Please login to merge, or discard this patch.
plugins/smime/php/class.certificate.php 1 patch
Switch Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -34,14 +34,14 @@
 block discarded – undo
34 34
         }
35 35
 
36 36
         switch ($this->status) {
37
-        case 'good':
38
-            return OCSP_CERT_STATUS_GOOD;
37
+            case 'good':
38
+                return OCSP_CERT_STATUS_GOOD;
39 39
 
40
-        case 'revoked':
41
-            return OCSP_CERT_STATUS_REVOKED;
40
+            case 'revoked':
41
+                return OCSP_CERT_STATUS_REVOKED;
42 42
 
43
-        default:
44
-            return OCSP_CERT_STATUS_UNKOWN;
43
+            default:
44
+                return OCSP_CERT_STATUS_UNKOWN;
45 45
         }
46 46
     }
47 47
 }
Please login to merge, or discard this patch.
server/includes/modules/class.advancedsearchlistmodule.php 1 patch
Switch Indentation   +34 added lines, -34 removed lines patch added patch discarded remove patch
@@ -215,18 +215,18 @@  discard block
 block discarded – undo
215 215
                 $errorInfo = [];
216 216
 
217 217
                 switch (mapi_last_hresult()) {
218
-                case MAPI_E_NO_ACCESS:
219
-                    $errorInfo['error_message'] = _('Unable to perform search query, no permissions to create search folder.');
218
+                    case MAPI_E_NO_ACCESS:
219
+                        $errorInfo['error_message'] = _('Unable to perform search query, no permissions to create search folder.');
220 220
 
221
-                    break;
221
+                        break;
222 222
 
223
-                case MAPI_E_NOT_FOUND:
224
-                    $errorInfo['error_message'] = _('Unable to perform search query, search folder not found.');
223
+                    case MAPI_E_NOT_FOUND:
224
+                        $errorInfo['error_message'] = _('Unable to perform search query, search folder not found.');
225 225
 
226
-                    break;
226
+                        break;
227 227
 
228
-                default:
229
-                    $errorInfo['error_message'] = _('Unable to perform search query, store might not support searching.');
228
+                    default:
229
+                        $errorInfo['error_message'] = _('Unable to perform search query, store might not support searching.');
230 230
                 }
231 231
 
232 232
                 $errorInfo['original_error_message'] = _('Error in creating search folder.');
@@ -381,45 +381,45 @@  discard block
 block discarded – undo
381 381
                 $subres = $restriction[1];
382 382
 
383 383
                 switch ($subres[ULPROPTAG]) {
384
-                case PR_SUBJECT:
385
-                    $patterns['subject'] = $subres[VALUE][$subres[ULPROPTAG]];
384
+                    case PR_SUBJECT:
385
+                        $patterns['subject'] = $subres[VALUE][$subres[ULPROPTAG]];
386 386
 
387
-                    break;
387
+                        break;
388 388
 
389
-                case PR_BODY:
390
-                    $patterns['content'] = $subres[VALUE][$subres[ULPROPTAG]];
391
-                    $patterns['attachments'] = $subres[VALUE][$subres[ULPROPTAG]];
389
+                    case PR_BODY:
390
+                        $patterns['content'] = $subres[VALUE][$subres[ULPROPTAG]];
391
+                        $patterns['attachments'] = $subres[VALUE][$subres[ULPROPTAG]];
392 392
 
393
-                    break;
393
+                        break;
394 394
 
395
-                case PR_SENDER_NAME:
396
-                    $patterns['sender'] = $subres[VALUE][$subres[ULPROPTAG]];
395
+                    case PR_SENDER_NAME:
396
+                        $patterns['sender'] = $subres[VALUE][$subres[ULPROPTAG]];
397 397
 
398
-                    break;
398
+                        break;
399 399
 
400
-                case PR_SENT_REPRESENTING_NAME:
401
-                    $patterns['from'] = $subres[VALUE][$subres[ULPROPTAG]];
400
+                    case PR_SENT_REPRESENTING_NAME:
401
+                        $patterns['from'] = $subres[VALUE][$subres[ULPROPTAG]];
402 402
 
403
-                    break;
403
+                        break;
404 404
 
405
-                case PR_DISPLAY_TO:
406
-                case PR_DISPLAY_CC:
407
-                    $patterns['recipients'] = $subres[VALUE][$subres[ULPROPTAG]];
405
+                    case PR_DISPLAY_TO:
406
+                    case PR_DISPLAY_CC:
407
+                        $patterns['recipients'] = $subres[VALUE][$subres[ULPROPTAG]];
408 408
 
409
-                    break;
409
+                        break;
410 410
 
411
-                case PR_MESSAGE_CLASS:
412
-                    if (empty($patterns['message_classes'])) {
413
-                        $patterns['message_classes'] = [];
414
-                    }
415
-                    $patterns['message_classes'][] = $subres[VALUE][$subres[ULPROPTAG]];
411
+                    case PR_MESSAGE_CLASS:
412
+                        if (empty($patterns['message_classes'])) {
413
+                            $patterns['message_classes'] = [];
414
+                        }
415
+                        $patterns['message_classes'][] = $subres[VALUE][$subres[ULPROPTAG]];
416 416
 
417
-                    break;
417
+                        break;
418 418
 
419
-                case PR_DISPLAY_NAME:
420
-                    $patterns['others'] = $subres[VALUE][$subres[ULPROPTAG]];
419
+                    case PR_DISPLAY_NAME:
420
+                        $patterns['others'] = $subres[VALUE][$subres[ULPROPTAG]];
421 421
 
422
-                    break;
422
+                        break;
423 423
                 }
424 424
             } elseif (RES_AND == $type || RES_OR == $type) {
425 425
                 foreach ($restriction[1] as $subres) {
Please login to merge, or discard this patch.
server/includes/modules/class.contactitemmodule.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
          * @return bool true on success or false on failure
108 108
          */
109 109
         public function save($store, $parententryid, $entryid, $action) {
110
-            $properiesToDelete = [];		// create an array of properties which should be deleted
110
+            $properiesToDelete = []; // create an array of properties which should be deleted
111 111
             // this array is passed to $GLOBALS['operations']->saveMessage() function
112 112
 
113 113
             if (!$store && !$parententryid) {
@@ -439,7 +439,7 @@  discard block
 block discarded – undo
439 439
 
440 440
             // UTC time
441 441
             $startDateUTC = $actionProps[$type];
442
-            $dueDateUTC = $actionProps[$type] + (24 * 60 * 60);	// ONE DAY is added to set duedate of item.
442
+            $dueDateUTC = $actionProps[$type] + (24 * 60 * 60); // ONE DAY is added to set duedate of item.
443 443
 
444 444
             // get local time from UTC time
445 445
             $recur = new Recurrence($store, []);
Please login to merge, or discard this patch.