Passed
Branch master (88b79b)
by Liaw
03:55
created
src/LightSaml/Resolver/Signature/OwnSignatureResolver.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,10 +71,10 @@
 block discarded – undo
71 71
             ->add(new EntityIdCriteria($entityDescriptor->getEntityID()))
72 72
             ->add(new UsageCriteria(UsageType::SIGNING))
73 73
             ->add(new X509CredentialCriteria())
74
-            ->addIf(ProfileContext::ROLE_IDP === $profileContext->getOwnRole(), function () {
74
+            ->addIf(ProfileContext::ROLE_IDP === $profileContext->getOwnRole(), function() {
75 75
                 return new MetadataCriteria(MetadataCriteria::TYPE_IDP, SamlConstants::VERSION_20);
76 76
             })
77
-            ->addIf(ProfileContext::ROLE_SP === $profileContext->getOwnRole(), function () {
77
+            ->addIf(ProfileContext::ROLE_SP === $profileContext->getOwnRole(), function() {
78 78
                 return new MetadataCriteria(MetadataCriteria::TYPE_SP, SamlConstants::VERSION_20);
79 79
             })
80 80
         ;
Please login to merge, or discard this patch.
src/LightSaml/Validator/Model/Xsd/XsdValidator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
         libxml_clear_errors();
48 48
         $doc = new \DOMDocument();
49 49
 
50
-        set_error_handler(function ($errno, $errstr, $errfile, $errline, array $errcontext) use (&$result) {
50
+        set_error_handler(function($errno, $errstr, $errfile, $errline, array $errcontext) use (&$result) {
51 51
             $error = new XsdError(XsdError::FATAL, $errno, $errstr, 0, 0);
52 52
             $result[] = $error;
53 53
         });
Please login to merge, or discard this patch.
src/LightSaml/Action/Profile/Inbound/Response/DecryptAssertionsAction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
             throw new LightSamlContextException($context, $message);
78 78
         }
79 79
         $this->logger->info('Trusted decryption candidates', LogHelper::getActionContext($context, $this, array(
80
-            'credentials' => array_map(function (CredentialInterface $credential) {
80
+            'credentials' => array_map(function(CredentialInterface $credential) {
81 81
                 return sprintf(
82 82
                     "Entity: '%s'; PK X509 Thumb: '%s'",
83 83
                     $credential->getEntityId(),
Please login to merge, or discard this patch.