@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | public function writeInstaller() { |
61 | 61 | $installerPath = $this->installerBasename.".py"; |
62 | 62 | $this->copyFile("main.py", $installerPath); |
63 | - $installer = fopen($installerPath,"a"); |
|
63 | + $installer = fopen($installerPath, "a"); |
|
64 | 64 | if ($installer === FALSE) { |
65 | 65 | throw new Exception("Unable to open installer file for writing!"); |
66 | 66 | } |
@@ -206,11 +206,11 @@ discard block |
||
206 | 206 | $config['user_realm'] = $this->attributes['internal:realm'][0]; |
207 | 207 | } |
208 | 208 | |
209 | - if(!empty($this->attributes['internal:hint_userinput_suffix'][0]) && $this->attributes['internal:hint_userinput_suffix'][0] == 1) { |
|
209 | + if (!empty($this->attributes['internal:hint_userinput_suffix'][0]) && $this->attributes['internal:hint_userinput_suffix'][0] == 1) { |
|
210 | 210 | $configRaw['hint_user_input'] = "True"; |
211 | 211 | } |
212 | 212 | |
213 | - if(!empty($this->attributes['internal:verify_userinput_suffix'][0]) && $this->attributes['internal:verify_userinput_suffix'][0] == 1) { |
|
213 | + if (!empty($this->attributes['internal:verify_userinput_suffix'][0]) && $this->attributes['internal:verify_userinput_suffix'][0] == 1) { |
|
214 | 214 | $configRaw['verify_user_realm_input'] = "True"; |
215 | 215 | } |
216 | 216 | |
@@ -283,7 +283,7 @@ discard block |
||
283 | 283 | } |
284 | 284 | $out .= "'DNS:$oneServer'"; |
285 | 285 | } |
286 | - return "[".$out. "]"; |
|
286 | + return "[".$out."]"; |
|
287 | 287 | } |
288 | 288 | |
289 | 289 | /** |
@@ -323,7 +323,7 @@ discard block |
||
323 | 323 | * |
324 | 324 | * @return string |
325 | 325 | */ |
326 | - private function mkCAfile(){ |
|
326 | + private function mkCAfile() { |
|
327 | 327 | $out = ''; |
328 | 328 | $cAlist = $this->attributes['internal:CAs'][0]; |
329 | 329 | foreach ($cAlist as $oneCa) { |
@@ -339,7 +339,7 @@ discard block |
||
339 | 339 | */ |
340 | 340 | private function mkIntro() { |
341 | 341 | \core\common\Entity::intoThePotatoes(); |
342 | - $out = _("This installer has been prepared for {0}").'\n\n'._("More information and comments:").'\n\nEMAIL: {1}\nWWW: {2}\n\n' . |
|
342 | + $out = _("This installer has been prepared for {0}").'\n\n'._("More information and comments:").'\n\nEMAIL: {1}\nWWW: {2}\n\n'. |
|
343 | 343 | _("Installer created with software from the GEANT project."); |
344 | 344 | \core\common\Entity::outOfThePotatoes(); |
345 | 345 | return $out; |