@@ -5,11 +5,9 @@ |
||
5 | 5 | use Doctrine\ORM\UnitOfWork; |
6 | 6 | use Symfony\Component\Security\Core\SecurityContextInterface; |
7 | 7 | use Symfony\Component\DependencyInjection\ContainerInterface; |
8 | - |
|
9 | 8 | use Doctrine\ORM\EntityManager; |
10 | 9 | use Doctrine\ORM\Event\LifecycleEventArgs; |
11 | 10 | use Doctrine\ORM\Event\PreUpdateEventArgs; |
12 | - |
|
13 | 11 | use OroCRM\Bundle\ContactBundle\Entity\Contact; |
14 | 12 | use Oro\Bundle\UserBundle\Entity\User; |
15 | 13 |
@@ -4,9 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use Symfony\Component\Form\FormInterface; |
6 | 6 | use Symfony\Component\HttpFoundation\Request; |
7 | - |
|
8 | 7 | use Doctrine\Common\Persistence\ObjectManager; |
9 | - |
|
10 | 8 | use OroCRM\Bundle\ContactBundle\Entity\Contact; |
11 | 9 | use OroCRM\Bundle\ContactBundle\Entity\Group; |
12 | 10 |
@@ -141,6 +141,7 @@ |
||
141 | 141 | |
142 | 142 | /** |
143 | 143 | * {@inheritdoc} |
144 | + * @param Contact $entity |
|
144 | 145 | */ |
145 | 146 | protected function afterProcessEntity($entity) |
146 | 147 | { |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace OroCRM\Bundle\ContactBundle\ImportExport\Strategy; |
4 | 4 | |
5 | 5 | use Symfony\Component\Security\Core\SecurityContextInterface; |
6 | - |
|
7 | 6 | use Oro\Bundle\SecurityBundle\Authentication\Token\OrganizationContextTokenInterface; |
8 | 7 | use Oro\Bundle\ImportExportBundle\Strategy\Import\AbstractImportStrategy; |
9 | 8 | use OroCRM\Bundle\ContactBundle\Entity\Contact; |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace OroCRM\Bundle\ContactBundle\ImportExport\Strategy; |
4 | 4 | |
5 | 5 | use Doctrine\Common\Collections\Collection; |
6 | - |
|
7 | 6 | use Oro\Bundle\FormBundle\Entity\PrimaryItem; |
8 | 7 | use OroCRM\Bundle\ContactBundle\Entity\Contact; |
9 | 8 |
@@ -3,16 +3,13 @@ |
||
3 | 3 | namespace OroCRM\Bundle\ContactBundle\Migrations\Schema\v1_6; |
4 | 4 | |
5 | 5 | use Doctrine\DBAL\Schema\Schema; |
6 | - |
|
7 | 6 | use Oro\Bundle\MigrationBundle\Migration\Migration; |
8 | 7 | use Oro\Bundle\MigrationBundle\Migration\QueryBag; |
9 | 8 | use Oro\Bundle\MigrationBundle\Migration\Extension\NameGeneratorAwareInterface; |
10 | 9 | use Oro\Bundle\MigrationBundle\Tools\DbIdentifierNameGenerator; |
11 | - |
|
12 | 10 | use Oro\Bundle\ActivityBundle\Migration\Extension\ActivityExtension; |
13 | 11 | use Oro\Bundle\ActivityBundle\Migration\Extension\ActivityExtensionAwareInterface; |
14 | 12 | use Oro\Bundle\ActivityBundle\EntityConfig\ActivityScope; |
15 | - |
|
16 | 13 | use Oro\Bundle\EntityExtendBundle\Migration\Extension\ExtendExtension; |
17 | 14 | use Oro\Bundle\EntityExtendBundle\Migration\Extension\ExtendExtensionAwareInterface; |
18 | 15 | use Oro\Bundle\EntityExtendBundle\Tools\ExtendDbIdentifierNameGenerator; |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace OroCRM\Bundle\ContactBundle\Tests\Functional; |
4 | 4 | |
5 | 5 | use Symfony\Component\DomCrawler\Crawler; |
6 | - |
|
7 | 6 | use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase; |
8 | 7 | use OroCRM\Bundle\ContactBundle\Tests\Functional\DataFixtures\LoadContactEntitiesData; |
9 | 8 | use OroCRM\Bundle\ContactBundle\Entity\Contact; |
@@ -2,12 +2,9 @@ |
||
2 | 2 | |
3 | 3 | namespace OroCRM\Bundle\ContactBundle\Tests\Unit\Form\Handler; |
4 | 4 | |
5 | -use Doctrine\Common\Persistence\ObjectManager; |
|
6 | - |
|
7 | 5 | use Doctrine\ORM\EntityManagerInterface; |
8 | 6 | use Symfony\Component\Form\FormInterface; |
9 | 7 | use Symfony\Component\HttpFoundation\Request; |
10 | - |
|
11 | 8 | use OroCRM\Bundle\ContactBundle\Entity\Contact; |
12 | 9 | use OroCRM\Bundle\AccountBundle\Entity\Account; |
13 | 10 | use OroCRM\Bundle\ContactBundle\Form\Handler\ContactHandler; |
@@ -2,7 +2,6 @@ |
||
2 | 2 | namespace OroCRM\Bundle\ContactBundle\Tests\Unit\Type; |
3 | 3 | |
4 | 4 | use Symfony\Component\OptionsResolver\OptionsResolverInterface; |
5 | - |
|
6 | 5 | use OroCRM\Bundle\ContactBundle\Form\Type\ContactSelectType; |
7 | 6 | |
8 | 7 | class ContactSelectTypeTest extends \PHPUnit_Framework_TestCase |
@@ -3,10 +3,8 @@ |
||
3 | 3 | namespace OroCRM\Bundle\ContactUsBundle\Form\Handler; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManager; |
6 | - |
|
7 | 6 | use Symfony\Component\Form\FormInterface; |
8 | 7 | use Symfony\Component\HttpFoundation\Request; |
9 | - |
|
10 | 8 | use OroCRM\Bundle\ContactUsBundle\Entity\ContactRequest; |
11 | 9 | |
12 | 10 | class ContactRequestHandler |