@@ -47,7 +47,7 @@ |
||
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 | }); |
@@ -58,11 +58,11 @@ discard block |
||
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 |
||
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 |
@@ -14,7 +14,7 @@ discard block |
||
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 |
||
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 |
||
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 |