Passed
Push — master ( 70cda0...819efa )
by Maja
07:06
created
core/diag/RADIUSTestsUI.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
             if ($this->allReachabilityResults['realm'][0]->realm) {
127 127
                 $this->realm = $this->allReachabilityResults['realm'][0]->realm;
128 128
                 foreach ($this->allReachabilityResults['realm'][0]->totest as $totest) {
129
-                  $this->hostMap[$totest->host] = $totest->bracketaddr;
129
+                    $this->hostMap[$totest->host] = $totest->bracketaddr;
130 130
                 }
131 131
                 $this->rfc7585suite = unserialize($this->allReachabilityResults['realm'][0]->rfc7585suite);
132 132
                 $this->srv = $this->allReachabilityResults['realm'][0]->srv;
@@ -457,7 +457,7 @@  discard block
 block discarded – undo
457 457
                                     } else {
458 458
                                         if (property_exists($certificate, 'reason') && $certificate->reason == \core\diag\RADIUSTests::CERTPROB_UNKNOWN_CA) {
459 459
                                             $add = '<br>'._('You should update your list of accredited CAs') .
460
-                                                           ' <a href=\"'.\config\Diagnostics::RADIUSTESTS['accreditedCAsURL'].'\">' .
460
+                                                            ' <a href=\"'.\config\Diagnostics::RADIUSTESTS['accreditedCAsURL'].'\">' .
461 461
                                                             _('Get it from here.').'</a>';
462 462
                                         }
463 463
                                         $state = _('Server did not accept this client certificate - reason').': ' .
@@ -468,8 +468,8 @@  discard block
 block discarded – undo
468 468
                                         $level = \core\common\Entity::L_WARN;
469 469
                                         $state = _('Server accepted this client certificate, but should not have');
470 470
                                     } else {
471
-                                       $level = \core\common\Entity::L_OK;
472
-                                       $state = _('Server did not accept this client certificate').': '.$certificate->resultcomment;
471
+                                        $level = \core\common\Entity::L_OK;
472
+                                        $state = _('Server did not accept this client certificate').': '.$certificate->resultcomment;
473 473
                                     }
474 474
                                 }
475 475
                                 $cliinfo .= '<li><table><tbody><tr><td class="icon_td"><img class="icon" src="'.$this->stateIcons[$level].'" style="width: 24px;"></td><td>'.$state;
@@ -485,7 +485,7 @@  discard block
 block discarded – undo
485 485
                         if ($srefused > 0) {
486 486
                             $cliinfo = _('Connection refused');
487 487
                             $clientstest[] = "<table><tr><td class='icon_td' id='srcclient".$hostindex."_img'><img src='".$this->stateIcons[\core\common\Entity::L_ERROR]."'></td>" .
488
-                                     "<td id='srcclient$hostindex'><p>$cliinfo</p></td></tr></table>";
488
+                                        "<td id='srcclient$hostindex'><p>$cliinfo</p></td></tr></table>";
489 489
                         } else {
490 490
                             $clientstest[] = "<p>$cliinfo</p>";
491 491
                         }
Please login to merge, or discard this patch.