@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace OroCRM\Bundle\ContactBundle\Entity\Repository; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityRepository; |
6 | - |
|
7 | 6 | use Oro\Bundle\EmailBundle\Entity\Repository\EmailAwareRepository; |
8 | 7 | |
9 | 8 | class ContactRepository extends EntityRepository implements EmailAwareRepository |
@@ -3,14 +3,11 @@ |
||
3 | 3 | namespace OroCRM\Bundle\ContactBundle\Form\Handler; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManagerInterface; |
6 | - |
|
7 | 6 | use Symfony\Component\Form\FormInterface; |
8 | 7 | use Symfony\Component\HttpFoundation\Request; |
9 | 8 | use Symfony\Component\Security\Core\Exception\AccessDeniedException; |
10 | - |
|
11 | 9 | use Oro\Bundle\SoapBundle\Entity\Manager\ApiEntityManager; |
12 | 10 | use Oro\Bundle\SecurityBundle\SecurityFacade; |
13 | - |
|
14 | 11 | use OroCRM\Bundle\ContactBundle\Validator\ContactEmailDeleteValidator; |
15 | 12 | use OroCRM\Bundle\ContactBundle\Entity\ContactEmail; |
16 | 13 | use OroCRM\Bundle\ContactBundle\Entity\Contact; |
@@ -4,10 +4,8 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManagerInterface; |
6 | 6 | use Doctrine\ORM\UnitOfWork; |
7 | - |
|
8 | 7 | use Symfony\Component\Form\FormInterface; |
9 | 8 | use Symfony\Component\HttpFoundation\Request; |
10 | - |
|
11 | 9 | use OroCRM\Bundle\AccountBundle\Entity\Account; |
12 | 10 | use OroCRM\Bundle\ContactBundle\Entity\Contact; |
13 | 11 |
@@ -3,14 +3,11 @@ |
||
3 | 3 | namespace OroCRM\Bundle\ContactBundle\Form\Handler; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManagerInterface; |
6 | - |
|
7 | 6 | use Symfony\Component\Form\FormInterface; |
8 | 7 | use Symfony\Component\HttpFoundation\Request; |
9 | 8 | use Symfony\Component\Security\Core\Exception\AccessDeniedException; |
10 | - |
|
11 | 9 | use Oro\Bundle\SoapBundle\Entity\Manager\ApiEntityManager; |
12 | 10 | use Oro\Bundle\SecurityBundle\SecurityFacade; |
13 | - |
|
14 | 11 | use OroCRM\Bundle\ContactBundle\Validator\ContactPhoneDeleteValidator; |
15 | 12 | use OroCRM\Bundle\ContactBundle\Entity\ContactPhone; |
16 | 13 | use OroCRM\Bundle\ContactBundle\Entity\Contact; |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Symfony\Component\PropertyAccess\PropertyAccess; |
6 | 6 | use Symfony\Component\Security\Core\Exception\AccessDeniedException; |
7 | - |
|
8 | 7 | use Oro\Bundle\EntityBundle\Form\EntityField\Handler\Processor\AbstractEntityApiHandler; |
9 | 8 | use Oro\Bundle\EntityBundle\ORM\OroEntityManager; |
10 | 9 | use Oro\Bundle\SecurityBundle\SecurityFacade; |
@@ -3,11 +3,9 @@ |
||
3 | 3 | namespace OroCRM\Bundle\ContactBundle\Tests\Functional\API; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManager; |
6 | - |
|
7 | 6 | use Oro\Bundle\UserBundle\Entity\User; |
8 | 7 | use Oro\Bundle\AddressBundle\Entity\AddressType; |
9 | 8 | use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase; |
10 | - |
|
11 | 9 | use OroCRM\Bundle\ContactBundle\Entity\Group; |
12 | 10 | use OroCRM\Bundle\AccountBundle\Entity\Account; |
13 | 11 |
@@ -3,9 +3,7 @@ |
||
3 | 3 | namespace OroCRM\Bundle\ContactBundle\Tests\Functional\API; |
4 | 4 | |
5 | 5 | use FOS\RestBundle\Util\Codes; |
6 | - |
|
7 | 6 | use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase; |
8 | - |
|
9 | 7 | use OroCRM\Bundle\ContactBundle\Tests\Functional\DataFixtures\LoadContactEntitiesData; |
10 | 8 | use OroCRM\Bundle\ContactBundle\Tests\Functional\DataFixtures\LoadContactPhoneData; |
11 | 9 |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Symfony\Component\DomCrawler\Form; |
6 | 6 | use Symfony\Component\DomCrawler\Field\ChoiceFormField; |
7 | - |
|
8 | 7 | use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase; |
9 | 8 | |
10 | 9 | /** |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace OroCRM\Bundle\ContactBundle\Tests\Functional; |
4 | 4 | |
5 | 5 | use OroCRM\Bundle\ContactBundle\Tests\Functional\DataFixtures\LoadContactEntitiesData; |
6 | - |
|
7 | 6 | use Symfony\Component\DomCrawler\Crawler; |
8 | 7 | |
9 | 8 | /** |