Passed
Push — master ( 18d8b9...7e1766 )
by Tomasz
04:25
created
web/admin/sanity_tests.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     'mailer',
29 29
 ];
30 30
 
31
-if (CONFIG['FUNCTIONALITY_LOCATIONS']['CONFASSISTANT_SILVERBULLET'] == "LOCAL" || CONFIG['FUNCTIONALITY_LOCATIONS']['CONFASSISTANT_RADIUS'] == "LOCAL" ) {
31
+if (CONFIG['FUNCTIONALITY_LOCATIONS']['CONFASSISTANT_SILVERBULLET'] == "LOCAL" || CONFIG['FUNCTIONALITY_LOCATIONS']['CONFASSISTANT_RADIUS'] == "LOCAL") {
32 32
     $Tests[] = 'makensis';
33 33
     $Tests[] = 'makensis=>NSISmodules';
34 34
 }
Please login to merge, or discard this patch.
core/SanityTests.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
             }
86 86
             if ($passedTheWindmill) {
87 87
                 if (substr($schemaLine, 0, 1) == '(') { // a relevant line in schema
88
-                    $this->profile_option_ct = $this->profile_option_ct+1;
88
+                    $this->profile_option_ct = $this->profile_option_ct + 1;
89 89
                 } else { // anything else, quit parsing
90 90
                     break;
91 91
                 }
Please login to merge, or discard this patch.
core/diag/Telepath.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,6 +81,9 @@  discard block
 block discarded – undo
81 81
 
82 82
      */
83 83
 
84
+    /**
85
+     * @param string $type
86
+     */
84 87
     private function genericAPIStatus($type, $param1 = NULL, $param2 = NULL) {
85 88
         $endpoints = [
86 89
             'tlr_test' => "https://monitor.eduroam.org/mapi/index.php?type=tlr_test&tlr=$param1",
@@ -185,7 +188,7 @@  discard block
 block discarded – undo
185 188
      * realm (and indirectly that of the links and statuses of involved proxies
186 189
      * and returns a judgment whether external Monitoring API tests are warranted
187 190
      * or not
188
-     * @return boolean TRUE if external tests have to be run
191
+     * @return boolean|null TRUE if external tests have to be run
189 192
      */
190 193
     private function CATInternalTests() {
191 194
         // we are expecting to get a REJECT from all runs, because that means the packet got through to the IdP.
Please login to merge, or discard this patch.
core/diag/Logopath.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -239,7 +239,7 @@
 block discarded – undo
239 239
             // leave his mail address, remove him/her from the list of recipients
240 240
             foreach (Logopath::CATEGORYBINDING as $index => $functionName) {
241 241
                 if (in_array(Logopath::ENDUSER, $theMail[$index]) && $this->userEmail === FALSE) {
242
-                    $theMail[$index] = array_diff($theMail[$index], [Logopath::ENDUSER] );
242
+                    $theMail[$index] = array_diff($theMail[$index], [Logopath::ENDUSER]);
243 243
                 }
244 244
             }
245 245
             
Please login to merge, or discard this patch.