Skip to content

Commit

Permalink
Merge pull request #54 from spryker-eco/bugfix/te-6867/all-console-co…
Browse files Browse the repository at this point in the history
…mmands-return-exit-code-0

TE-6867 All console commands return exit code 0
  • Loading branch information
Spryker Release Bot authored Jul 3, 2020
2 parents e1a92df + aeb49c6 commit 9b4c280
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 21 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
MIT License
The MIT License (MIT)

Copyright (c) 2016-present Spryker Systems GmbH

Expand Down
13 changes: 8 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"spryker/log": "^3.0.0",
"spryker/oms": "^6.0.0 || ^7.0.0 || ^8.0.0 || ^10.0.0 || ^11.0.0",
"spryker/propel-orm": "^1.0.0",
"spryker/quote": "^2.14.0",
"spryker/refund": "^4.0.0 || ^5.0.0",
"spryker/sales": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 || ^10.0.0 || ^11.0.0",
"spryker/shipment": "^6.0.0 || ^8.0.0",
Expand All @@ -26,6 +27,8 @@
},
"require-dev": {
"spryker/application": "^3.0.0",
"spryker/checkout": "*",
"spryker/code-sniffer": "*",
"spryker/country": "^3.2.0",
"spryker/payment": "^4.0.0 || ^5.0.0 ",
"spryker/propel": "*",
Expand All @@ -45,20 +48,20 @@
"SprykerEco\\": "src/SprykerEco/"
}
},
"scripts": {
"cs-check": "phpcs --standard=vendor/spryker/code-sniffer/SprykerStrict/ruleset.xml -p src/ tests/",
"cs-fix": "phpcbf --standard=vendor/spryker/code-sniffer/SprykerStrict/ruleset.xml -p src/ tests/"
},
"autoload-dev": {
"psr-4": {
"SprykerEcoTest\\": "tests/SprykerEcoTest/"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"cs-check": "phpcs -p -s --standard=vendor/spryker/code-sniffer/Spryker/ruleset.xml src/ tests/",
"cs-fix": "phpcbf -p --standard=vendor/spryker/code-sniffer/Spryker/ruleset.xml src/ tests/"
},
"extra": {
"branch-alias": {
"dev-master": "3.0.x-dev"
"dev-master": "4.0.x-dev"
}
},
"config": {
Expand Down
8 changes: 4 additions & 4 deletions src/SprykerEco/Client/Payone/PayoneDependencyProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ class PayoneDependencyProvider extends AbstractDependencyProvider
*/
public function provideServiceLayerDependencies(Container $container)
{
$container[self::SERVICE_ZED] = function (Container $container) {
$container->set(static::SERVICE_ZED, function (Container $container) {
return $container->getLocator()->zedRequest()->client();
};
});

$container[self::SERVICE_UTIL_ENCODING] = function (Container $container) {
$container->set(static::SERVICE_UTIL_ENCODING, function (Container $container) {
return $container->getLocator()->utilEncoding()->service();
};
});

return $container;
}
Expand Down
20 changes: 10 additions & 10 deletions src/SprykerEco/Yves/Payone/PayoneDependencyProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,25 +35,25 @@ class PayoneDependencyProvider extends AbstractBundleDependencyProvider
*/
public function provideDependencies(Container $container)
{
$container[self::CLIENT_PAYONE] = function (Container $container) {
$container->set(static::CLIENT_PAYONE, function (Container $container) {
return $container->getLocator()->payone()->client();
};
});

$container[self::CLIENT_CUSTOMER] = function (Container $container) {
$container->set(static::CLIENT_CUSTOMER, function (Container $container) {
return new PayoneToCustomerBridge($container->getLocator()->customer()->client());
};
});

$container[self::CLIENT_CART] = function (Container $container) {
$container->set(static::CLIENT_CART, function (Container $container) {
return new PayoneToCartBridge($container->getLocator()->cart()->client());
};
});

$container[self::CLIENT_SHIPMENT] = function (Container $container) {
$container->set(static::CLIENT_SHIPMENT, function (Container $container) {
return new PayoneToShipmentBridge($container->getLocator()->shipment()->client());
};
});

$container[self::CLIENT_CALCULATION] = function (Container $container) {
$container->set(static::CLIENT_CALCULATION, function (Container $container) {
return new PayoneToCalculationBridge($container->getLocator()->calculation()->client());
};
});

$container = $this->addQuoteClient($container);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
<index-column name="sequence_number"/>
</index>

<index name="index-spy_payment_payone_api_log-request-created_at-id_payment_payone_api_log">
<index name="index-spy_payment_payone_api_log-request-created_at-id">
<index-column name="request" size="1"/>
<index-column name="created_at"/>
<index-column name="id_payment_payone_api_log"/>
Expand Down

0 comments on commit 9b4c280

Please sign in to comment.