Passed
Branch assertions (8f245c)
by Tim
01:58
created
src/SAML2/Assertion.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -62,11 +62,11 @@
 block discarded – undo
62 62
      */
63 63
     private $encryptionKey;
64 64
 
65
-     /**
66
-     * The earliest time this assertion is valid, as an UNIX timestamp.
67
-     *
68
-     * @var int
69
-     */
65
+        /**
66
+         * The earliest time this assertion is valid, as an UNIX timestamp.
67
+         *
68
+         * @var int
69
+         */
70 70
     private $notBefore;
71 71
 
72 72
     /**
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
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
     public function getPrivateKey(string $name, bool $required = false)
54 54
     {
55 55
         $privateKeys = $this->get('privateKeys');
56
-        $key         = array_filter($privateKeys, function (PrivateKey $key) use ($name) {
56
+        $key         = array_filter($privateKeys, function(PrivateKey $key) use ($name) {
57 57
             return $key->getName() === $name;
58 58
         });
59 59
 
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
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
     public function getPrivateKey(string $name, bool $required = false)
52 52
     {
53 53
         $privateKeys = $this->get('privateKeys');
54
-        $key = array_filter($privateKeys, function (PrivateKey $key) use ($name) {
54
+        $key = array_filter($privateKeys, function(PrivateKey $key) use ($name) {
55 55
             return $key->getName() === $name;
56 56
         });
57 57
 
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.