@@ -5,15 +5,11 @@ |
||
5 | 5 | use Psr\Log\NullLogger; |
6 | 6 | use Psr\Log\LoggerAwareTrait; |
7 | 7 | use Psr\Log\LoggerAwareInterface; |
8 | - |
|
9 | 8 | use Akeneo\Bundle\BatchBundle\Entity\StepExecution; |
10 | 9 | use Akeneo\Bundle\BatchBundle\Item\ItemWriterInterface; |
11 | 10 | use Akeneo\Bundle\BatchBundle\Step\StepExecutionAwareInterface; |
12 | - |
|
13 | 11 | use Oro\Bundle\BatchBundle\Step\StepExecutionRestoreInterface; |
14 | - |
|
15 | 12 | use Oro\Bundle\ImportExportBundle\Field\DatabaseHelper; |
16 | - |
|
17 | 13 | use OroCRM\Bundle\MagentoBundle\Entity\Cart; |
18 | 14 | use OroCRM\Bundle\MagentoBundle\Entity\Order; |
19 | 15 | use OroCRM\Bundle\MagentoBundle\Entity\Customer; |
@@ -3,11 +3,9 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Model\Action; |
4 | 4 | |
5 | 5 | use Doctrine\Common\Util\ClassUtils; |
6 | - |
|
7 | 6 | use Oro\Component\Action\Action\AbstractAction; |
8 | 7 | use Oro\Component\Action\Exception\InvalidParameterException; |
9 | 8 | use Oro\Component\Action\Model\ContextAccessor; |
10 | - |
|
11 | 9 | use OroCRM\Bundle\MagentoBundle\Service\AutomaticDiscovery; |
12 | 10 | |
13 | 11 | /** |
@@ -185,7 +185,7 @@ |
||
185 | 185 | } |
186 | 186 | |
187 | 187 | /** |
188 | - * @param object $entity |
|
188 | + * @param Integration $entity |
|
189 | 189 | * |
190 | 190 | * @return Integration |
191 | 191 | */ |
@@ -3,14 +3,11 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Provider; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManager; |
6 | - |
|
7 | 6 | use JMS\JobQueueBundle\Entity\Job; |
8 | - |
|
9 | 7 | use Oro\Bundle\EntityBundle\ORM\DoctrineHelper; |
10 | 8 | use Oro\Bundle\IntegrationBundle\Entity\Channel as Integration; |
11 | 9 | use Oro\Bundle\IntegrationBundle\Entity\Repository\ChannelRepository; |
12 | 10 | use Oro\Bundle\IntegrationBundle\Provider\ForceConnectorInterface; |
13 | - |
|
14 | 11 | use OroCRM\Bundle\MagentoBundle\Command\InitialSyncCommand; |
15 | 12 | use OroCRM\Bundle\MagentoBundle\Entity\MagentoSoapTransport; |
16 | 13 | use OroCRM\Bundle\MagentoBundle\Provider\Connector\DictionaryConnectorInterface; |
@@ -3,9 +3,7 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Provider\Strategy; |
4 | 4 | |
5 | 5 | use Akeneo\Bundle\BatchBundle\Entity\StepExecution; |
6 | - |
|
7 | 6 | use Symfony\Component\PropertyAccess\PropertyAccess; |
8 | - |
|
9 | 7 | use Oro\Bundle\EntityBundle\ORM\DoctrineHelper; |
10 | 8 | use Oro\Bundle\IntegrationBundle\ImportExport\Processor\StepExecutionAwareExportProcessor; |
11 | 9 | use Oro\Bundle\IntegrationBundle\ImportExport\Processor\StepExecutionAwareImportProcessor; |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Tests\Functional\Controller\Api\Rest; |
4 | 4 | |
5 | 5 | use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase; |
6 | - |
|
7 | 6 | use OroCRM\Bundle\MagentoBundle\Entity\Cart; |
8 | 7 | |
9 | 8 | /** |
@@ -3,10 +3,8 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Tests\Functional\Controller\Api\Rest; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManager; |
6 | - |
|
7 | 6 | use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase; |
8 | 7 | use Oro\Bundle\UserBundle\Entity\User; |
9 | - |
|
10 | 8 | use OroCRM\Bundle\ChannelBundle\Entity\Channel; |
11 | 9 | use OroCRM\Bundle\MagentoBundle\Entity\Cart; |
12 | 10 | use OroCRM\Bundle\MagentoBundle\Entity\Customer; |
@@ -3,11 +3,9 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Tests\Functional\Controller\Api\Rest; |
4 | 4 | |
5 | 5 | use Doctrine\Common\Persistence\ObjectManager; |
6 | - |
|
7 | 6 | use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase; |
8 | 7 | use Oro\Bundle\IntegrationBundle\Entity\Channel; |
9 | 8 | use Oro\Bundle\UserBundle\Entity\User; |
10 | - |
|
11 | 9 | use OroCRM\Bundle\MagentoBundle\Entity\Customer; |
12 | 10 | use OroCRM\Bundle\MagentoBundle\Entity\Website; |
13 | 11 | use OroCRM\Bundle\MagentoBundle\Entity\Store; |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Oro\Bundle\AddressBundle\Entity\AddressType; |
6 | 6 | use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase; |
7 | - |
|
8 | 7 | use OroCRM\Bundle\MagentoBundle\Entity\Order; |
9 | 8 | |
10 | 9 | /** |
@@ -3,11 +3,9 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Tests\Functional\Controller\Api\Rest; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManager; |
6 | - |
|
7 | 6 | use Oro\Bundle\AddressBundle\Entity\AddressType; |
8 | 7 | use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase; |
9 | 8 | use Oro\Bundle\UserBundle\Entity\User; |
10 | - |
|
11 | 9 | use OroCRM\Bundle\ChannelBundle\Entity\Channel; |
12 | 10 | use OroCRM\Bundle\MagentoBundle\Entity\Customer; |
13 | 11 |