Completed
Branch release-4-alpha (d1353f)
by Tim
02:06
created
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/ValidatorChain.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
 
77 77
         throw new MissingConfigurationException(sprintf(
78 78
             'No certificates have been configured%s',
79
-            $configuration->has('entityid') ? ' for "' . $configuration->get('entityid') . '"' : ''
79
+            $configuration->has('entityid') ? ' for "'.$configuration->get('entityid').'"' : ''
80 80
         ));
81 81
     }
82 82
 }
Please login to merge, or discard this patch.
src/SAML2/SOAPClient.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -239,7 +239,7 @@
 block discarded – undo
239 239
         // There is a fault element but we haven't found out what the fault string is
240 240
         $soapFaultString = "Unknown fault string found";
241 241
         // find out the fault string
242
-        $faultStringElement = Utils::xpQuery($soapFaultElement, './soap-env:faultstring') ;
242
+        $faultStringElement = Utils::xpQuery($soapFaultElement, './soap-env:faultstring');
243 243
         if (!empty($faultStringElement)) {
244 244
             return $faultStringElement[0]->textContent;
245 245
         }
Please login to merge, or discard this patch.