Test Failed
Push — master ( a393f2...e4ce85 )
by Stefan
08:15
created
ansible/ManagedSP/templates/web/lib.inc 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -4,12 +4,12 @@
 block discarded – undo
4 4
 define('OPNAME_SUFFIX', '.hosted.eduroam.org');
5 5
 
6 6
 function cat_socket($obj) {
7
-   $sock = socket_create(AF_UNIX, SOCK_STREAM, 0);
8
-   $conn = socket_connect($sock, SOCKET);
9
-   if ( $conn ) {
10
-     socket_write ($sock, $obj, strlen($obj));
11
-     $out = socket_read ($sock, 2048);
12
-     return $out;
13
-   }
14
-   return 'FAILURE';
7
+    $sock = socket_create(AF_UNIX, SOCK_STREAM, 0);
8
+    $conn = socket_connect($sock, SOCKET);
9
+    if ( $conn ) {
10
+        socket_write ($sock, $obj, strlen($obj));
11
+        $out = socket_read ($sock, 2048);
12
+        return $out;
13
+    }
14
+    return 'FAILURE';
15 15
 }
Please login to merge, or discard this patch.
devices/xml/Device_XML.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -266,7 +266,7 @@  discard block
 block discarded – undo
266 266
         return $helpdesk;
267 267
     }
268 268
 
269
-   private function getCredentialApplicability() {
269
+    private function getCredentialApplicability() {
270 270
         $setWired = isset($this->attributes['media:wired'][0]) && 
271 271
             $this->attributes['media:wired'][0] == 'on' ? 1 : 0;  
272 272
         $ssids = $this->attributes['internal:SSID'];
@@ -393,7 +393,7 @@  discard block
 block discarded – undo
393 393
     }
394 394
     
395 395
     private function getAuthMethod($eap) {
396
- //       $attr = $this->attributes;
396
+    //       $attr = $this->attributes;
397 397
         $authmethod = new AuthenticationMethod();
398 398
         $eapParams = $this->getAuthenticationMethodParams($eap);
399 399
         $eaptype = new Type();
Please login to merge, or discard this patch.
web/lib/user/TextTemplates.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -89,12 +89,12 @@
 block discarded – undo
89 89
         $this->templates[WELCOME_ABOARD_TERMS] = "";
90 90
         foreach ([
91 91
                 "eduroam" => [ 
92
-                      "TOU"  => "https://wiki.geant.org/display/H2eduroam/Terms+and+Conditions",
93
-                      "PRIV" => "https://www.eduroam.org/privacy/",
92
+                        "TOU"  => "https://wiki.geant.org/display/H2eduroam/Terms+and+Conditions",
93
+                        "PRIV" => "https://www.eduroam.org/privacy/",
94 94
                     ], 
95 95
                 "OpenRoaming" => [ 
96
-                      "TOU"  => "https://wballiance.com/openroaming/toc-2020/",
97
-                      "PRIV" => "https://wballiance.com/openroaming/privacy-policy-2020/",
96
+                        "TOU"  => "https://wballiance.com/openroaming/toc-2020/",
97
+                        "PRIV" => "https://wballiance.com/openroaming/privacy-policy-2020/",
98 98
                     ]
99 99
             ] as $consortium => $terms) {
100 100
             $this->templates[WELCOME_ABOARD_TERMS] .= sprintf("<p>" . _("When connecting to %s hotspots, the following <a href='%s'>Terms and Conditions</a> and <a href='%s'>Privacy Notice</a> apply.") . "</p>", $consortium, $terms['TOU'], $terms['PRIV']);
Please login to merge, or discard this patch.