diff --git a/src/Sylius/Bundle/CoreBundle/CatalogPromotion/Validator/CatalogPromotionScope/ForProductsScopeValidator.php b/src/Sylius/Bundle/CoreBundle/CatalogPromotion/Validator/CatalogPromotionScope/ForProductsScopeValidator.php index 9f695d4c4944..9d24a825eaba 100644 --- a/src/Sylius/Bundle/CoreBundle/CatalogPromotion/Validator/CatalogPromotionScope/ForProductsScopeValidator.php +++ b/src/Sylius/Bundle/CoreBundle/CatalogPromotion/Validator/CatalogPromotionScope/ForProductsScopeValidator.php @@ -14,6 +14,7 @@ namespace Sylius\Bundle\CoreBundle\CatalogPromotion\Validator\CatalogPromotionScope; use Sylius\Bundle\CoreBundle\CatalogPromotion\Validator\Constraints\CatalogPromotionScope; +use Sylius\Bundle\PromotionBundle\Validator\CatalogPromotionScope\ScopeValidatorInterface; use Sylius\Component\Core\Repository\ProductRepositoryInterface; use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\Context\ExecutionContextInterface; diff --git a/src/Sylius/Bundle/CoreBundle/CatalogPromotion/Validator/CatalogPromotionScope/ForTaxonsScopeValidator.php b/src/Sylius/Bundle/CoreBundle/CatalogPromotion/Validator/CatalogPromotionScope/ForTaxonsScopeValidator.php index 3eb43ed2550d..5547f59c0a69 100644 --- a/src/Sylius/Bundle/CoreBundle/CatalogPromotion/Validator/CatalogPromotionScope/ForTaxonsScopeValidator.php +++ b/src/Sylius/Bundle/CoreBundle/CatalogPromotion/Validator/CatalogPromotionScope/ForTaxonsScopeValidator.php @@ -14,6 +14,7 @@ namespace Sylius\Bundle\CoreBundle\CatalogPromotion\Validator\CatalogPromotionScope; use Sylius\Bundle\CoreBundle\CatalogPromotion\Validator\Constraints\CatalogPromotionScope; +use Sylius\Bundle\PromotionBundle\Validator\CatalogPromotionScope\ScopeValidatorInterface; use Sylius\Component\Taxonomy\Repository\TaxonRepositoryInterface; use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\Context\ExecutionContextInterface; diff --git a/src/Sylius/Bundle/CoreBundle/CatalogPromotion/Validator/CatalogPromotionScope/ForVariantsScopeValidator.php b/src/Sylius/Bundle/CoreBundle/CatalogPromotion/Validator/CatalogPromotionScope/ForVariantsScopeValidator.php index 8ec1d387c064..ee403de45d76 100644 --- a/src/Sylius/Bundle/CoreBundle/CatalogPromotion/Validator/CatalogPromotionScope/ForVariantsScopeValidator.php +++ b/src/Sylius/Bundle/CoreBundle/CatalogPromotion/Validator/CatalogPromotionScope/ForVariantsScopeValidator.php @@ -14,6 +14,7 @@ namespace Sylius\Bundle\CoreBundle\CatalogPromotion\Validator\CatalogPromotionScope; use Sylius\Bundle\CoreBundle\CatalogPromotion\Validator\Constraints\CatalogPromotionScope; +use Sylius\Bundle\PromotionBundle\Validator\CatalogPromotionScope\ScopeValidatorInterface; use Sylius\Component\Core\Repository\ProductVariantRepositoryInterface; use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\Context\ExecutionContextInterface; diff --git a/src/Sylius/Bundle/CoreBundle/CatalogPromotion/Validator/Constraints/CatalogPromotionScopeValidator.php b/src/Sylius/Bundle/CoreBundle/CatalogPromotion/Validator/Constraints/CatalogPromotionScopeValidator.php index 4275b0120eae..fdaa2a5d4672 100644 --- a/src/Sylius/Bundle/CoreBundle/CatalogPromotion/Validator/Constraints/CatalogPromotionScopeValidator.php +++ b/src/Sylius/Bundle/CoreBundle/CatalogPromotion/Validator/Constraints/CatalogPromotionScopeValidator.php @@ -13,7 +13,7 @@ namespace Sylius\Bundle\CoreBundle\CatalogPromotion\Validator\Constraints; -use Sylius\Bundle\CoreBundle\CatalogPromotion\Validator\CatalogPromotionScope\ScopeValidatorInterface; +use Sylius\Bundle\PromotionBundle\Validator\CatalogPromotionScope\ScopeValidatorInterface; use Sylius\Component\Promotion\Model\CatalogPromotionScopeInterface; use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; diff --git a/src/Sylius/Bundle/CoreBundle/spec/CatalogPromotion/Validator/CatalogPromotionScope/ForProductsScopeValidatorSpec.php b/src/Sylius/Bundle/CoreBundle/spec/CatalogPromotion/Validator/CatalogPromotionScope/ForProductsScopeValidatorSpec.php index 8214e7f33df2..f781bc792323 100644 --- a/src/Sylius/Bundle/CoreBundle/spec/CatalogPromotion/Validator/CatalogPromotionScope/ForProductsScopeValidatorSpec.php +++ b/src/Sylius/Bundle/CoreBundle/spec/CatalogPromotion/Validator/CatalogPromotionScope/ForProductsScopeValidatorSpec.php @@ -14,8 +14,8 @@ namespace spec\Sylius\Bundle\CoreBundle\CatalogPromotion\Validator\CatalogPromotionScope; use PhpSpec\ObjectBehavior; -use Sylius\Bundle\CoreBundle\CatalogPromotion\Validator\CatalogPromotionScope\ScopeValidatorInterface; use Sylius\Bundle\CoreBundle\CatalogPromotion\Validator\Constraints\CatalogPromotionScope; +use Sylius\Bundle\PromotionBundle\Validator\CatalogPromotionScope\ScopeValidatorInterface; use Sylius\Component\Core\Model\ProductInterface; use Sylius\Component\Core\Repository\ProductRepositoryInterface; use Symfony\Component\Validator\Context\ExecutionContextInterface; diff --git a/src/Sylius/Bundle/CoreBundle/spec/CatalogPromotion/Validator/CatalogPromotionScope/ForTaxonsScopeValidatorSpec.php b/src/Sylius/Bundle/CoreBundle/spec/CatalogPromotion/Validator/CatalogPromotionScope/ForTaxonsScopeValidatorSpec.php index f682a69b4e4c..84bd88414c01 100644 --- a/src/Sylius/Bundle/CoreBundle/spec/CatalogPromotion/Validator/CatalogPromotionScope/ForTaxonsScopeValidatorSpec.php +++ b/src/Sylius/Bundle/CoreBundle/spec/CatalogPromotion/Validator/CatalogPromotionScope/ForTaxonsScopeValidatorSpec.php @@ -14,8 +14,8 @@ namespace spec\Sylius\Bundle\CoreBundle\CatalogPromotion\Validator\CatalogPromotionScope; use PhpSpec\ObjectBehavior; -use Sylius\Bundle\CoreBundle\CatalogPromotion\Validator\CatalogPromotionScope\ScopeValidatorInterface; use Sylius\Bundle\CoreBundle\CatalogPromotion\Validator\Constraints\CatalogPromotionScope; +use Sylius\Bundle\PromotionBundle\Validator\CatalogPromotionScope\ScopeValidatorInterface; use Sylius\Component\Core\Model\TaxonInterface; use Sylius\Component\Taxonomy\Repository\TaxonRepositoryInterface; use Symfony\Component\Validator\Context\ExecutionContextInterface; diff --git a/src/Sylius/Bundle/CoreBundle/spec/CatalogPromotion/Validator/CatalogPromotionScope/ForVariantsScopeValidatorSpec.php b/src/Sylius/Bundle/CoreBundle/spec/CatalogPromotion/Validator/CatalogPromotionScope/ForVariantsScopeValidatorSpec.php index 6e692f995055..82a5a924c88c 100644 --- a/src/Sylius/Bundle/CoreBundle/spec/CatalogPromotion/Validator/CatalogPromotionScope/ForVariantsScopeValidatorSpec.php +++ b/src/Sylius/Bundle/CoreBundle/spec/CatalogPromotion/Validator/CatalogPromotionScope/ForVariantsScopeValidatorSpec.php @@ -14,8 +14,8 @@ namespace spec\Sylius\Bundle\CoreBundle\CatalogPromotion\Validator\CatalogPromotionScope; use PhpSpec\ObjectBehavior; -use Sylius\Bundle\CoreBundle\CatalogPromotion\Validator\CatalogPromotionScope\ScopeValidatorInterface; use Sylius\Bundle\CoreBundle\CatalogPromotion\Validator\Constraints\CatalogPromotionScope; +use Sylius\Bundle\PromotionBundle\Validator\CatalogPromotionScope\ScopeValidatorInterface; use Sylius\Component\Core\Model\ProductVariantInterface; use Sylius\Component\Core\Repository\ProductVariantRepositoryInterface; use Symfony\Component\Validator\Context\ExecutionContextInterface; diff --git a/src/Sylius/Bundle/CoreBundle/spec/CatalogPromotion/Validator/Constraints/CatalogPromotionScopeValidatorSpec.php b/src/Sylius/Bundle/CoreBundle/spec/CatalogPromotion/Validator/Constraints/CatalogPromotionScopeValidatorSpec.php index e8d8e2e5d2da..b4556231cbd8 100644 --- a/src/Sylius/Bundle/CoreBundle/spec/CatalogPromotion/Validator/Constraints/CatalogPromotionScopeValidatorSpec.php +++ b/src/Sylius/Bundle/CoreBundle/spec/CatalogPromotion/Validator/Constraints/CatalogPromotionScopeValidatorSpec.php @@ -16,8 +16,8 @@ use PhpSpec\ObjectBehavior; use Sylius\Bundle\CoreBundle\CatalogPromotion\Checker\InForTaxonsScopeVariantChecker; use Sylius\Bundle\CoreBundle\CatalogPromotion\Checker\InForVariantsScopeVariantChecker; -use Sylius\Bundle\CoreBundle\CatalogPromotion\Validator\CatalogPromotionScope\ScopeValidatorInterface; use Sylius\Bundle\CoreBundle\CatalogPromotion\Validator\Constraints\CatalogPromotionScope; +use Sylius\Bundle\PromotionBundle\Validator\CatalogPromotionScope\ScopeValidatorInterface; use Sylius\Component\Promotion\Model\CatalogPromotionScopeInterface; use Symfony\Component\Validator\ConstraintValidator; use Symfony\Component\Validator\Context\ExecutionContextInterface; diff --git a/src/Sylius/Bundle/CoreBundle/CatalogPromotion/Validator/CatalogPromotionScope/ScopeValidatorInterface.php b/src/Sylius/Bundle/PromotionBundle/Validator/CatalogPromotionScope/ScopeValidatorInterface.php similarity index 85% rename from src/Sylius/Bundle/CoreBundle/CatalogPromotion/Validator/CatalogPromotionScope/ScopeValidatorInterface.php rename to src/Sylius/Bundle/PromotionBundle/Validator/CatalogPromotionScope/ScopeValidatorInterface.php index 2540f85a1c1f..6240e7dc6857 100644 --- a/src/Sylius/Bundle/CoreBundle/CatalogPromotion/Validator/CatalogPromotionScope/ScopeValidatorInterface.php +++ b/src/Sylius/Bundle/PromotionBundle/Validator/CatalogPromotionScope/ScopeValidatorInterface.php @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace Sylius\Bundle\CoreBundle\CatalogPromotion\Validator\CatalogPromotionScope; +namespace Sylius\Bundle\PromotionBundle\Validator\CatalogPromotionScope; use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\Context\ExecutionContextInterface;