@@ -50,7 +50,7 @@ |
||
| 50 | 50 | { |
| 51 | 51 | $this->assertNavigationNodeForUpdate($navigationNodeTransfer); |
| 52 | 52 | |
| 53 | - return $this->handleDatabaseTransaction(function () use ($navigationNodeTransfer) { |
|
| 53 | + return $this->handleDatabaseTransaction(function() use ($navigationNodeTransfer) { |
|
| 54 | 54 | return $this->executeUpdateNavigationNodeTransaction($navigationNodeTransfer); |
| 55 | 55 | }); |
| 56 | 56 | } |
@@ -48,7 +48,7 @@ |
||
| 48 | 48 | { |
| 49 | 49 | $this->assertNavigationNodeForCreation($navigationNodeTransfer); |
| 50 | 50 | |
| 51 | - return $this->handleDatabaseTransaction(function () use ($navigationNodeTransfer) { |
|
| 51 | + return $this->handleDatabaseTransaction(function() use ($navigationNodeTransfer) { |
|
| 52 | 52 | return $this->executeCreateNavigationNodeTransaction($navigationNodeTransfer); |
| 53 | 53 | }); |
| 54 | 54 | } |
@@ -47,7 +47,7 @@ |
||
| 47 | 47 | { |
| 48 | 48 | $this->assertNavigationNodeForDelete($navigationNodeTransfer); |
| 49 | 49 | |
| 50 | - $this->handleDatabaseTransaction(function () use ($navigationNodeTransfer) { |
|
| 50 | + $this->handleDatabaseTransaction(function() use ($navigationNodeTransfer) { |
|
| 51 | 51 | $this->executeDeleteNavigationNodeTransaction($navigationNodeTransfer); |
| 52 | 52 | }); |
| 53 | 53 | } |
@@ -374,14 +374,14 @@ |
||
| 374 | 374 | return $xml; |
| 375 | 375 | } |
| 376 | 376 | |
| 377 | - /** |
|
| 378 | - * Render partial for job description with publisher settings |
|
| 379 | - * it returns not empty XML entity if job has email notifications set. |
|
| 380 | - * |
|
| 381 | - * @param array $job |
|
| 382 | - * |
|
| 383 | - * @return string |
|
| 384 | - */ |
|
| 377 | + /** |
|
| 378 | + * Render partial for job description with publisher settings |
|
| 379 | + * it returns not empty XML entity if job has email notifications set. |
|
| 380 | + * |
|
| 381 | + * @param array $job |
|
| 382 | + * |
|
| 383 | + * @return string |
|
| 384 | + */ |
|
| 385 | 385 | protected function getPublisherString(array $job) |
| 386 | 386 | { |
| 387 | 387 | if (empty($job['notifications']) || !is_array($job['notifications'])) { |
@@ -54,7 +54,7 @@ |
||
| 54 | 54 | |
| 55 | 55 | Example: |
| 56 | 56 | - code:npm --build-all will build the client resources for the core, the project zed and the project yves code |
| 57 | -EOM |
|
| 57 | +eom |
|
| 58 | 58 | ); |
| 59 | 59 | |
| 60 | 60 | $this->addOption( |
@@ -123,7 +123,7 @@ |
||
| 123 | 123 | $this->info('Run command: ' . $command); |
| 124 | 124 | $process = new Process(explode(' ', $command), APPLICATION_ROOT_DIR); |
| 125 | 125 | $process->setTimeout(null); |
| 126 | - $process->run(function ($type, $buffer) { |
|
| 126 | + $process->run(function($type, $buffer) { |
|
| 127 | 127 | echo $buffer; |
| 128 | 128 | }); |
| 129 | 129 | |
@@ -30,7 +30,7 @@ |
||
| 30 | 30 | */ |
| 31 | 31 | public function queryImageSetByProductAbstractId($idProductAbstract) |
| 32 | 32 | { |
| 33 | - return $this->productImageQueryContainer->queryImageSetByProductAbstractId($idProductAbstract); |
|
| 33 | + return $this->productImageQueryContainer->queryImageSetByProductAbstractId($idProductAbstract); |
|
| 34 | 34 | } |
| 35 | 35 | |
| 36 | 36 | } |
@@ -85,11 +85,11 @@ |
||
| 85 | 85 | public function buildForm(FormBuilderInterface $builder, array $options) |
| 86 | 86 | { |
| 87 | 87 | $this->addCardType($builder) |
| 88 | - ->addCardNumber($builder) |
|
| 89 | - ->addNameOnCard($builder) |
|
| 90 | - ->addCardExpiresMonth($builder, $options) |
|
| 91 | - ->addCardExpiresYear($builder, $options) |
|
| 92 | - ->addCardSecurityCode($builder); |
|
| 88 | + ->addCardNumber($builder) |
|
| 89 | + ->addNameOnCard($builder) |
|
| 90 | + ->addCardExpiresMonth($builder, $options) |
|
| 91 | + ->addCardExpiresYear($builder, $options) |
|
| 92 | + ->addCardSecurityCode($builder); |
|
| 93 | 93 | } |
| 94 | 94 | |
| 95 | 95 | /** |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | */ |
| 41 | 41 | protected function injectCommands(Container $container) |
| 42 | 42 | { |
| 43 | - $container->extend(OmsDependencyProvider::COMMAND_PLUGINS, function (CommandCollectionInterface $commandCollection) { |
|
| 43 | + $container->extend(OmsDependencyProvider::COMMAND_PLUGINS, function(CommandCollectionInterface $commandCollection) { |
|
| 44 | 44 | $commandCollection->add(new RefundPlugin(), 'DummyPayment/Refund'); |
| 45 | 45 | $commandCollection->add(new PayPlugin(), 'DummyPayment/Pay'); |
| 46 | 46 | |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | */ |
| 58 | 58 | protected function injectConditions(Container $container) |
| 59 | 59 | { |
| 60 | - $container->extend(OmsDependencyProvider::CONDITION_PLUGINS, function (ConditionCollectionInterface $conditionCollection) { |
|
| 60 | + $container->extend(OmsDependencyProvider::CONDITION_PLUGINS, function(ConditionCollectionInterface $conditionCollection) { |
|
| 61 | 61 | $conditionCollection->add(new IsAuthorizedPlugin(), 'DummyPayment/IsAuthorized'); |
| 62 | 62 | $conditionCollection->add(new IsPayedPlugin(), 'DummyPayment/IsPayed'); |
| 63 | 63 | |
@@ -38,7 +38,7 @@ |
||
| 38 | 38 | */ |
| 39 | 39 | protected function injectPaymentPlugins(Container $container) |
| 40 | 40 | { |
| 41 | - $container->extend(PaymentDependencyProvider::CHECKOUT_PLUGINS, function (CheckoutPluginCollection $pluginCollection) { |
|
| 41 | + $container->extend(PaymentDependencyProvider::CHECKOUT_PLUGINS, function(CheckoutPluginCollection $pluginCollection) { |
|
| 42 | 42 | $pluginCollection->add(new DummyPaymentPreCheckPlugin(), DummyPaymentConfig::PROVIDER_NAME, PaymentDependencyProvider::CHECKOUT_PRE_CHECK_PLUGINS); |
| 43 | 43 | $pluginCollection->add(new DummyPaymentSaveOrderPlugin(), DummyPaymentConfig::PROVIDER_NAME, PaymentDependencyProvider::CHECKOUT_ORDER_SAVER_PLUGINS); |
| 44 | 44 | $pluginCollection->add(new DummyPaymentPostCheckPlugin(), DummyPaymentConfig::PROVIDER_NAME, PaymentDependencyProvider::CHECKOUT_POST_SAVE_PLUGINS); |