Passed
Push — master ( e9fb31...3c1026 )
by Marcel
10:57
created
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.
web/sp/_config.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -58,11 +58,11 @@  discard block
 block discarded – undo
58 58
         $buildContainer->getPimple()->register(new \LightSaml\Bridge\Pimple\Container\Factory\SystemContainerProvider());
59 59
 
60 60
         $pimple = $buildContainer->getPimple();
61
-        $pimple[\LightSaml\Bridge\Pimple\Container\SystemContainer::LOGGER] = function () {
61
+        $pimple[\LightSaml\Bridge\Pimple\Container\SystemContainer::LOGGER] = function() {
62 62
             return $this->buildLogger();
63 63
 
64 64
         };
65
-        $pimple[\LightSaml\Bridge\Pimple\Container\SystemContainer::SESSION] = function () {
65
+        $pimple[\LightSaml\Bridge\Pimple\Container\SystemContainer::SESSION] = function() {
66 66
             return $this->buildSession();
67 67
 
68 68
         };
@@ -73,10 +73,10 @@  discard block
 block discarded – undo
73 73
         $buildContainer->getPimple()->register(new \LightSaml\Bridge\Pimple\Container\Factory\PartyContainerProvider());
74 74
 
75 75
         $pimple = $buildContainer->getPimple();
76
-        $pimple[\LightSaml\Bridge\Pimple\Container\PartyContainer::IDP_ENTITY_DESCRIPTOR] = function () {
76
+        $pimple[\LightSaml\Bridge\Pimple\Container\PartyContainer::IDP_ENTITY_DESCRIPTOR] = function() {
77 77
             return $this->buildIdpEntityStore();
78 78
         };
79
-        $pimple[\LightSaml\Bridge\Pimple\Container\PartyContainer::TRUST_OPTIONS_STORE] = function () {
79
+        $pimple[\LightSaml\Bridge\Pimple\Container\PartyContainer::TRUST_OPTIONS_STORE] = function() {
80 80
             $trustOptions = new \LightSaml\Meta\TrustOptions\TrustOptions();
81 81
             $trustOptions->setSignAuthnRequest(true);
82 82
 
Please login to merge, or discard this patch.
web/sp/login.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
 $buildContainer->getSystemContainer()->getEventDispatcher()
15 15
     ->addListener(
16 16
         \LightSaml\Event\BindingMessageSent::class,
17
-        function (\LightSaml\Event\BindingMessageSent $event) {
17
+        function(\LightSaml\Event\BindingMessageSent $event) {
18 18
             //var_dump($event->getSubject());
19 19
             //exit;
20 20
         }
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
 $buildContainer->getSystemContainer()->getEventDispatcher()
23 23
     ->addListener(
24 24
         \LightSaml\Event\BeforeEncrypt::class,
25
-        function (\LightSaml\Event\BeforeEncrypt $event) {
25
+        function(\LightSaml\Event\BeforeEncrypt $event) {
26 26
             /** @var \LightSaml\Context\Profile\ProfileContext $context */
27 27
             $context = $event->getSubject();
28 28
             $context->getOutboundMessage()->setRelayState('relayState');
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 
32 32
 $context = $builder->buildContext();
33 33
 $action = $builder->buildAction();
34
-$action->map(function (\LightSaml\Action\ActionInterface $action) use ($buildContainer) {
34
+$action->map(function(\LightSaml\Action\ActionInterface $action) use ($buildContainer) {
35 35
     return new \LightSaml\Action\LoggableAction($action, $buildContainer->getSystemContainer()->getLogger());
36 36
 });
37 37
 
Please login to merge, or discard this patch.