@@ -3,10 +3,8 @@ |
||
3 | 3 | namespace OroCRM\Bundle\ContactBundle\Tests\Functional; |
4 | 4 | |
5 | 5 | use Symfony\Component\DomCrawler\Form; |
6 | - |
|
7 | 6 | use Oro\Bundle\UserBundle\DataFixtures\UserUtilityTrait; |
8 | 7 | use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase; |
9 | - |
|
10 | 8 | use OroCRM\Bundle\ContactBundle\Entity\Contact; |
11 | 9 | |
12 | 10 | /** |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use Doctrine\ORM\UnitOfWork; |
6 | 6 | use Doctrine\ORM\Event\LifecycleEventArgs; |
7 | 7 | use Doctrine\ORM\Event\PreUpdateEventArgs; |
8 | - |
|
9 | 8 | use OroCRM\Bundle\ContactBundle\EventListener\ContactListener; |
10 | 9 | use Oro\Bundle\UserBundle\Entity\User; |
11 | 10 | use OroCRM\Bundle\ContactBundle\Entity\Contact; |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace OroCRM\Bundle\ContactBundle\Tests\Unit\Formatter; |
4 | 4 | |
5 | 5 | use Oro\Bundle\LocaleBundle\Formatter\NameFormatter; |
6 | - |
|
7 | 6 | use OroCRM\Bundle\ContactBundle\Entity\Contact; |
8 | 7 | use OroCRM\Bundle\ContactBundle\Entity\ContactEmail; |
9 | 8 | use OroCRM\Bundle\ContactBundle\Entity\ContactPhone; |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use Oro\Bundle\EntityBundle\Provider\EntityNameProviderInterface; |
6 | 6 | use Oro\Bundle\EntityConfigBundle\DependencyInjection\Utils\ServiceLink; |
7 | 7 | use Oro\Bundle\LocaleBundle\DQL\DQLNameFormatter; |
8 | - |
|
9 | 8 | use OroCRM\Bundle\ContactBundle\Entity\Contact; |
10 | 9 | use OroCRM\Bundle\ContactBundle\Formatter\ContactNameFormatter; |
11 | 10 | use OroCRM\Bundle\ContactBundle\Provider\ContactEntityNameProvider; |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace OroCRM\Bundle\ContactBundle\Tests\Unit\Validator\Constraints; |
4 | 4 | |
5 | 5 | use Symfony\Component\Validator\ExecutionContextInterface; |
6 | - |
|
7 | 6 | use OroCRM\Bundle\ContactBundle\Entity\Contact; |
8 | 7 | use OroCRM\Bundle\ContactBundle\Entity\ContactEmail; |
9 | 8 | use OroCRM\Bundle\ContactBundle\Entity\ContactPhone; |
@@ -4,11 +4,9 @@ discard block |
||
4 | 4 | |
5 | 5 | use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
6 | 6 | use Symfony\Component\DependencyInjection\ContainerInterface; |
7 | - |
|
8 | 7 | use Doctrine\Common\DataFixtures\AbstractFixture; |
9 | 8 | use Doctrine\Common\Persistence\ObjectManager; |
10 | 9 | use Doctrine\Common\DataFixtures\DependentFixtureInterface; |
11 | - |
|
12 | 10 | use Oro\Bundle\EmailBundle\Model\FolderType; |
13 | 11 | use Oro\Bundle\EmailBundle\Tools\EmailOriginHelper; |
14 | 12 | use Oro\Bundle\EmailBundle\Builder\EmailEntityBuilder; |
@@ -17,7 +15,6 @@ discard block |
||
17 | 15 | use Oro\Bundle\EmailBundle\Entity\EmailUser; |
18 | 16 | use Oro\Bundle\SecurityBundle\Authentication\Token\UsernamePasswordOrganizationToken; |
19 | 17 | use Oro\Bundle\UserBundle\Entity\User; |
20 | - |
|
21 | 18 | use OroCRM\Bundle\ContactBundle\Entity\Contact; |
22 | 19 | |
23 | 20 | class LoadEmailData extends AbstractFixture implements DependentFixtureInterface, ContainerAwareInterface |
@@ -4,13 +4,10 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Common\Persistence\ObjectManager; |
6 | 6 | use Doctrine\Common\DataFixtures\DependentFixtureInterface; |
7 | - |
|
8 | 7 | use OroCRM\Bundle\SalesBundle\Entity\B2bCustomer; |
9 | 8 | use OroCRM\Bundle\SalesBundle\Entity\Opportunity; |
10 | - |
|
11 | 9 | use Oro\Bundle\EntityExtendBundle\Tools\ExtendHelper; |
12 | 10 | use Oro\Bundle\SecurityBundle\Authentication\Token\UsernamePasswordOrganizationToken; |
13 | - |
|
14 | 11 | use OroCRM\Bundle\ContactBundle\Entity\Contact; |
15 | 12 | use Oro\Bundle\OrganizationBundle\Entity\Organization; |
16 | 13 | use Oro\Bundle\UserBundle\Entity\User; |
@@ -3,14 +3,11 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Controller\Api\Rest; |
4 | 4 | |
5 | 5 | use Symfony\Component\HttpFoundation\Response; |
6 | - |
|
7 | 6 | use FOS\RestBundle\Controller\Annotations\NamePrefix; |
8 | 7 | use FOS\RestBundle\Controller\Annotations\QueryParam; |
9 | 8 | use FOS\RestBundle\Routing\ClassResourceInterface; |
10 | 9 | use FOS\RestBundle\Controller\Annotations\RouteResource; |
11 | - |
|
12 | 10 | use Nelmio\ApiDocBundle\Annotation\ApiDoc; |
13 | - |
|
14 | 11 | use Oro\Bundle\SecurityBundle\Annotation\Acl; |
15 | 12 | use Oro\Bundle\SecurityBundle\Annotation\AclAncestor; |
16 | 13 | use Oro\Bundle\SoapBundle\Controller\Api\Rest\RestController; |
@@ -3,13 +3,10 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Controller\Api\Rest; |
4 | 4 | |
5 | 5 | use Symfony\Component\HttpFoundation\Response; |
6 | - |
|
7 | 6 | use FOS\RestBundle\Controller\Annotations\NamePrefix; |
8 | 7 | use FOS\RestBundle\Controller\Annotations\QueryParam; |
9 | 8 | use FOS\RestBundle\Controller\Annotations\RouteResource; |
10 | - |
|
11 | 9 | use Nelmio\ApiDocBundle\Annotation\ApiDoc; |
12 | - |
|
13 | 10 | use Oro\Bundle\SecurityBundle\Annotation\Acl; |
14 | 11 | use Oro\Bundle\SecurityBundle\Annotation\AclAncestor; |
15 | 12 | use Oro\Bundle\SoapBundle\Controller\Api\Rest\RestController; |