Passed
Push — master ( 4bf09c...a2eb0f )
by Maja
08:36
created
web/lib/user/Skinjob.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -97,8 +97,7 @@
 block discarded – undo
97 97
         // does the file exist in the current skin's directory? Has precedence
98 98
         if ($submodule !== '' && file_exists(__DIR__ . "/../../skins/" . $this->skin . "/" . $submodule . $path . $filename)) {
99 99
             $extrapath = "/skins/" . $this->skin . "/" . $submodule;
100
-        }
101
-        elseif (file_exists(__DIR__ . "/../../skins/" . $this->skin . $path . $filename)) {
100
+        } elseif (file_exists(__DIR__ . "/../../skins/" . $this->skin . $path . $filename)) {
102 101
             $extrapath = "/skins/" . $this->skin;
103 102
         } elseif (file_exists(__DIR__ . "/../../" . $path . $filename)) {
104 103
             $extrapath = "";
Please login to merge, or discard this patch.
devices/linux/DeviceLinux.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -201,8 +201,7 @@
 block discarded – undo
201 201
             
202 202
         if ($this->selectedEap == \core\common\EAP::EAPTYPE_TLS && isset($this->attributes['eap-specific:tls_use_other_id']) && $this->attributes['eap-specific:tls_use_other_id'][0] == 'on') {
203 203
             $configRaw['use_other_tls_id'] = "True";
204
-        }
205
-        else {
204
+        } else {
206 205
             $configRaw['use_other_tls_id'] = "False";
207 206
         }
208 207
 
Please login to merge, or discard this patch.
core/DeploymentManaged.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -432,8 +432,9 @@
 block discarded – undo
432 432
         $mail->Body = $txt;
433 433
 
434 434
         $sent = $mail->send();
435
-        if ( $sent === FALSE)
436
-        $this->loggerInstance->debug(1, 'Mailing on RADIUS problem failed');
435
+        if ( $sent === FALSE) {
436
+                $this->loggerInstance->debug(1, 'Mailing on RADIUS problem failed');
437
+        }
437 438
     }
438 439
     /**
439 440
      * prepare request to add/modify RADIUS settings for given deployment
Please login to merge, or discard this patch.
web/admin/overview_sp.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -266,8 +266,9 @@
 block discarded – undo
266 266
                                     $res = array_count_values($_GET['res']);
267 267
                                     if (isset($res['FAILURE']) && $res[] > 0) {
268 268
                                         echo '<br>';
269
-                                        if ($res['FAILURE'] == 2) 
270
-                                            echo ' <span style="color: red;">' . _("Activation failure.") . '</span>';
269
+                                        if ($res['FAILURE'] == 2) {
270
+                                                                                    echo ' <span style="color: red;">' . _("Activation failure.") . '</span>';
271
+                                        }
271 272
                                         } else {
272 273
                                             if (isset($_GET['res'][1]) && $_GET['res']['1'] == 'FAILURE') {
273 274
                                                 echo ' <span style="color: red;">' . _("Activation failure for your primary RADIUS server.") . '</span>';
Please login to merge, or discard this patch.