Passed
Push — master ( 744ef1...4426f1 )
by Tim
02:17
created
hooks/hook_configpage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
  *
12 12
  * @param \SimpleSAML\XHTML\Template &$template The template that we should alter in this hook.
13 13
  */
14
-function aggregator2_hook_configpage(Template &$template): void
14
+function aggregator2_hook_configpage(Template & $template): void
15 15
 {
16 16
     $template->data['links'][] = [
17 17
         'href' => Module::getModuleURL('aggregator2/'),
Please login to merge, or discard this patch.
src/EntitySource.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@
 block discarded – undo
177 177
         } catch (Exception $e) {
178 178
             Logger::error(
179 179
                 $this->logLoc . 'Unable to parse metadata from ' .
180
-                  var_export($this->url, true) . ': ' . $e->getMessage()
180
+                    var_export($this->url, true) . ': ' . $e->getMessage()
181 181
             );
182 182
             return null;
183 183
         }
Please login to merge, or discard this patch.
src/Aggregator.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -531,7 +531,7 @@  discard block
 block discarded – undo
531 531
             entityDescriptors: $children,
532 532
             validUntil: $now,
533 533
             extensions: empty($extensions) ? null : new Extensions($extensions),
534
-            Name: $this->name,
534
+            Name : $this->name,
535 535
         );
536 536
 
537 537
         return $ret;
@@ -582,8 +582,7 @@  discard block
 block discarded – undo
582 582
      * @return \SimpleSAML\SAML2\XML\md\EntitiesDescriptor The EntitiesDescriptor with only the entities filtered.
583 583
      */
584 584
     protected function filter(EntitiesDescriptor $descriptor): EntitiesDescriptor
585
-    {-
586
-        if (empty($this->roles) || empty($this->protocols)) {
585
+    {-if (empty($this->roles) || empty($this->protocols)) {
587 586
             return $descriptor;
588 587
         }
589 588
 
Please login to merge, or discard this patch.