@@ -28,7 +28,7 @@ |
||
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 | } |
@@ -85,7 +85,7 @@ |
||
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 | } |
@@ -81,6 +81,9 @@ discard block |
||
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 |
||
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. |
@@ -239,7 +239,7 @@ |
||
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 |