@@ -5,7 +5,6 @@ discard block |
||
5 | 5 | use Doctrine\Common\Collections\Collection; |
6 | 6 | use Doctrine\ORM\Mapping as ORM; |
7 | 7 | use Doctrine\Common\Collections\ArrayCollection; |
8 | - |
|
9 | 8 | use Oro\Bundle\EntityConfigBundle\Metadata\Annotation\Config; |
10 | 9 | use Oro\Bundle\EntityConfigBundle\Metadata\Annotation\ConfigField; |
11 | 10 | use Oro\Bundle\OrganizationBundle\Entity\Organization; |
@@ -16,7 +15,6 @@ discard block |
||
16 | 15 | use Oro\Bundle\WorkflowBundle\Entity\WorkflowStep; |
17 | 16 | use Oro\Bundle\LocaleBundle\Model\FirstNameInterface; |
18 | 17 | use Oro\Bundle\LocaleBundle\Model\LastNameInterface; |
19 | - |
|
20 | 18 | use OroCRM\Bundle\MagentoBundle\Model\ExtendOrder; |
21 | 19 | use OroCRM\Bundle\ChannelBundle\Model\ChannelAwareInterface; |
22 | 20 |
@@ -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 |
@@ -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\Customer; |
15 | 12 | |
16 | 13 | class CustomerApiHandler |