@@ -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; |
@@ -69,7 +69,7 @@ |
||
69 | 69 | } |
70 | 70 | |
71 | 71 | /** |
72 | - * @param Collection|PrimaryItem[] $entities |
|
72 | + * @param Collection $entities |
|
73 | 73 | * @return PrimaryItem|null |
74 | 74 | */ |
75 | 75 | protected function getPrimaryEntity($entities) |
@@ -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 |
@@ -3,16 +3,12 @@ |
||
3 | 3 | namespace OroCRM\Bundle\ContactUsBundle\Migrations\Schema\v1_10; |
4 | 4 | |
5 | 5 | use Doctrine\DBAL\Schema\Schema; |
6 | - |
|
7 | 6 | use Oro\Bundle\EntityExtendBundle\Migration\OroOptions; |
8 | - |
|
9 | 7 | use Oro\Bundle\MigrationBundle\Migration\Migration; |
10 | 8 | use Oro\Bundle\MigrationBundle\Migration\QueryBag; |
11 | 9 | use Oro\Bundle\MigrationBundle\Migration\OrderedMigrationInterface; |
12 | - |
|
13 | 10 | use Oro\Bundle\ActivityBundle\Migration\Extension\ActivityExtension; |
14 | 11 | use Oro\Bundle\ActivityBundle\Migration\Extension\ActivityExtensionAwareInterface; |
15 | - |
|
16 | 12 | use Oro\Bundle\ActivityListBundle\Migration\Extension\ActivityListExtension; |
17 | 13 | use Oro\Bundle\ActivityListBundle\Migration\Extension\ActivityListExtensionAwareInterface; |
18 | 14 |
@@ -4,7 +4,6 @@ discard block |
||
4 | 4 | |
5 | 5 | use Doctrine\DBAL\Types\Type; |
6 | 6 | use Doctrine\DBAL\Schema\Schema; |
7 | - |
|
8 | 7 | use Oro\Bundle\MigrationBundle\Migration\QueryBag; |
9 | 8 | use Oro\Bundle\MigrationBundle\Migration\Migration; |
10 | 9 | use Oro\Bundle\MigrationBundle\Migration\SqlMigrationQuery; |
@@ -12,15 +11,11 @@ discard block |
||
12 | 11 | use Oro\Bundle\MigrationBundle\Migration\OrderedMigrationInterface; |
13 | 12 | use Oro\Bundle\MigrationBundle\Migration\Extension\NameGeneratorAwareInterface; |
14 | 13 | use Oro\Bundle\MigrationBundle\Tools\DbIdentifierNameGenerator; |
15 | - |
|
16 | 14 | use Oro\Bundle\ActivityListBundle\Migration\Extension\ActivityListExtension; |
17 | - |
|
18 | 15 | use Oro\Bundle\EntityExtendBundle\Tools\ExtendHelper; |
19 | 16 | use Oro\Bundle\EntityExtendBundle\Tools\ExtendDbIdentifierNameGenerator; |
20 | - |
|
21 | 17 | use Oro\Bundle\EntityExtendBundle\Migration\Extension\ExtendExtension; |
22 | 18 | use Oro\Bundle\EntityExtendBundle\Migration\Extension\ExtendExtensionAwareInterface; |
23 | - |
|
24 | 19 | use Oro\Bundle\ActivityBundle\EntityConfig\ActivityScope; |
25 | 20 | use Oro\Bundle\ActivityListBundle\Tools\ActivityListEntityConfigDumperExtension; |
26 | 21 |