@@ -63,7 +63,7 @@ |
||
| 63 | 63 | */ |
| 64 | 64 | public function fromInteger($amount, $isoCode = null) |
| 65 | 65 | { |
| 66 | - return $this->moneyFacade->fromInteger($amount, $isoCode); |
|
| 66 | + return $this->moneyFacade->fromInteger($amount, $isoCode); |
|
| 67 | 67 | } |
| 68 | 68 | |
| 69 | 69 | } |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | */ |
| 25 | 25 | public function register(Application $app) |
| 26 | 26 | { |
| 27 | - $app['messenger'] = function () { |
|
| 27 | + $app['messenger'] = function() { |
|
| 28 | 28 | return $this->getFacade(); |
| 29 | 29 | }; |
| 30 | 30 | } |
@@ -52,7 +52,7 @@ |
||
| 52 | 52 | */ |
| 53 | 53 | public function boot(Application $app) |
| 54 | 54 | { |
| 55 | - $app->before(function (Request $request) { |
|
| 55 | + $app->before(function(Request $request) { |
|
| 56 | 56 | TransferServer::getInstance()->setRequest($request); |
| 57 | 57 | }); |
| 58 | 58 | } |
@@ -150,7 +150,7 @@ |
||
| 150 | 150 | 'prototype' => true, |
| 151 | 151 | 'constraints' => [ |
| 152 | 152 | new Callback([ |
| 153 | - 'callback' => function (ArrayObject $values, ExecutionContextInterface $context) { |
|
| 153 | + 'callback' => function(ArrayObject $values, ExecutionContextInterface $context) { |
|
| 154 | 154 | if (count($values) === 0) { |
| 155 | 155 | $context->buildViolation('No option values added.') |
| 156 | 156 | ->addViolation(); |
@@ -32,9 +32,9 @@ |
||
| 32 | 32 | $alias = Config::get(DevelopmentConstants::COMPOSER_BRANCH_ALIAS); |
| 33 | 33 | |
| 34 | 34 | $composerJson[static::KEY_EXTRA] = [ |
| 35 | - static::KEY_BRANCH_ALIAS => [ |
|
| 36 | - static::KEY_MASTER_BRANCH => $alias, |
|
| 37 | - ], |
|
| 35 | + static::KEY_BRANCH_ALIAS => [ |
|
| 36 | + static::KEY_MASTER_BRANCH => $alias, |
|
| 37 | + ], |
|
| 38 | 38 | ]; |
| 39 | 39 | |
| 40 | 40 | return $composerJson; |
@@ -17,35 +17,35 @@ |
||
| 17 | 17 | $config[RatepayConstants::SYSTEM_ID] = 'Spryker ' . $config[ApplicationConstants::HOST_YVES]; |
| 18 | 18 | |
| 19 | 19 | $config[KernelConstants::DEPENDENCY_INJECTOR_YVES] = [ |
| 20 | - 'Checkout' => [ |
|
| 21 | - 'Ratepay', |
|
| 22 | - ], |
|
| 20 | + 'Checkout' => [ |
|
| 21 | + 'Ratepay', |
|
| 22 | + ], |
|
| 23 | 23 | ]; |
| 24 | 24 | |
| 25 | 25 | $config[KernelConstants::DEPENDENCY_INJECTOR_ZED] = [ |
| 26 | - 'Payment' => [ |
|
| 27 | - 'Ratepay', |
|
| 28 | - ], |
|
| 29 | - 'Oms' => [ |
|
| 30 | - 'Ratepay', |
|
| 31 | - ], |
|
| 26 | + 'Payment' => [ |
|
| 27 | + 'Ratepay', |
|
| 28 | + ], |
|
| 29 | + 'Oms' => [ |
|
| 30 | + 'Ratepay', |
|
| 31 | + ], |
|
| 32 | 32 | ]; |
| 33 | 33 | |
| 34 | 34 | $config[OmsConstants::PROCESS_LOCATION] = [ |
| 35 | - OmsConfig::DEFAULT_PROCESS_LOCATION, |
|
| 36 | - $config[KernelConstants::SPRYKER_ROOT] . '/Ratepay/config/Zed/Oms', |
|
| 35 | + OmsConfig::DEFAULT_PROCESS_LOCATION, |
|
| 36 | + $config[KernelConstants::SPRYKER_ROOT] . '/Ratepay/config/Zed/Oms', |
|
| 37 | 37 | ]; |
| 38 | 38 | |
| 39 | 39 | $config[OmsConstants::ACTIVE_PROCESSES] = [ |
| 40 | - 'RatepayElv01', |
|
| 41 | - 'RatepayInstallment01', |
|
| 42 | - 'RatepayInvoice01', |
|
| 43 | - 'RatepayPrepayment01', |
|
| 40 | + 'RatepayElv01', |
|
| 41 | + 'RatepayInstallment01', |
|
| 42 | + 'RatepayInvoice01', |
|
| 43 | + 'RatepayPrepayment01', |
|
| 44 | 44 | ]; |
| 45 | 45 | |
| 46 | 46 | $config[SalesConstants::PAYMENT_METHOD_STATEMACHINE_MAPPING] = [ |
| 47 | - RatepayConstants::PAYMENT_METHOD_ELV => 'RatepayElv01', |
|
| 48 | - RatepayConstants::PAYMENT_METHOD_INSTALLMENT => 'RatepayInstallment01', |
|
| 49 | - RatepayConstants::PAYMENT_METHOD_INVOICE => 'RatepayInvoice01', |
|
| 50 | - RatepayConstants::PAYMENT_METHOD_PREPAYMENT => 'RatepayPrepayment01', |
|
| 47 | + RatepayConstants::PAYMENT_METHOD_ELV => 'RatepayElv01', |
|
| 48 | + RatepayConstants::PAYMENT_METHOD_INSTALLMENT => 'RatepayInstallment01', |
|
| 49 | + RatepayConstants::PAYMENT_METHOD_INVOICE => 'RatepayInvoice01', |
|
| 50 | + RatepayConstants::PAYMENT_METHOD_PREPAYMENT => 'RatepayPrepayment01', |
|
| 51 | 51 | ]; |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | */ |
| 35 | 35 | protected function addStorageClient(Container $container) |
| 36 | 36 | { |
| 37 | - $container[static::CLIENT_STORAGE] = function (Container $container) { |
|
| 37 | + $container[static::CLIENT_STORAGE] = function(Container $container) { |
|
| 38 | 38 | return $container->getLocator()->storage()->client(); |
| 39 | 39 | }; |
| 40 | 40 | |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | public function register(Application $app) |
| 26 | 26 | { |
| 27 | 27 | $containerGlobals = new ContainerGlobals(); |
| 28 | - $containerGlobals[static::CLIENT_SESSION] = function () { |
|
| 28 | + $containerGlobals[static::CLIENT_SESSION] = function() { |
|
| 29 | 29 | $container = new Container(); |
| 30 | 30 | |
| 31 | 31 | return $container->getLocator()->session()->client(); |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | */ |
| 35 | 35 | protected function addZedRequestClient(Container $container) |
| 36 | 36 | { |
| 37 | - $container[static::CLIENT_ZED_REQUEST] = function (Container $container) { |
|
| 37 | + $container[static::CLIENT_ZED_REQUEST] = function(Container $container) { |
|
| 38 | 38 | return $container->getLocator()->zedRequest()->client(); |
| 39 | 39 | }; |
| 40 | 40 | |