Passed
Pull Request — master (#165)
by Michiel
02:07
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/Signature/PublicKeyValidator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
         CertificateProvider $configuration
64 64
     ) : bool {
65 65
         $logger = $this->logger;
66
-        $pemCandidates = $this->configuredKeys->filter(function (Key $key) use ($logger) {
66
+        $pemCandidates = $this->configuredKeys->filter(function(Key $key) use ($logger) {
67 67
             if (!$key instanceof X509) {
68 68
                 $logger->debug(sprintf('Skipping unknown key type: "%s"', $key['type']));
69 69
                 return false;
Please login to merge, or discard this patch.
src/SAML2/XML/ds/X509Data.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
             return;
41 41
         }
42 42
 
43
-        for ($n = $xml->firstChild;; $n = $n->nextSibling) {
43
+        for ($n = $xml->firstChild; ; $n = $n->nextSibling) {
44 44
             if (!($n instanceof DOMElement)) {
45 45
                 continue;
46 46
             }
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.