Test Failed
Push — master ( 4b9eb1...4cabd2 )
by Stefan
02:41 queued 16s
created
web/diag/action_realmcheck.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -567,9 +567,9 @@  discard block
 block discarded – undo
567 567
                     $naptr = $rfc7585suite->relevantNAPTR();
568 568
                     if ($naptr == \core\diag\RADIUSTests::RETVAL_NOTCONFIGURED) {
569 569
                         if ($dynType == "") {
570
-                        	echo "<tr><td>" . _("Dynamic discovery test is not configured") . "</td><td>";
570
+                            echo "<tr><td>" . _("Dynamic discovery test is not configured") . "</td><td>";
571 571
                         } else {
572
-                        	echo "<tr><td>" . _("OpenRoaming connectivity test is not configured") . "</td><td>";
572
+                            echo "<tr><td>" . _("OpenRoaming connectivity test is not configured") . "</td><td>";
573 573
                         }
574 574
                     } else {
575 575
                         echo "<table>";
@@ -673,7 +673,7 @@  discard block
 block discarded – undo
673 673
                         echo "}
674 674
               </script>";
675 675
                         } else {
676
-                   echo ' 
676
+                    echo ' 
677 677
               function run_openroaming() {
678 678
                  running_ajax_openroaming = 0;
679 679
                  $("#main_openroaming_ico").attr("src",icon_loading);
@@ -695,10 +695,10 @@  discard block
 block discarded – undo
695 695
                         } 
696 696
                     }
697 697
                     if ($dynType == '') {
698
-                         $naptrs[0] = $naptr;
699
-                     } else {
700
-                         $naptrs[1] = $naptr;
701
-                     }
698
+                            $naptrs[0] = $naptr;
699
+                        } else {
700
+                            $naptrs[1] = $naptr;
701
+                        }
702 702
                 }
703 703
                     echo "<strong>" . _("Static connectivity tests") . "</strong>
704 704
          <table><tr>
@@ -711,7 +711,7 @@  discard block
 block discarded – undo
711 711
          </tr></table>";
712 712
                     }
713 713
                     if (count($orrealm) && ($naptrs[1] > 0)) {
714
-                      echo "<hr><strong>" . _("OpenRoaming connectivity tests") . "</strong>
714
+                        echo "<hr><strong>" . _("OpenRoaming connectivity tests") . "</strong>
715 715
          <table><tr>
716 716
          <td class='icon_td'><img src='../resources/images/icons/loading51.gif' id='main_openroaming_ico' class='icon'></td><td id='main_openroaming_result' style='display:none'>&nbsp;</td>
717 717
          </tr></table>";
@@ -749,12 +749,12 @@  discard block
 block discarded – undo
749 749
             <?php
750 750
             for ($i=3; $i<5; $i++) {
751 751
                 if ($i == 3 && $naptrs[0] <= 0) {
752
-                   continue;
752
+                    continue;
753 753
                 }
754 754
                 if ($i == 4) {
755
-                   if ((count($orrealm) == 0) || ($naptrs[1] <= 0)) {
756
-                       continue;
757
-                   }
755
+                    if ((count($orrealm) == 0) || ($naptrs[1] <= 0)) {
756
+                        continue;
757
+                    }
758 758
                 }
759 759
                 if ($i == 3) {
760 760
                     $rfc7585suite = $dnsChecks;
@@ -771,16 +771,16 @@  discard block
 block discarded – undo
771 771
                     echo "_tests'><fieldset class='option_container'>
772 772
                 <legend><strong>";
773 773
                     if ($i==3) {
774
-                     echo _("DYNAMIC connectivity tests");
774
+                        echo _("DYNAMIC connectivity tests");
775 775
                     } else {
776
-                     echo _("OpenRoaming connectivity tests");
776
+                        echo _("OpenRoaming connectivity tests");
777 777
                     }
778 778
                     echo  "</strong></legend>";
779 779
                     $prefix1 = 'dynamic';
780 780
                     $prefix2 = '';
781 781
                     if ($i == 4) {
782
-                    	$prefix1 = 'openroaming';
783
-                    	$prefix2 = $prefix1;
782
+                        $prefix1 = 'openroaming';
783
+                        $prefix2 = $prefix1;
784 784
                     }
785 785
                     $resultstoprint = [];
786 786
                     if (count($rfc7585suite->NAPTR_hostname_records) > 0) {
Please login to merge, or discard this patch.
web/user/about_cat.inc.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -34,9 +34,9 @@
 block discarded – undo
34 34
 $skinObject = new \web\lib\user\Skinjob("classic");
35 35
 /// eduroam CAT, twice the consortium name eduroam, twice eduroam CAT
36 36
 $out = sprintf(_("<span class='edu_cat'>%s</span> is built as a cooperation platform."), \config\Master::APPEARANCE['productname'])."<p>".
37
-       sprintf(_("Local %s administrators enter their %s configuration details and based on them, <span class='edu_cat'>%s</span> builds customised installers for a number of popular platforms. ".
38
-                 "An installer prepared for one organisation will not work for users of another one, therefore if your organisation is not on the list, you cannot use this system. ".
39
-                 "Please contact your local administrators and try to influence them to add your %s configuration to <span class='edu_cat'>%s</span>."), 
37
+        sprintf(_("Local %s administrators enter their %s configuration details and based on them, <span class='edu_cat'>%s</span> builds customised installers for a number of popular platforms. ".
38
+                    "An installer prepared for one organisation will not work for users of another one, therefore if your organisation is not on the list, you cannot use this system. ".
39
+                    "Please contact your local administrators and try to influence them to add your %s configuration to <span class='edu_cat'>%s</span>."), 
40 40
         \config\Master::APPEARANCE['productname'], 
41 41
         \config\ConfAssistant::CONSORTIUM['display_name'], 
42 42
         \config\ConfAssistant::CONSORTIUM['display_name'], 
Please login to merge, or discard this patch.
ansible/ManagedSP/templates/web/lib.inc 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -2,12 +2,12 @@
 block discarded – undo
2 2
 define('SOCKET', '/opt/Socket/CAT_requests/queue');
3 3
 
4 4
 function cat_socket($obj) {
5
-   $sock = socket_create(AF_UNIX, SOCK_STREAM, 0);
6
-   $conn = socket_connect($sock, SOCKET);
7
-   if ( $conn ) {
8
-     socket_write ($sock, $obj, strlen($obj));
9
-     $out = socket_read ($sock, 2048);
10
-     return $out;
11
-   }
12
-   return 'FAILURE';
5
+    $sock = socket_create(AF_UNIX, SOCK_STREAM, 0);
6
+    $conn = socket_connect($sock, SOCKET);
7
+    if ( $conn ) {
8
+        socket_write ($sock, $obj, strlen($obj));
9
+        $out = socket_read ($sock, 2048);
10
+        return $out;
11
+    }
12
+    return 'FAILURE';
13 13
 }
Please login to merge, or discard this patch.
web/admin/overview_org.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -654,7 +654,7 @@
 block discarded – undo
654 654
                             </button>
655 655
                             <span style='color: red;'>
656 656
                             <?php if ($hasMail == 0) { 
657
-                              echo _("Helpdesk mail address is required but missing!");  
657
+                                echo _("Helpdesk mail address is required but missing!");  
658 658
                             }
659 659
                             ?>
660 660
                             </span>
Please login to merge, or discard this patch.
web/skins/modern/diag/diag.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -159,7 +159,7 @@
 block discarded – undo
159 159
                         echo "0\">";
160 160
                         echo _("This service is for authenticated admins only.") . '<br>';
161 161
                         echo "<a href=\"diag.php?admin=1\">" .
162
-                             _("eduroam® admin access is needed") . "</a>";
162
+                                _("eduroam® admin access is needed") . "</a>";
163 163
                     }
164 164
                 ?>
165 165
                 <div id="realm_problem">
Please login to merge, or discard this patch.