@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Oro\Bundle\DashboardBundle\Helper\DateHelper; |
6 | 6 | use Oro\Bundle\SecurityBundle\ORM\Walker\AclHelper; |
7 | - |
|
8 | 7 | use OroCRM\Bundle\MagentoBundle\Entity\Customer; |
9 | 8 | use OroCRM\Bundle\MagentoBundle\Entity\Order; |
10 | 9 |
@@ -3,14 +3,11 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Entity\Repository; |
4 | 4 | |
5 | 5 | use DateTime; |
6 | - |
|
7 | 6 | use Doctrine\ORM\EntityManager; |
8 | 7 | use Doctrine\ORM\NoResultException; |
9 | - |
|
10 | 8 | use Oro\Bundle\DashboardBundle\Helper\DateHelper; |
11 | 9 | use Oro\Bundle\SecurityBundle\ORM\Walker\AclHelper; |
12 | 10 | use Oro\Bundle\EntityBundle\Exception\InvalidEntityException; |
13 | - |
|
14 | 11 | use OroCRM\Bundle\MagentoBundle\Entity\Cart; |
15 | 12 | use OroCRM\Bundle\MagentoBundle\Entity\Customer; |
16 | 13 | use OroCRM\Bundle\MagentoBundle\Entity\Order; |
@@ -2,12 +2,9 @@ |
||
2 | 2 | |
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\EventListener; |
4 | 4 | |
5 | -use Doctrine\ORM\Query; |
|
6 | 5 | use Doctrine\ORM\EntityManager; |
7 | - |
|
8 | 6 | use Oro\Bundle\IntegrationBundle\Entity\Channel; |
9 | 7 | use Oro\Bundle\IntegrationBundle\Event\DefaultOwnerSetEvent; |
10 | - |
|
11 | 8 | use OroCRM\Bundle\MagentoBundle\Provider\ChannelType; |
12 | 9 | |
13 | 10 | /** |
@@ -8,7 +8,6 @@ |
||
8 | 8 | use Doctrine\ORM\Event\PreUpdateEventArgs; |
9 | 9 | use Doctrine\ORM\PersistentCollection; |
10 | 10 | use Doctrine\ORM\UnitOfWork; |
11 | - |
|
12 | 11 | use OroCRM\Bundle\ChannelBundle\EventListener\ChannelDoctrineListener; |
13 | 12 | use OroCRM\Bundle\MagentoBundle\Entity\Customer; |
14 | 13 | use OroCRM\Bundle\MagentoBundle\Entity\Order; |
@@ -6,11 +6,9 @@ |
||
6 | 6 | use Symfony\Component\Form\FormEvent; |
7 | 7 | use Symfony\Component\Form\FormEvents; |
8 | 8 | use Symfony\Component\Form\FormInterface; |
9 | - |
|
10 | 9 | use Oro\Bundle\IntegrationBundle\Form\Type\ChannelType; |
11 | 10 | use Oro\Bundle\IntegrationBundle\Manager\TypesRegistry; |
12 | 11 | use Oro\Bundle\IntegrationBundle\Provider\ConnectorInterface; |
13 | - |
|
14 | 12 | use OroCRM\Bundle\MagentoBundle\Provider\ExtensionAwareInterface; |
15 | 13 | |
16 | 14 | class SoapConnectorsFormSubscriber implements EventSubscriberInterface |
@@ -3,17 +3,14 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Form\Handler; |
4 | 4 | |
5 | 5 | use Doctrine\Common\Persistence\ObjectManager; |
6 | - |
|
7 | 6 | use Symfony\Bridge\Doctrine\RegistryInterface; |
8 | 7 | use Symfony\Component\Form\FormInterface; |
9 | 8 | use Symfony\Component\HttpFoundation\Request; |
10 | 9 | use Symfony\Component\PropertyAccess\PropertyAccess; |
11 | 10 | use Symfony\Component\PropertyAccess\PropertyAccessor; |
12 | 11 | use Symfony\Component\Security\Core\SecurityContextInterface; |
13 | - |
|
14 | 12 | use Oro\Bundle\AddressBundle\Entity\AddressType; |
15 | 13 | use Oro\Bundle\OrganizationBundle\Entity\Organization; |
16 | - |
|
17 | 14 | use OroCRM\Bundle\MagentoBundle\Entity\CartAddress; |
18 | 15 | use OroCRM\Bundle\MagentoBundle\Entity\Cart; |
19 | 16 |
@@ -6,9 +6,7 @@ |
||
6 | 6 | use Symfony\Component\Form\FormInterface; |
7 | 7 | use Symfony\Component\HttpFoundation\Request; |
8 | 8 | use Symfony\Component\Security\Core\SecurityContextInterface; |
9 | - |
|
10 | 9 | use Oro\Bundle\AddressBundle\Entity\AbstractAddress; |
11 | - |
|
12 | 10 | use OroCRM\Bundle\MagentoBundle\Entity\Cart; |
13 | 11 | use OroCRM\Bundle\MagentoBundle\Entity\CartItem; |
14 | 12 |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use Symfony\Bridge\Doctrine\RegistryInterface; |
6 | 6 | use Symfony\Component\Form\FormInterface; |
7 | 7 | use Symfony\Component\HttpFoundation\Request; |
8 | - |
|
9 | 8 | use OroCRM\Bundle\MagentoBundle\Entity\CartItem; |
10 | 9 | |
11 | 10 | class CartItemHandler |
@@ -3,14 +3,11 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Form\Handler; |
4 | 4 | |
5 | 5 | use Doctrine\Common\Persistence\ObjectManager; |
6 | - |
|
7 | 6 | use Symfony\Bridge\Doctrine\RegistryInterface; |
8 | 7 | use Symfony\Component\Form\FormInterface; |
9 | 8 | use Symfony\Component\HttpFoundation\Request; |
10 | 9 | use Symfony\Component\Security\Core\SecurityContextInterface; |
11 | - |
|
12 | 10 | use Oro\Bundle\OrganizationBundle\Entity\Organization; |
13 | - |
|
14 | 11 | use OroCRM\Bundle\MagentoBundle\Entity\Address; |
15 | 12 | |
16 | 13 | class CustomerAddressApiHandler |