Passed
Branch release-5.x (ca4c4c)
by Tim
14:20
created
Category
src/SAML2/XML/mdui/UIInfo.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -229,7 +229,7 @@
 block discarded – undo
229 229
             Assert::maxCount(array_unique($types), 1, 'Multiple class types cannot be used.');
230 230
 
231 231
             $languages = array_map(
232
-                function ($elt) {
232
+                function($elt) {
233 233
                     return $elt->getLanguage();
234 234
                 },
235 235
                 $elements,
Please login to merge, or discard this patch.
src/SAML2/XML/mdrpi/RegistrationInfo.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
          *         within a given <mdrpi:RegistrationInfo>, for a given language
38 38
          */
39 39
         $languages = array_map(
40
-            function ($rp) {
40
+            function($rp) {
41 41
                 return $rp->getLanguage();
42 42
             },
43 43
             $registrationPolicy,
Please login to merge, or discard this patch.
src/SAML2/XML/mdrpi/PublicationInfo.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
          *         within a given <mdrpi:UsageInfo>, for a given language
40 40
          */
41 41
         $languages = array_map(
42
-            function ($up) {
42
+            function($up) {
43 43
                 return $up->getLanguage();
44 44
             },
45 45
             $usagePolicy,
Please login to merge, or discard this patch.
src/SAML2/SOAP.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
      * @throws \Exception
36 36
      * @return string|false The XML or false on error
37 37
      */
38
-    public function getOutputToSend(Message $message): string|false
38
+    public function getOutputToSend(Message $message): string | false
39 39
     {
40 40
         // In the Artifact Resolution profile, this will be an ArtifactResolve
41 41
         // containing another message (e.g. a Response), however in the ECP
Please login to merge, or discard this patch.
src/SAML2/Configuration/CertificateProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
      *
19 19
      * @return null|array|\Traversable
20 20
      */
21
-    public function getKeys(): Traversable|array|null;
21
+    public function getKeys(): Traversable | array | null;
22 22
 
23 23
 
24 24
     /**
Please login to merge, or discard this patch.
src/SAML2/Configuration/IdentityProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
     /**
21 21
      * @return array|\Traversable|null
22 22
      */
23
-    public function getKeys(): Traversable|array|null
23
+    public function getKeys(): Traversable | array | null
24 24
     {
25 25
         return $this->get('keys');
26 26
     }
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
             $required = false;
92 92
         }
93 93
         $privateKeys = $this->get('privateKeys');
94
-        $key = array_filter($privateKeys, function (PrivateKey $key) use ($name) {
94
+        $key = array_filter($privateKeys, function(PrivateKey $key) use ($name) {
95 95
             return $key->getName() === $name;
96 96
         });
97 97
 
Please login to merge, or discard this patch.
src/SAML2/Configuration/ServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     /**
22 22
      * @return null|array|\Traversable
23 23
      */
24
-    public function getKeys(): Traversable|array|null
24
+    public function getKeys(): Traversable | array | null
25 25
     {
26 26
         return $this->get('keys');
27 27
     }
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
             $required = false;
93 93
         }
94 94
         $privateKeys = $this->get('privateKeys');
95
-        $key = array_filter($privateKeys, function (PrivateKey $key) use ($name) {
95
+        $key = array_filter($privateKeys, function(PrivateKey $key) use ($name) {
96 96
             return $key->getName() === $name;
97 97
         });
98 98
 
Please login to merge, or discard this patch.
src/SAML2/Assertion/Validation/ConstraintValidator/NotOnOrAfter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
      * @param \SimpleSAML\SAML2\Assertion\Validation\Result $result
19 19
      * @return void
20 20
      */
21
-    public function validate(Assertion|MockInterface $assertion, Result $result): void
21
+    public function validate(Assertion | MockInterface $assertion, Result $result): void
22 22
     {
23 23
         $notValidOnOrAfterTimestamp = $assertion->getNotOnOrAfter();
24 24
         if (($notValidOnOrAfterTimestamp !== null) && ($notValidOnOrAfterTimestamp <= (Temporal::getTime() - 60))) {
Please login to merge, or discard this patch.
src/SAML2/Assertion/Validation/ConstraintValidator/SessionNotOnOrAfter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
      * @param \SimpleSAML\SAML2\Assertion\Validation\Result $result
19 19
      * @return void
20 20
      */
21
-    public function validate(Assertion|MockInterface $assertion, Result $result): void
21
+    public function validate(Assertion | MockInterface $assertion, Result $result): void
22 22
     {
23 23
         $sessionNotOnOrAfterTimestamp = $assertion->getSessionNotOnOrAfter();
24 24
         $currentTime = Temporal::getTime();
Please login to merge, or discard this patch.