@@ -63,7 +63,7 @@ public function __construct(array $metadataSets, $instance)
6363 $ this ->cdcDomain = $ this ->discoconfig ->getString ('cdc.domain ' , null );
6464 if ($ this ->cdcDomain !== null && $ this ->cdcDomain [0 ] !== '. ' ) {
6565 // ensure that the CDC domain starts with a dot ('.') as required by the spec
66- $ this ->cdcDomain = '. ' . $ this ->cdcDomain ;
66+ $ this ->cdcDomain = '. ' . $ this ->cdcDomain ;
6767 }
6868
6969 $ this ->cdcLifetime = $ this ->discoconfig ->getInteger ('cdc.lifetime ' , null );
@@ -80,7 +80,7 @@ public function __construct(array $metadataSets, $instance)
8080 */
8181 protected function log ($ message )
8282 {
83- Logger::info ('PowerIdPDisco. ' . $ this ->instance . ': ' .$ message );
83+ Logger::info ('PowerIdPDisco. ' . $ this ->instance . ': ' .$ message );
8484 }
8585
8686
@@ -224,8 +224,9 @@ protected function filterList($list)
224224 }
225225
226226 $ defaultrule = true ;
227- if (array_key_exists ('entities.include ' , $ spmd ['discopower.filter ' ]) ||
228- array_key_exists ('tags.include ' , $ spmd ['discopower.filter ' ])
227+ if (
228+ array_key_exists ('entities.include ' , $ spmd ['discopower.filter ' ])
229+ || array_key_exists ('tags.include ' , $ spmd ['discopower.filter ' ])
229230 ) {
230231 $ defaultrule = false ;
231232 }
@@ -289,10 +290,10 @@ public function handleRequest()
289290 $ t ->data ['rememberenabled ' ] = $ this ->config ->getBoolean ('idpdisco.enableremember ' , false );
290291 $ t ->data ['rememberchecked ' ] = $ this ->config ->getBoolean ('idpdisco.rememberchecked ' , false );
291292 foreach (array_keys ($ idpList ) as $ tab ) {
292- if ($ translator ->getTag ('{discopower:tabs: ' . $ tab. '} ' ) === null ) {
293- $ translator ->includeInlineTranslation ('{discopower:tabs: ' . $ tab. '} ' , $ tab );
293+ if ($ translator ->getTag ('{discopower:tabs: ' . $ tab . '} ' ) === null ) {
294+ $ translator ->includeInlineTranslation ('{discopower:tabs: ' . $ tab . '} ' , $ tab );
294295 }
295- $ t ->data ['tabNames ' ][$ tab ] = $ translator ::noop ('{discopower:tabs: ' . $ tab. '} ' );
296+ $ t ->data ['tabNames ' ][$ tab ] = $ translator ::noop ('{discopower:tabs: ' . $ tab . '} ' );
296297 }
297298 $ t ->show ();
298299 }
@@ -307,9 +308,9 @@ public function handleRequest()
307308 private function processMetadata ($ t , $ metadata , $ favourite )
308309 {
309310 $ basequerystring = '? ' .
310- 'entityID= ' . urlencode ($ t ->data ['entityID ' ]). '& ' .
311- 'return= ' . urlencode ($ t ->data ['return ' ]). '& ' .
312- 'returnIDParam= ' . urlencode ($ t ->data ['returnIDParam ' ]). '&idpentityid= ' ;
311+ 'entityID= ' . urlencode ($ t ->data ['entityID ' ]) . '& ' .
312+ 'return= ' . urlencode ($ t ->data ['return ' ]) . '& ' .
313+ 'returnIDParam= ' . urlencode ($ t ->data ['returnIDParam ' ]) . '&idpentityid= ' ;
313314
314315 foreach ($ metadata as $ tab => $ idps ) {
315316 foreach ($ idps as $ entityid => $ entity ) {
@@ -342,17 +343,17 @@ private function processMetadata($t, $metadata, $favourite)
342343
343344 // HTML output
344345 if ($ entity ['entityid ' ] === $ favourite ) {
345- $ html = '<a class="metaentry favourite" href=" ' .
346- $ basequerystring .urlencode ($ entity ['entityid ' ]). '"> ' ;
346+ $ html = '<a class="metaentry favourite" href=" ' .
347+ $ basequerystring .urlencode ($ entity ['entityid ' ]) . '"> ' ;
347348 } else {
348- $ html = '<a class="metaentry" href=" ' .
349- $ basequerystring .urlencode ($ entity ['entityid ' ]). '"> ' ;
349+ $ html = '<a class="metaentry" href=" ' .
350+ $ basequerystring .urlencode ($ entity ['entityid ' ]) . '"> ' ;
350351 }
351352 $ html .= $ entity ['translated ' ];
352353 if (array_key_exists ('icon ' , $ entity ) && $ entity ['icon ' ] !== null ) {
353354 $ iconUrl = HTTP ::resolveURL ($ entity ['icon ' ]);
354- $ html .= '<img alt="Icon for identity provider" class="entryicon" src=" ' .
355- htmlspecialchars ($ iconUrl ). '" /> ' ;
355+ $ html .= '<img alt="Icon for identity provider" class="entryicon" src=" ' .
356+ htmlspecialchars ($ iconUrl ) . '" /> ' ;
356357 }
357358 $ html .= '</a> ' ;
358359 $ entity ['html ' ] = $ html ;
0 commit comments