Passed
Push — master ( 2fc2c9...83b4cf )
by Tomasz
07:48
created
config/ConfAssistant-template.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -157,11 +157,11 @@
 block discarded – undo
157 157
     ];
158 158
     
159 159
             /**
160
-     * Lists the RADIUS servers. They have a built-in DB to log auth requests.
161
-     * We need to query those to get auth stats for silverbullet admins
162
-     *
163
-     * @var array
164
-     */
160
+             * Lists the RADIUS servers. They have a built-in DB to log auth requests.
161
+             * We need to query those to get auth stats for silverbullet admins
162
+             *
163
+             * @var array
164
+             */
165 165
     const DB = [
166 166
         // names don't matter - the source code will iterate through
167 167
         // all entries
Please login to merge, or discard this patch.
core/diag/RADIUSTestsUI.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
             if ($this->allReachabilityResults['realm'][0]->realm) {
126 126
                 $this->realm = $this->allReachabilityResults['realm'][0]->realm;
127 127
                 foreach ($this->allReachabilityResults['realm'][0]->totest as $totest) {
128
-                  $this->hostMap[$totest->host] = $totest->bracketaddr;
128
+                    $this->hostMap[$totest->host] = $totest->bracketaddr;
129 129
                 }
130 130
                 $this->rfc7585suite = unserialize($this->allReachabilityResults['realm'][0]->rfc7585suite);
131 131
                 $this->srv = $this->allReachabilityResults['realm'][0]->srv;
@@ -460,7 +460,7 @@  discard block
 block discarded – undo
460 460
                                     } else {
461 461
                                         if (property_exists($certificate, 'reason') && $certificate->reason == \core\diag\RADIUSTests::CERTPROB_UNKNOWN_CA) {
462 462
                                             $add = '<br>' . _('You should update your list of accredited CAs') .
463
-                                                           ' <a href=\"' . \config\Diagnostics::RADIUSTESTS['accreditedCAsURL'] . '\">' .
463
+                                                            ' <a href=\"' . \config\Diagnostics::RADIUSTESTS['accreditedCAsURL'] . '\">' .
464 464
                                                             _('Get it from here.') . '</a>';
465 465
                                         }
466 466
                                         $state = _('Server did not accept this client certificate - reason') . ': ' .
@@ -471,8 +471,8 @@  discard block
 block discarded – undo
471 471
                                         $level = \core\common\Entity::L_WARN;
472 472
                                         $state = _('Server accepted this client certificate, but should not have');
473 473
                                     } else {
474
-                                       $level = \core\common\Entity::L_OK;
475
-                                       $state = _('Server did not accept this client certificate') . ': ' . $certificate->resultcomment;
474
+                                        $level = \core\common\Entity::L_OK;
475
+                                        $state = _('Server did not accept this client certificate') . ': ' . $certificate->resultcomment;
476 476
                                     }
477 477
                                 }
478 478
                                 $cliinfo .= '<li><table><tbody><tr><td class="icon_td"><img class="icon" src="' . $this->stateIcons[$level] . '" style="width: 24px;"></td><td>' . $state;
@@ -489,7 +489,7 @@  discard block
 block discarded – undo
489 489
                         if ($srefused > 0) {
490 490
                             $cliinfo = _('Connection refused');
491 491
                             $clientstest[] = "<table><tr><td class='icon_td' id='srcclient$hostindex_img'><img src='" . $this->stateIcons[\core\common\Entity::L_ERROR] . "'></td>" .
492
-                                     "<td id='srcclient$hostname'><p>$cliinfo</p></td></tr></table>";
492
+                                        "<td id='srcclient$hostname'><p>$cliinfo</p></td></tr></table>";
493 493
                         } else {
494 494
                             $clientstest[] = "<p>$cliinfo</p>";
495 495
                         }
Please login to merge, or discard this patch.