@@ -12,17 +12,17 @@ |
||
| 12 | 12 | namespace Sylius\Bundle\CustomerBundle\DependencyInjection; |
| 13 | 13 | |
| 14 | 14 | use Sylius\Bundle\CustomerBundle\Form\Type\CustomerGroupType; |
| 15 | +use Sylius\Bundle\CustomerBundle\Form\Type\CustomerProfileType; |
|
| 16 | +use Sylius\Bundle\CustomerBundle\Form\Type\CustomerType; |
|
| 15 | 17 | use Sylius\Bundle\ResourceBundle\Controller\ResourceController; |
| 16 | 18 | use Sylius\Bundle\ResourceBundle\Form\Type\ResourceChoiceType; |
| 17 | -use Sylius\Bundle\ResourceBundle\SyliusResourceBundle; |
|
| 18 | 19 | use Sylius\Bundle\ResourceBundle\Form\Type\ResourceFromIdentifierType; |
| 19 | -use Sylius\Bundle\CustomerBundle\Form\Type\CustomerProfileType; |
|
| 20 | -use Sylius\Bundle\CustomerBundle\Form\Type\CustomerType; |
|
| 21 | -use Sylius\Component\Customer\Model\CustomerGroup; |
|
| 22 | -use Sylius\Component\Resource\Factory\Factory; |
|
| 20 | +use Sylius\Bundle\ResourceBundle\SyliusResourceBundle; |
|
| 23 | 21 | use Sylius\Component\Customer\Model\Customer; |
| 24 | -use Sylius\Component\Customer\Model\CustomerInterface; |
|
| 22 | +use Sylius\Component\Customer\Model\CustomerGroup; |
|
| 25 | 23 | use Sylius\Component\Customer\Model\CustomerGroupInterface; |
| 24 | +use Sylius\Component\Customer\Model\CustomerInterface; |
|
| 25 | +use Sylius\Component\Resource\Factory\Factory; |
|
| 26 | 26 | use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition; |
| 27 | 27 | use Symfony\Component\Config\Definition\Builder\TreeBuilder; |
| 28 | 28 | use Symfony\Component\Config\Definition\ConfigurationInterface; |
@@ -11,8 +11,6 @@ |
||
| 11 | 11 | |
| 12 | 12 | namespace Sylius\Bundle\PayumBundle\DependencyInjection; |
| 13 | 13 | |
| 14 | -use Payum\Bundle\PayumBundle\DependencyInjection\MainConfiguration as PayumConfiguration; |
|
| 15 | -use Payum\Bundle\PayumBundle\DependencyInjection\PayumExtension; |
|
| 16 | 14 | use Sylius\Bundle\ResourceBundle\DependencyInjection\Extension\AbstractResourceExtension; |
| 17 | 15 | use Symfony\Component\Config\FileLocator; |
| 18 | 16 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
@@ -14,17 +14,17 @@ |
||
| 14 | 14 | use Sylius\Bundle\PromotionBundle\Controller\PromotionCouponController; |
| 15 | 15 | use Sylius\Bundle\PromotionBundle\Form\Type\PromotionActionType; |
| 16 | 16 | use Sylius\Bundle\PromotionBundle\Form\Type\PromotionCouponType; |
| 17 | -use Sylius\Bundle\PromotionBundle\Form\Type\PromotionType; |
|
| 18 | 17 | use Sylius\Bundle\PromotionBundle\Form\Type\PromotionRuleType; |
| 18 | +use Sylius\Bundle\PromotionBundle\Form\Type\PromotionType; |
|
| 19 | 19 | use Sylius\Bundle\ResourceBundle\Controller\ResourceController; |
| 20 | 20 | use Sylius\Bundle\ResourceBundle\Form\Type\ResourceChoiceType; |
| 21 | 21 | use Sylius\Bundle\ResourceBundle\SyliusResourceBundle; |
| 22 | 22 | use Sylius\Component\Promotion\Factory\PromotionCouponFactory; |
| 23 | +use Sylius\Component\Promotion\Model\Promotion; |
|
| 23 | 24 | use Sylius\Component\Promotion\Model\PromotionAction; |
| 24 | 25 | use Sylius\Component\Promotion\Model\PromotionActionInterface; |
| 25 | 26 | use Sylius\Component\Promotion\Model\PromotionCoupon; |
| 26 | 27 | use Sylius\Component\Promotion\Model\PromotionCouponInterface; |
| 27 | -use Sylius\Component\Promotion\Model\Promotion; |
|
| 28 | 28 | use Sylius\Component\Promotion\Model\PromotionInterface; |
| 29 | 29 | use Sylius\Component\Promotion\Model\PromotionRule; |
| 30 | 30 | use Sylius\Component\Promotion\Model\PromotionRuleInterface; |
@@ -11,9 +11,9 @@ |
||
| 11 | 11 | |
| 12 | 12 | namespace Sylius\Bundle\ReviewBundle\EventListener; |
| 13 | 13 | |
| 14 | +use Sylius\Component\Customer\Context\CustomerContextInterface; |
|
| 14 | 15 | use Sylius\Component\Resource\Exception\UnexpectedTypeException; |
| 15 | 16 | use Sylius\Component\Review\Model\ReviewInterface; |
| 16 | -use Sylius\Component\Customer\Context\CustomerContextInterface; |
|
| 17 | 17 | use Symfony\Component\EventDispatcher\GenericEvent; |
| 18 | 18 | |
| 19 | 19 | /** |
@@ -12,9 +12,9 @@ |
||
| 12 | 12 | namespace spec\Sylius\Component\Review\Model; |
| 13 | 13 | |
| 14 | 14 | use PhpSpec\ObjectBehavior; |
| 15 | +use Sylius\Component\Review\Model\ReviewInterface; |
|
| 15 | 16 | use Sylius\Component\Review\Model\ReviewableInterface; |
| 16 | 17 | use Sylius\Component\Review\Model\ReviewerInterface; |
| 17 | -use Sylius\Component\Review\Model\ReviewInterface; |
|
| 18 | 18 | |
| 19 | 19 | /** |
| 20 | 20 | * @author Mateusz Zalewski <[email protected]> |
@@ -16,9 +16,9 @@ |
||
| 16 | 16 | use Sylius\Component\Customer\Model\CustomerAwareInterface; |
| 17 | 17 | use Sylius\Component\Order\Model\OrderInterface as BaseOrderInterface; |
| 18 | 18 | use Sylius\Component\Payment\Model\PaymentsSubjectInterface; |
| 19 | -use Sylius\Component\Promotion\Model\PromotionCouponInterface as BaseCouponInterface; |
|
| 20 | 19 | use Sylius\Component\Promotion\Model\CountablePromotionSubjectInterface; |
| 21 | 20 | use Sylius\Component\Promotion\Model\PromotionCouponAwarePromotionSubjectInterface; |
| 21 | +use Sylius\Component\Promotion\Model\PromotionCouponInterface as BaseCouponInterface; |
|
| 22 | 22 | use Sylius\Component\User\Model\UserInterface; |
| 23 | 23 | |
| 24 | 24 | /** |
@@ -12,8 +12,8 @@ |
||
| 12 | 12 | namespace Sylius\Component\Core\OrderProcessing; |
| 13 | 13 | |
| 14 | 14 | use Sylius\Component\Core\Model\OrderInterface; |
| 15 | -use Sylius\Component\Order\Model\OrderInterface as BaseOrderInterface; |
|
| 16 | 15 | use Sylius\Component\Core\Model\PaymentInterface; |
| 16 | +use Sylius\Component\Order\Model\OrderInterface as BaseOrderInterface; |
|
| 17 | 17 | use Sylius\Component\Order\Processor\OrderProcessorInterface; |
| 18 | 18 | use Sylius\Component\Payment\Exception\UnresolvedDefaultPaymentMethodException; |
| 19 | 19 | use Sylius\Component\Payment\Factory\PaymentFactoryInterface; |
@@ -14,9 +14,9 @@ |
||
| 14 | 14 | use Doctrine\ORM\QueryBuilder; |
| 15 | 15 | use Pagerfanta\PagerfantaInterface; |
| 16 | 16 | use Sylius\Component\Core\Model\ChannelInterface; |
| 17 | -use Sylius\Component\Core\Model\PromotionCouponInterface; |
|
| 18 | 17 | use Sylius\Component\Core\Model\CustomerInterface; |
| 19 | 18 | use Sylius\Component\Core\Model\OrderInterface; |
| 19 | +use Sylius\Component\Core\Model\PromotionCouponInterface; |
|
| 20 | 20 | use Sylius\Component\Order\Repository\OrderRepositoryInterface as BaseOrderRepositoryInterface; |
| 21 | 21 | |
| 22 | 22 | interface OrderRepositoryInterface extends BaseOrderRepositoryInterface |
@@ -19,10 +19,10 @@ |
||
| 19 | 19 | use Sylius\Component\Core\Model\OrderInterface; |
| 20 | 20 | use Sylius\Component\Core\Model\ShipmentInterface; |
| 21 | 21 | use Sylius\Component\Core\Model\ShippingMethodInterface; |
| 22 | +use Sylius\Component\Core\Repository\ShippingMethodRepositoryInterface; |
|
| 22 | 23 | use Sylius\Component\Core\Resolver\ZoneAndChannelBasedShippingMethodsResolver; |
| 23 | 24 | use Sylius\Component\Shipping\Checker\ShippingMethodEligibilityCheckerInterface; |
| 24 | 25 | use Sylius\Component\Shipping\Model\ShippingSubjectInterface; |
| 25 | -use Sylius\Component\Core\Repository\ShippingMethodRepositoryInterface; |
|
| 26 | 26 | use Sylius\Component\Shipping\Resolver\ShippingMethodsResolverInterface; |
| 27 | 27 | |
| 28 | 28 | /** |