Passed
Branch release-4-alpha-tmp (44809d)
by Tim
04:26
created
Category
src/SAML2/XML/ds/X509Data.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
             return;
37 37
         }
38 38
 
39
-        for ($n = $xml->firstChild;; $n = $n->nextSibling) {
39
+        for ($n = $xml->firstChild; ; $n = $n->nextSibling) {
40 40
             if (!($n instanceof \DOMElement)) {
41 41
                 continue;
42 42
             }
Please login to merge, or discard this patch.
src/SAML2/XML/Chunk.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@
 block discarded – undo
153 153
     {
154 154
         assert(is_string($serialized));
155 155
         $doc = DOMDocumentFactory::fromString(unserialize($serialized));
156
-        $this->xml =  $doc->documentElement;
156
+        $this->xml = $doc->documentElement;
157 157
         $this->localName = $this->xml->localName;
158 158
         $this->namespaceURI = $this->xml->namespaceURI;
159 159
     }
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
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
     public function hasValidSignature(SignedElement $signedElement, CertificateProvider $configuration)
62 62
     {
63 63
         $logger = $this->logger;
64
-        $pemCandidates = $this->configuredKeys->filter(function (Key $key) use ($logger) {
64
+        $pemCandidates = $this->configuredKeys->filter(function(Key $key) use ($logger) {
65 65
             if (!$key instanceof X509) {
66 66
                 $logger->debug(sprintf('Skipping unknown key type: "%s"', $key['type']));
67 67
                 return false;
Please login to merge, or discard this patch.
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
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
             $required = false;
51 51
         }
52 52
         $privateKeys = $this->get('privateKeys');
53
-        $key         = array_filter($privateKeys, function (PrivateKey $key) use ($name) {
53
+        $key         = array_filter($privateKeys, function(PrivateKey $key) use ($name) {
54 54
             return $key->getName() === $name;
55 55
         });
56 56
 
Please login to merge, or discard this patch.