@@ -14,9 +14,7 @@ |
||
14 | 14 | use Sylius\Bundle\ResourceBundle\DependencyInjection\Extension\AbstractResourceExtension; |
15 | 15 | use Symfony\Component\Config\FileLocator; |
16 | 16 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
17 | -use Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface; |
|
18 | 17 | use Symfony\Component\DependencyInjection\Loader\XmlFileLoader; |
19 | -use Symfony\Component\DependencyInjection\Reference; |
|
20 | 18 | |
21 | 19 | /** |
22 | 20 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -11,8 +11,6 @@ |
||
11 | 11 | |
12 | 12 | namespace Sylius\Bundle\PromotionBundle\Form\Type; |
13 | 13 | |
14 | -use Sylius\Bundle\PromotionBundle\Form\EventListener\BuildPromotionRuleFormSubscriber; |
|
15 | -use Sylius\Bundle\PromotionBundle\Form\Type\Core\AbstractConfigurationType; |
|
16 | 14 | use Sylius\Bundle\ResourceBundle\Form\Type\AbstractResourceType; |
17 | 15 | use Sylius\Component\Promotion\Checker\Rule\ItemTotalRuleChecker; |
18 | 16 | use Sylius\Component\Registry\ServiceRegistryInterface; |
@@ -12,7 +12,6 @@ |
||
12 | 12 | namespace Sylius\Bundle\CoreBundle\Form\Extension; |
13 | 13 | |
14 | 14 | use Sylius\Bundle\CoreBundle\Form\EventSubscriber\BuildChannelBasedPromotionRuleFormSubscriber; |
15 | -use Sylius\Bundle\PromotionBundle\Form\Type\Core\AbstractConfigurationType; |
|
16 | 15 | use Sylius\Bundle\PromotionBundle\Form\Type\PromotionRuleChoiceType; |
17 | 16 | use Sylius\Bundle\PromotionBundle\Form\Type\PromotionRuleType; |
18 | 17 | use Sylius\Component\Channel\Repository\ChannelRepositoryInterface; |
@@ -17,7 +17,6 @@ |
||
17 | 17 | use Sylius\Component\Customer\Context\CustomerContextInterface; |
18 | 18 | use Sylius\Component\Order\Context\CartContextInterface; |
19 | 19 | use Sylius\Component\Order\Context\CartNotFoundException; |
20 | -use Sylius\Component\Order\Model\OrderInterface; |
|
21 | 20 | |
22 | 21 | /** |
23 | 22 | * @author Mateusz Zalewski <[email protected]> |
@@ -11,7 +11,6 @@ |
||
11 | 11 | |
12 | 12 | namespace Sylius\Bundle\CoreBundle\Fixture\Factory; |
13 | 13 | |
14 | -use Doctrine\Common\Persistence\ObjectManager; |
|
15 | 14 | use Sylius\Component\Core\Formatter\StringInflector; |
16 | 15 | use Sylius\Component\Core\Model\TaxonInterface; |
17 | 16 | use Sylius\Component\Locale\Model\LocaleInterface; |
@@ -21,7 +21,6 @@ |
||
21 | 21 | use Sylius\Component\Resource\Metadata\RegistryInterface; |
22 | 22 | use Sylius\Component\Resource\Model\TranslatableInterface; |
23 | 23 | use Sylius\Component\Resource\Model\TranslationInterface; |
24 | -use Sylius\Component\Resource\Translation\Provider\TranslationLocaleProviderInterface; |
|
25 | 24 | use Sylius\Component\Resource\Translation\TranslatableEntityLocaleAssignerInterface; |
26 | 25 | use Symfony\Component\DependencyInjection\ContainerInterface; |
27 | 26 |
@@ -14,7 +14,6 @@ |
||
14 | 14 | use Sylius\Bundle\PromotionBundle\Form\Type\Action\FixedDiscountConfigurationType; |
15 | 15 | use Sylius\Component\Core\Distributor\ProportionalIntegerDistributorInterface; |
16 | 16 | use Sylius\Component\Core\Promotion\Applicator\UnitsPromotionAdjustmentsApplicatorInterface; |
17 | -use Sylius\Component\Currency\Converter\CurrencyConverterInterface; |
|
18 | 17 | use Sylius\Component\Promotion\Model\PromotionInterface; |
19 | 18 | use Sylius\Component\Promotion\Model\PromotionSubjectInterface; |
20 | 19 | use Webmozart\Assert\Assert; |
@@ -16,7 +16,6 @@ |
||
16 | 16 | use Sylius\Component\Core\Model\OrderItemInterface; |
17 | 17 | use Sylius\Component\Promotion\Checker\Rule\RuleCheckerInterface; |
18 | 18 | use Sylius\Component\Promotion\Model\PromotionSubjectInterface; |
19 | -use Sylius\Component\Resource\Exception\UnexpectedTypeException; |
|
20 | 19 | use Sylius\Component\Taxonomy\Repository\TaxonRepositoryInterface; |
21 | 20 | use Webmozart\Assert\Assert; |
22 | 21 |
@@ -12,7 +12,6 @@ |
||
12 | 12 | namespace Sylius\Component\Product\Model; |
13 | 13 | |
14 | 14 | use Sylius\Component\Resource\Model\TranslatableTrait; |
15 | -use Sylius\Component\Resource\Model\TranslationInterface; |
|
16 | 15 | |
17 | 16 | /** |
18 | 17 | * @author Paweł Jędrzejewski <[email protected]> |