diff --git a/composer.json b/composer.json
index 050d45c3..0a398d81 100644
--- a/composer.json
+++ b/composer.json
@@ -8,7 +8,7 @@
"spryker/kernel": "^3.0.0",
"spryker/locale": "^3.0.0",
"spryker/mail": "^4.0.0",
- "spryker/propel-orm": "^1.0.0",
+ "spryker/propel-orm": "^1.5.0",
"spryker/sequence-number": "^3.0.0",
"spryker/session": "^3.0.0",
"spryker/symfony": "^3.0.0",
diff --git a/src/Spryker/Client/Customer/CustomerClient.php b/src/Spryker/Client/Customer/CustomerClient.php
index b96c2edd..30e2ea2a 100644
--- a/src/Spryker/Client/Customer/CustomerClient.php
+++ b/src/Spryker/Client/Customer/CustomerClient.php
@@ -16,29 +16,6 @@
*/
class CustomerClient extends AbstractClient implements CustomerClientInterface
{
- /**
- * {@inheritdoc}
- *
- * @api
- *
- * @param \Generated\Shared\Transfer\CustomerTransfer $customerTransfer
- *
- * @return bool
- */
- public function hasCustomerWithEmailAndPassword(CustomerTransfer $customerTransfer)
- {
- $customerResponseTransfer = $this->getFactory()
- ->createZedCustomerStub()
- ->hasCustomerWithEmailAndPassword($customerTransfer);
-
- $hasCustomer = $customerResponseTransfer->getHasCustomer();
- if ($hasCustomer === true) {
- $this->setCustomer($customerResponseTransfer->getCustomerTransfer());
- }
-
- return $hasCustomer;
- }
-
/**
* {@inheritdoc}
*
diff --git a/src/Spryker/Client/Customer/CustomerClientInterface.php b/src/Spryker/Client/Customer/CustomerClientInterface.php
index 4dcc37e7..714af97b 100644
--- a/src/Spryker/Client/Customer/CustomerClientInterface.php
+++ b/src/Spryker/Client/Customer/CustomerClientInterface.php
@@ -12,19 +12,6 @@
interface CustomerClientInterface
{
- /**
- * Specification:
- * - Checks if customer exists in persistent storage by provided email and plain text password.
- * - Stores found customer information in session.
- *
- * @api
- *
- * @param \Generated\Shared\Transfer\CustomerTransfer $customerTransfer
- *
- * @return bool
- */
- public function hasCustomerWithEmailAndPassword(CustomerTransfer $customerTransfer);
-
/**
* Specification:
* - Checks if customer exists in persistent storage by provided email and plain text password.
diff --git a/src/Spryker/Shared/Customer/CustomerConstants.php b/src/Spryker/Shared/Customer/CustomerConstants.php
index ad1f029c..28892faf 100644
--- a/src/Spryker/Shared/Customer/CustomerConstants.php
+++ b/src/Spryker/Shared/Customer/CustomerConstants.php
@@ -12,11 +12,9 @@ interface CustomerConstants
const CUSTOMER_ANONYMOUS_PATTERN = 'CUSTOMER_ANONYMOUS_PATTERN';
const CUSTOMER_SECURED_PATTERN = 'CUSTOMER_SECURED_PATTERN';
- /** @deprecated Use CustomerConstants::BASE_URL_YVES instead */
- const HOST_YVES = 'HOST_YVES';
-
/**
- * Base URL for Yves including scheme and port (e.g. http://www.de.demoshop.local:8080)
+ * Specification:
+ * - Base URL for Yves including scheme and port (e.g. http://www.de.demoshop.local:8080)
*
* @api
*/
diff --git a/src/Spryker/Zed/Customer/Business/Anonymizer/CustomerAnonymizer.php b/src/Spryker/Zed/Customer/Business/Anonymizer/CustomerAnonymizer.php
index fba7a1d9..dd1d0fce 100644
--- a/src/Spryker/Zed/Customer/Business/Anonymizer/CustomerAnonymizer.php
+++ b/src/Spryker/Zed/Customer/Business/Anonymizer/CustomerAnonymizer.php
@@ -47,8 +47,7 @@ class CustomerAnonymizer implements CustomerAnonymizerInterface
* @param array $customerAnonymizerPlugins
*/
public function __construct(
- CustomerQueryContainerInterface
- $customerQueryContainer,
+ CustomerQueryContainerInterface $customerQueryContainer,
CustomerInterface $customerModel,
AddressInterface $addressModel,
array $customerAnonymizerPlugins
diff --git a/src/Spryker/Zed/Customer/Business/Customer/Address.php b/src/Spryker/Zed/Customer/Business/Customer/Address.php
index 2126fb27..de1905d7 100644
--- a/src/Spryker/Zed/Customer/Business/Customer/Address.php
+++ b/src/Spryker/Zed/Customer/Business/Customer/Address.php
@@ -15,7 +15,6 @@
use Orm\Zed\Customer\Persistence\SpyCustomerAddress;
use Propel\Runtime\Collection\ObjectCollection;
use Spryker\Zed\Customer\Business\Exception\AddressNotFoundException;
-use Spryker\Zed\Customer\Business\Exception\CountryNotFoundException;
use Spryker\Zed\Customer\Business\Exception\CustomerNotFoundException;
use Spryker\Zed\Customer\Dependency\Facade\CustomerToCountryInterface;
use Spryker\Zed\Customer\Dependency\Facade\CustomerToLocaleInterface;
@@ -352,22 +351,13 @@ protected function getCustomerFromCustomerTransfer(CustomerTransfer $customerTra
}
/**
- * @throws \Spryker\Zed\Customer\Business\Exception\CountryNotFoundException
- *
* @return int
*/
protected function getCustomerCountryId()
{
- $idCountry = $this->countryFacade->getIdCountryByIso2Code($this->getIsoCode());
-
- if ($idCountry === null) {
- throw new CountryNotFoundException(sprintf(
- 'Country not found for ISO code `%s`.',
- $this->getIsoCode()
- ));
- }
+ $countryTransfer = $this->countryFacade->getCountryByIso2Code($this->getIsoCode());
- return $idCountry;
+ return $countryTransfer->getIdCountry();
}
/**
@@ -465,7 +455,8 @@ protected function retrieveFkCountry(AddressTransfer $addressTransfer)
if (empty($fkCountry)) {
$iso2Code = $addressTransfer->getIso2Code();
if (empty($iso2Code) === false) {
- $fkCountry = $this->countryFacade->getIdCountryByIso2Code($iso2Code);
+ $countryTransfer = $this->countryFacade->getCountryByIso2Code($iso2Code);
+ $fkCountry = $countryTransfer->getIdCountry();
} else {
$fkCountry = $this->getCustomerCountryId();
}
diff --git a/src/Spryker/Zed/Customer/Business/CustomerFacade.php b/src/Spryker/Zed/Customer/Business/CustomerFacade.php
index 1bed9a60..42a0c4fe 100644
--- a/src/Spryker/Zed/Customer/Business/CustomerFacade.php
+++ b/src/Spryker/Zed/Customer/Business/CustomerFacade.php
@@ -83,22 +83,6 @@ public function confirmRegistration(CustomerTransfer $customerTransfer)
->confirmRegistration($customerTransfer);
}
- /**
- * {@inheritdoc}
- *
- * @api
- *
- * @deprecated Use CustomerFacade::sendPasswordRestoreMail() instead
- *
- * @param \Generated\Shared\Transfer\CustomerTransfer $customerTransfer
- *
- * @return \Generated\Shared\Transfer\CustomerResponseTransfer
- */
- public function forgotPassword(CustomerTransfer $customerTransfer)
- {
- return $this->sendPasswordRestoreMail($customerTransfer);
- }
-
/**
* {@inheritdoc}
*
@@ -431,7 +415,7 @@ public function tryAuthorizeCustomerByEmailAndPassword(CustomerTransfer $custome
*/
public function saveCustomerForOrder(
QuoteTransfer $quoteTransfer,
- CheckoutResponseTransfer $checkoutResponseTransfer
+ CheckoutResponseTransfer $checkoutResponseTransfer
) {
$this->getFactory()->createCustomerOrderSaver()->saveOrder($quoteTransfer, $checkoutResponseTransfer);
}
@@ -448,7 +432,7 @@ public function saveCustomerForOrder(
*/
public function checkOrderPreSaveConditions(
QuoteTransfer $quoteTransfer,
- CheckoutResponseTransfer $checkoutResponseTransfer
+ CheckoutResponseTransfer $checkoutResponseTransfer
) {
$this->getFactory()
->createPreConditionChecker()
diff --git a/src/Spryker/Zed/Customer/Business/CustomerFacadeInterface.php b/src/Spryker/Zed/Customer/Business/CustomerFacadeInterface.php
index 721e8806..cea9b2c5 100644
--- a/src/Spryker/Zed/Customer/Business/CustomerFacadeInterface.php
+++ b/src/Spryker/Zed/Customer/Business/CustomerFacadeInterface.php
@@ -74,20 +74,6 @@ public function registerCustomer(CustomerTransfer $customerTransfer);
*/
public function confirmRegistration(CustomerTransfer $customerTransfer);
- /**
- * Specification:
- * - Sends password restoration link via email using a freshly generated password restoration key.
- *
- * @api
- *
- * @deprecated Use sendPasswordRestoreMail() instead
- *
- * @param \Generated\Shared\Transfer\CustomerTransfer $customerTransfer
- *
- * @return \Generated\Shared\Transfer\CustomerResponseTransfer
- */
- public function forgotPassword(CustomerTransfer $customerTransfer);
-
/**
* Specification:
* - Sends password restoration link via email using a freshly generated password restoration key.
@@ -365,7 +351,7 @@ public function tryAuthorizeCustomerByEmailAndPassword(CustomerTransfer $custome
*/
public function saveCustomerForOrder(
QuoteTransfer $quoteTransfer,
- CheckoutResponseTransfer $checkoutResponseTransfer
+ CheckoutResponseTransfer $checkoutResponseTransfer
);
/**
@@ -382,7 +368,7 @@ public function saveCustomerForOrder(
*/
public function checkOrderPreSaveConditions(
QuoteTransfer $quoteTransfer,
- CheckoutResponseTransfer $checkoutResponseTransfer
+ CheckoutResponseTransfer $checkoutResponseTransfer
);
/**
diff --git a/src/Spryker/Zed/Customer/Business/Exception/CountryNotFoundException.php b/src/Spryker/Zed/Customer/Business/Exception/CountryNotFoundException.php
deleted file mode 100644
index 6627b469..00000000
--- a/src/Spryker/Zed/Customer/Business/Exception/CountryNotFoundException.php
+++ /dev/null
@@ -1,14 +0,0 @@
- $form->createView(),
]);
}
-
- /**
- * @return \Generated\Shared\Transfer\CustomerTransfer
- */
- protected function createCustomerTransfer()
- {
- return new CustomerTransfer();
- }
}
diff --git a/src/Spryker/Zed/Customer/Communication/Controller/AddressController.php b/src/Spryker/Zed/Customer/Communication/Controller/AddressController.php
index 9eed7cef..2a61d3ea 100644
--- a/src/Spryker/Zed/Customer/Communication/Controller/AddressController.php
+++ b/src/Spryker/Zed/Customer/Communication/Controller/AddressController.php
@@ -18,84 +18,6 @@
*/
class AddressController extends AbstractController
{
- /**
- * @deprecated moved to Customer view page ViewController->indexAction()
- *
- * @param \Symfony\Component\HttpFoundation\Request $request
- *
- * @return array
- */
- public function indexAction(Request $request)
- {
- $idCustomerRaw = $request->get(CustomerConstants::PARAM_ID_CUSTOMER);
-
- if (empty($idCustomerRaw)) {
- return $this->redirectResponse('/customer');
- }
-
- $idCustomer = $this->castId($idCustomerRaw);
-
- $table = $this->getFactory()
- ->createCustomerAddressTable($idCustomer);
-
- return $this->viewResponse([
- 'addressTable' => $table->render(),
- 'idCustomer' => $idCustomer,
- ]);
- }
-
- /**
- * @deprecated moved to Customer view page ViewController->indexAction()
- *
- * @param \Symfony\Component\HttpFoundation\Request $request
- *
- * @return \Symfony\Component\HttpFoundation\JsonResponse
- */
- public function tableAction(Request $request)
- {
- $idCustomer = $this->castId($request->get(CustomerConstants::PARAM_ID_CUSTOMER));
-
- $table = $this->getFactory()
- ->createCustomerAddressTable($idCustomer);
-
- return $this->jsonResponse($table->fetchData());
- }
-
- /**
- * @deprecated Address has no detail page anymore
- *
- * @param \Symfony\Component\HttpFoundation\Request $request
- *
- * @return array
- */
- public function viewAction(Request $request)
- {
- $idCustomer = false;
- $idCustomerAddress = $this->castId($request->get(CustomerConstants::PARAM_ID_CUSTOMER_ADDRESS));
-
- $customerAddress = $this->createCustomerAddressTransfer();
- $customerAddress->setIdCustomerAddress($idCustomerAddress);
-
- $addressDetails = $this->getFacade()
- ->getAddress($customerAddress);
-
- if (empty($addressDetails) === false) {
- $idCustomer = $addressDetails->getFkCustomer();
- }
-
- $customerAddressTransfer = $this->createCustomerAddressTransfer();
- $customerAddressTransfer->setIdCustomerAddress($idCustomerAddress);
-
- $address = $this->getFacade()
- ->getAddress($customerAddressTransfer);
-
- return $this->viewResponse([
- 'address' => $address->toArray(),
- 'idCustomer' => $idCustomer,
- 'idCustomerAddress' => $idCustomerAddress,
- ]);
- }
-
/**
* @param \Symfony\Component\HttpFoundation\Request $request
*
diff --git a/src/Spryker/Zed/Customer/Communication/Controller/ProfileController.php b/src/Spryker/Zed/Customer/Communication/Controller/ProfileController.php
deleted file mode 100644
index fed49552..00000000
--- a/src/Spryker/Zed/Customer/Communication/Controller/ProfileController.php
+++ /dev/null
@@ -1,181 +0,0 @@
-castId($request->query->get('id'));
-
- $form = $this->getFactory()
- ->createCustomerForm($idCustomer);
-
- $customerTransfer = new CustomerTransfer();
- $customerTransfer->setIdCustomer($idCustomer);
- $customerTransfer = $this->getFacade()
- ->getCustomer($customerTransfer);
-
- try {
- $idShippingAddress = $this->getFacade()
- ->getDefaultShippingAddress($customerTransfer)
- ->getIdCustomerAddress();
- } catch (AddressNotFoundException $e) {
- $idShippingAddress = null;
- }
-
- try {
- $idBillingAddress = $this->getFacade()
- ->getDefaultBillingAddress($customerTransfer)
- ->getIdCustomerAddress();
- } catch (AddressNotFoundException $e) {
- $idBillingAddress = null;
- }
-
- $addresses = [];
- $addressesItems = $customerTransfer->getAddresses()
- ->getAddresses();
- foreach ($addressesItems as $address) {
- $addresses[] = [
- 'id' => $address->getIdCustomerAddress(),
- 'first_name' => $address->getFirstName(),
- 'last_name' => $address->getLastName(),
- 'address1' => $address->getAddress1(),
- 'address2' => $address->getAddress2(),
- 'address3' => $address->getAddress3(),
- 'company' => $address->getCompany(),
- 'zipCode' => $address->getZipCode(),
- 'city' => $address->getCity(),
- 'isDefaultBilling' => ($address->getIdCustomerAddress() === $idBillingAddress),
- 'isDefaultShipping' => ($address->getIdCustomerAddress() === $idShippingAddress),
- ];
- }
-
- return [
- 'idCustomer' => $customerTransfer->getIdCustomer(),
- 'customerJson' => json_encode($form->toArray()),
- 'registered' => $customerTransfer->getRegistered(),
- 'addresses' => $addresses,
- 'form' => $form->renderDataForTwig()[self::OUTPUT_PAYLOAD]['fields'],
- ];
- }
-
- /**
- * @param \Symfony\Component\HttpFoundation\Request $request
- *
- * @return \Symfony\Component\HttpFoundation\RedirectResponse
- */
- public function sendPasswordRestoreTokenAction(Request $request)
- {
- $customerTransfer = new CustomerTransfer();
- $customerTransfer->setIdCustomer($this->castId($request->query->get('id')));
- $this->getFacade()
- ->sendPasswordRestoreMail($customerTransfer);
-
- return $this->redirectResponse('/customer/profile?id=' . $this->castId($request->query->get('id')));
- }
-
- /**
- * @param \Symfony\Component\HttpFoundation\Request $request
- *
- * @return \Symfony\Component\HttpFoundation\JsonResponse
- */
- public function editAction(Request $request)
- {
- $form = $this->getFactory()
- ->createCustomerForm($request);
-
- if ($form->isValid() === true) {
- $customerTransfer = new CustomerTransfer();
- $customerTransfer->fromArray($form->getRequestData());
- $this->getFacade()
- ->updateCustomer($customerTransfer);
- }
-
- return $this->jsonResponse($form->renderData());
- }
-
- /**
- * @param \Symfony\Component\HttpFoundation\Request $request
- *
- * @return \Symfony\Component\HttpFoundation\JsonResponse
- */
- public function addressAction(Request $request)
- {
- $form = $this->getFactory()
- ->createAddressForm($request);
-
- if ($form->isValid() === true) {
- $addressTransfer = new AddressTransfer();
- $addressTransfer->fromArray($form->getRequestData());
- if ($addressTransfer->getIdCustomerAddress()) {
- $this->getFacade()
- ->updateAddress($addressTransfer);
-
- return $this->jsonResponse($form->renderData());
- }
-
- $this->getFacade()
- ->createAddress($addressTransfer);
- }
-
- return $this->jsonResponse($form->renderData());
- }
-
- /**
- * @param \Symfony\Component\HttpFoundation\Request $request
- *
- * @return \Symfony\Component\HttpFoundation\RedirectResponse
- */
- public function setDefaultShippingAddressAction(Request $request)
- {
- $addressTransfer = new AddressTransfer();
- $addressTransfer->setIdCustomerAddress($this->castId($request->query->get('address_id')));
- $addressTransfer->setFkCustomer($this->castId($request->query->get('customer_id')));
- $this->getFacade()
- ->setDefaultShippingAddress($addressTransfer);
-
- return $this->redirectResponse('/customer/profile?id=' . $this->castId($request->query->get('customer_id')));
- }
-
- /**
- * @param \Symfony\Component\HttpFoundation\Request $request
- *
- * @return \Symfony\Component\HttpFoundation\RedirectResponse
- */
- public function setDefaultBillingAddressAction(Request $request)
- {
- $addressTransfer = new AddressTransfer();
- $addressTransfer->setIdCustomerAddress($this->castId($request->query->get('address_id')));
- $addressTransfer->setFkCustomer($this->castId($request->query->get('customer_id')));
- $this->getFacade()
- ->setDefaultBillingAddress($addressTransfer);
-
- return $this->redirectResponse('/customer/profile?id=' . $this->castId($request->query->get('customer_id')));
- }
-}
diff --git a/src/Spryker/Zed/Customer/Communication/Form/AddressForm.php b/src/Spryker/Zed/Customer/Communication/Form/AddressForm.php
index 84f7e8bc..29b17d4f 100644
--- a/src/Spryker/Zed/Customer/Communication/Form/AddressForm.php
+++ b/src/Spryker/Zed/Customer/Communication/Form/AddressForm.php
@@ -10,7 +10,6 @@
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;
-use Symfony\Component\OptionsResolver\OptionsResolverInterface;
use Symfony\Component\Validator\Constraints\Length;
use Symfony\Component\Validator\Constraints\NotBlank;
use Symfony\Component\Validator\Constraints\Required;
@@ -53,18 +52,6 @@ public function configureOptions(OptionsResolver $resolver)
]);
}
- /**
- * @deprecated Use `configureOptions()` instead.
- *
- * @param \Symfony\Component\OptionsResolver\OptionsResolverInterface $resolver
- *
- * @return void
- */
- public function setDefaultOptions(OptionsResolverInterface $resolver)
- {
- $this->configureOptions($resolver);
- }
-
/**
* @param \Symfony\Component\Form\FormBuilderInterface $builder
* @param array $options
diff --git a/src/Spryker/Zed/Customer/Communication/Form/CustomerForm.php b/src/Spryker/Zed/Customer/Communication/Form/CustomerForm.php
index 9fc617d0..d069b98e 100644
--- a/src/Spryker/Zed/Customer/Communication/Form/CustomerForm.php
+++ b/src/Spryker/Zed/Customer/Communication/Form/CustomerForm.php
@@ -11,7 +11,6 @@
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;
-use Symfony\Component\OptionsResolver\OptionsResolverInterface;
use Symfony\Component\Validator\Constraints\Callback;
use Symfony\Component\Validator\Constraints\Email;
use Symfony\Component\Validator\Constraints\Length;
@@ -64,18 +63,6 @@ public function configureOptions(OptionsResolver $resolver)
$resolver->setRequired(self::OPTION_GENDER_CHOICES);
}
- /**
- * @deprecated Use `configureOptions()` instead.
- *
- * @param \Symfony\Component\OptionsResolver\OptionsResolverInterface $resolver
- *
- * @return void
- */
- public function setDefaultOptions(OptionsResolverInterface $resolver)
- {
- $this->configureOptions($resolver);
- }
-
/**
* @param \Symfony\Component\Form\FormBuilderInterface $builder
* @param array $options
diff --git a/src/Spryker/Zed/Customer/Communication/Form/CustomerUpdateForm.php b/src/Spryker/Zed/Customer/Communication/Form/CustomerUpdateForm.php
index 6d2d26ab..27866a77 100644
--- a/src/Spryker/Zed/Customer/Communication/Form/CustomerUpdateForm.php
+++ b/src/Spryker/Zed/Customer/Communication/Form/CustomerUpdateForm.php
@@ -9,7 +9,6 @@
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;
-use Symfony\Component\OptionsResolver\OptionsResolverInterface;
class CustomerUpdateForm extends CustomerForm
{
@@ -30,18 +29,6 @@ public function configureOptions(OptionsResolver $resolver)
$resolver->setRequired(self::OPTION_ADDRESS_CHOICES);
}
- /**
- * @deprecated Use `configureOptions()` instead.
- *
- * @param \Symfony\Component\OptionsResolver\OptionsResolverInterface $resolver
- *
- * @return void
- */
- public function setDefaultOptions(OptionsResolverInterface $resolver)
- {
- $this->configureOptions($resolver);
- }
-
/**
* @param \Symfony\Component\Form\FormBuilderInterface $builder
* @param array $options
diff --git a/src/Spryker/Zed/Customer/CustomerConfig.php b/src/Spryker/Zed/Customer/CustomerConfig.php
index ef3390ff..d38fb1b7 100644
--- a/src/Spryker/Zed/Customer/CustomerConfig.php
+++ b/src/Spryker/Zed/Customer/CustomerConfig.php
@@ -23,10 +23,7 @@ class CustomerConfig extends AbstractBundleConfig
*/
public function getHostYves()
{
- return $this->getConfig()->hasKey(CustomerConstants::BASE_URL_YVES)
- ? $this->get(CustomerConstants::BASE_URL_YVES)
- // @deprecated this is just for backward compatibility
- : $this->get(CustomerConstants::HOST_YVES);
+ return $this->get(CustomerConstants::BASE_URL_YVES);
}
/**
diff --git a/src/Spryker/Zed/Customer/Dependency/Facade/CustomerToCountryBridge.php b/src/Spryker/Zed/Customer/Dependency/Facade/CustomerToCountryBridge.php
index 5277c150..a680fdc4 100644
--- a/src/Spryker/Zed/Customer/Dependency/Facade/CustomerToCountryBridge.php
+++ b/src/Spryker/Zed/Customer/Dependency/Facade/CustomerToCountryBridge.php
@@ -40,18 +40,6 @@ public function getAvailableCountries()
return $this->countryFacade->getAvailableCountries();
}
- /**
- * @deprecated Use getCountryByIso2Code() instead.
- *
- * @param string $iso2Code
- *
- * @return int
- */
- public function getIdCountryByIso2Code($iso2Code)
- {
- return $this->countryFacade->getIdCountryByIso2Code($iso2Code);
- }
-
/**
* @param string $iso2Code
*
diff --git a/src/Spryker/Zed/Customer/Dependency/Facade/CustomerToCountryInterface.php b/src/Spryker/Zed/Customer/Dependency/Facade/CustomerToCountryInterface.php
index f3f39a6e..a7d2a7ee 100644
--- a/src/Spryker/Zed/Customer/Dependency/Facade/CustomerToCountryInterface.php
+++ b/src/Spryker/Zed/Customer/Dependency/Facade/CustomerToCountryInterface.php
@@ -9,15 +9,6 @@
interface CustomerToCountryInterface
{
- /**
- * @deprecated Use getCountryByIso2Code() instead.
- *
- * @param string $iso2Code
- *
- * @return int
- */
- public function getIdCountryByIso2Code($iso2Code);
-
/**
* @param string $countryName
*
diff --git a/src/Spryker/Zed/Customer/Dependency/Service/CustomerToUtilSanitizeInterface.php b/src/Spryker/Zed/Customer/Dependency/Service/CustomerToUtilSanitizeInterface.php
deleted file mode 100644
index 915a7c0d..00000000
--- a/src/Spryker/Zed/Customer/Dependency/Service/CustomerToUtilSanitizeInterface.php
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
+
+
diff --git a/tests/SprykerTest/Zed/Customer/codeception.yml b/tests/SprykerTest/Zed/Customer/codeception.yml
index 0091d2c6..0ad65614 100644
--- a/tests/SprykerTest/Zed/Customer/codeception.yml
+++ b/tests/SprykerTest/Zed/Customer/codeception.yml
@@ -42,4 +42,13 @@ suites:
depends: \SprykerTest\Shared\Testify\Helper\ZedBootstrap
- \SprykerTest\Shared\Testify\Helper\ZedBootstrap:
depends: \SprykerTest\Shared\Testify\Helper\BundleConfig
+ serviceProvider:
+ - Spryker\Shared\Application\ServiceProvider\FormFactoryServiceProvider
+ - Spryker\Zed\Application\Communication\Plugin\ServiceProvider\MvcRoutingServiceProvider
+ - Spryker\Zed\Application\Communication\Plugin\ServiceProvider\RoutingServiceProvider
+ - Spryker\Zed\Application\Communication\Plugin\ServiceProvider\RequestServiceProvider
+ - Spryker\Zed\Application\Communication\Plugin\ServiceProvider\TranslationServiceProvider
+ - Spryker\Zed\Gui\Communication\Plugin\ServiceProvider\GuiTwigExtensionServiceProvider
+ - Spryker\Zed\Twig\Communication\Plugin\ServiceProvider\TwigServiceProvider
+ - Spryker\Zed\ZedNavigation\Communication\Plugin\ServiceProvider\ZedNavigationServiceProvider
- \SprykerTest\Shared\Customer\Helper\CustomerDataHelper