Passed
Branch master (8c2723)
by Tim
02:26
created
src/SAML2/Configuration/IdentityProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
             $required = false;
77 77
         }
78 78
         $privateKeys = $this->get('privateKeys');
79
-        $key = array_filter($privateKeys, function (PrivateKey $key) use ($name) {
79
+        $key = array_filter($privateKeys, function(PrivateKey $key) use ($name) {
80 80
             return $key->getName() === $name;
81 81
         });
82 82
 
Please login to merge, or discard this patch.
src/SAML2/Configuration/ServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
             $required = false;
77 77
         }
78 78
         $privateKeys = $this->get('privateKeys');
79
-        $key = array_filter($privateKeys, function (PrivateKey $key) use ($name) {
79
+        $key = array_filter($privateKeys, function(PrivateKey $key) use ($name) {
80 80
             return $key->getName() === $name;
81 81
         });
82 82
 
Please login to merge, or discard this patch.
src/SAML2/Signature/PublicKeyValidator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
         Assert::notEmpty($this->configuredKeys);
69 69
 
70 70
         $logger = $this->logger;
71
-        $pemCandidates = $this->configuredKeys->filter(function (Key $key) use ($logger) {
71
+        $pemCandidates = $this->configuredKeys->filter(function(Key $key) use ($logger) {
72 72
             if (!$key instanceof X509) {
73 73
                 $logger->debug(sprintf('Skipping unknown key type: "%s"', $key['type']));
74 74
                 return false;
Please login to merge, or discard this patch.
src/SAML2/XML/md/SPSSODescriptor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@
 block discarded – undo
115 115
         Assert::maxCount(
116 116
             array_filter(
117 117
                 $this->getAttributeConsumingService(),
118
-                function (AttributeConsumingService $acs) {
118
+                function(AttributeConsumingService $acs) {
119 119
                     return $acs->getIsDefault() === true;
120 120
                 }
121 121
             ),
Please login to merge, or discard this patch.
src/SAML2/XML/saml/Assertion.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
      */
187 187
     public function getAttributeStatements(): array
188 188
     {
189
-        return array_values(array_filter($this->statements, function ($statement) {
189
+        return array_values(array_filter($this->statements, function($statement) {
190 190
             return $statement instanceof AttributeStatement;
191 191
         }));
192 192
     }
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
      */
198 198
     public function getAuthnStatements(): array
199 199
     {
200
-        return array_values(array_filter($this->statements, function ($statement) {
200
+        return array_values(array_filter($this->statements, function($statement) {
201 201
             return $statement instanceof AuthnStatement;
202 202
         }));
203 203
     }
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
      */
209 209
     public function getStatements(): array
210 210
     {
211
-        return array_values(array_filter($this->statements, function ($statement) {
211
+        return array_values(array_filter($this->statements, function($statement) {
212 212
             return $statement instanceof Statement;
213 213
         }));
214 214
     }
Please login to merge, or discard this patch.
src/SAML2/XML/mdattr/EntityAttributes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
     {
65 65
         Assert::allIsInstanceOfAny($children, [Assertion::class, Attribute::class]);
66 66
 
67
-        $assertions = array_filter($children, function ($child) {
67
+        $assertions = array_filter($children, function($child) {
68 68
             return $child instanceof Assertion;
69 69
         });
70 70
 
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
@@ -161,7 +161,7 @@
 block discarded – undo
161 161
          *         within a given <mdrpi:UsageInfo>, for a given language
162 162
          */
163 163
         $languages = array_map(
164
-            function ($up) {
164
+            function($up) {
165 165
                 return $up->getLanguage();
166 166
             },
167 167
             $usagePolicy
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
@@ -129,7 +129,7 @@
 block discarded – undo
129 129
          *         within a given <mdrpi:RegistrationInfo>, for a given language
130 130
          */
131 131
         $languages = array_map(
132
-            function ($rp) {
132
+            function($rp) {
133 133
                 return $rp->getLanguage();
134 134
             },
135 135
             $registrationPolicy
Please login to merge, or discard this patch.
src/SAML2/XML/mdrpi/PublicationPath.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
     }
63 63
 
64 64
 
65
-   /**
65
+    /**
66 66
      * Test if an object, at the state it's in, would produce an empty XML-element
67 67
      *
68 68
      * @return bool
Please login to merge, or discard this patch.