@@ -3,10 +3,8 @@ |
||
3 | 3 | namespace OroCRM\Bundle\TestFrameworkBundle\Tests\Performance; |
4 | 4 | |
5 | 5 | use Symfony\Bundle\FrameworkBundle\Console\Application; |
6 | - |
|
7 | 6 | use Symfony\Component\HttpKernel\Kernel; |
8 | 7 | use Symfony\Component\DependencyInjection\Container; |
9 | - |
|
10 | 8 | use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase; |
11 | 9 | |
12 | 10 | class LoadTest extends WebTestCase |
@@ -4,15 +4,12 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Common\Collections\ArrayCollection; |
6 | 6 | use Doctrine\ORM\EntityRepository; |
7 | - |
|
8 | 7 | use Doctrine\Common\DataFixtures\AbstractFixture; |
9 | 8 | use Doctrine\Common\Persistence\ObjectManager; |
10 | - |
|
11 | 9 | use Oro\Bundle\OrganizationBundle\Entity\BusinessUnit; |
12 | 10 | use Oro\Bundle\OrganizationBundle\Entity\Organization; |
13 | 11 | use Symfony\Component\DependencyInjection\ContainerInterface; |
14 | 12 | use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
15 | - |
|
16 | 13 | use Oro\Bundle\UserBundle\Entity\UserManager; |
17 | 14 | use Oro\Bundle\UserBundle\Entity\User; |
18 | 15 |
@@ -3,10 +3,8 @@ |
||
3 | 3 | namespace OroCRM\Bundle\TestFrameworkBundle\Tests\Performance; |
4 | 4 | |
5 | 5 | use Symfony\Bundle\FrameworkBundle\Console\Application; |
6 | - |
|
7 | 6 | use Symfony\Component\HttpKernel\Kernel; |
8 | 7 | use Symfony\Component\DependencyInjection\Container; |
9 | - |
|
10 | 8 | use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase; |
11 | 9 | |
12 | 10 | class LoadTest extends WebTestCase |
@@ -4,15 +4,12 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Common\Collections\ArrayCollection; |
6 | 6 | use Doctrine\ORM\EntityRepository; |
7 | - |
|
8 | 7 | use Doctrine\Common\DataFixtures\AbstractFixture; |
9 | 8 | use Doctrine\Common\Persistence\ObjectManager; |
10 | - |
|
11 | 9 | use Oro\Bundle\OrganizationBundle\Entity\BusinessUnit; |
12 | 10 | use Oro\Bundle\OrganizationBundle\Entity\Organization; |
13 | 11 | use Symfony\Component\DependencyInjection\ContainerInterface; |
14 | 12 | use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
15 | - |
|
16 | 13 | use Oro\Bundle\UserBundle\Entity\UserManager; |
17 | 14 | use Oro\Bundle\UserBundle\Entity\User; |
18 | 15 |
@@ -1197,7 +1197,7 @@ discard block |
||
1197 | 1197 | * |
1198 | 1198 | * This method could not be named setPhones because of bug CRM-253. |
1199 | 1199 | * |
1200 | - * @param Collection|LeadPhone[] $phones |
|
1200 | + * @param LeadPhone[] $phones |
|
1201 | 1201 | * |
1202 | 1202 | * @return Lead |
1203 | 1203 | */ |
@@ -1306,7 +1306,7 @@ discard block |
||
1306 | 1306 | /** |
1307 | 1307 | * Set emails. |
1308 | 1308 | ** |
1309 | - * @param Collection|LeadEmail[] $emails |
|
1309 | + * @param LeadEmail[] $emails |
|
1310 | 1310 | * |
1311 | 1311 | * @return Lead |
1312 | 1312 | */ |
@@ -2,24 +2,19 @@ |
||
2 | 2 | |
3 | 3 | namespace OroCRM\Bundle\SalesBundle\Entity; |
4 | 4 | |
5 | -use Doctrine\ORM\Event\LifecycleEventArgs; |
|
6 | 5 | use Doctrine\ORM\Mapping as ORM; |
7 | 6 | use Doctrine\Common\Collections\Collection; |
8 | 7 | use Doctrine\Common\Collections\ArrayCollection; |
9 | - |
|
10 | 8 | use Oro\Bundle\AddressBundle\Entity\AbstractAddress; |
11 | 9 | use Oro\Bundle\DataAuditBundle\Metadata\Annotation as Oro; |
12 | -use Oro\Bundle\EmailBundle\Entity\EmailOwnerInterface; |
|
13 | 10 | use Oro\Bundle\EmailBundle\Model\EmailHolderInterface; |
14 | 11 | use Oro\Bundle\EntityConfigBundle\Metadata\Annotation\Config; |
15 | 12 | use Oro\Bundle\EntityConfigBundle\Metadata\Annotation\ConfigField; |
16 | -use Oro\Bundle\EntityExtendBundle\Tools\ExtendHelper; |
|
17 | 13 | use Oro\Bundle\OrganizationBundle\Entity\Organization; |
18 | 14 | use Oro\Bundle\UserBundle\Entity\User; |
19 | 15 | use Oro\Bundle\LocaleBundle\Model\FullNameInterface; |
20 | 16 | use Oro\Bundle\WorkflowBundle\Entity\WorkflowItem; |
21 | 17 | use Oro\Bundle\WorkflowBundle\Entity\WorkflowStep; |
22 | - |
|
23 | 18 | use OroCRM\Bundle\ContactBundle\Entity\Contact; |
24 | 19 | use OroCRM\Bundle\SalesBundle\Model\ExtendLead; |
25 | 20 | use OroCRM\Bundle\ChannelBundle\Model\ChannelEntityTrait; |
@@ -4,15 +4,12 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Common\Collections\ArrayCollection; |
6 | 6 | use Doctrine\ORM\EntityRepository; |
7 | - |
|
8 | 7 | use Doctrine\Common\DataFixtures\AbstractFixture; |
9 | 8 | use Doctrine\Common\Persistence\ObjectManager; |
10 | - |
|
11 | 9 | use Oro\Bundle\OrganizationBundle\Entity\BusinessUnit; |
12 | 10 | use Oro\Bundle\OrganizationBundle\Entity\Organization; |
13 | 11 | use Symfony\Component\DependencyInjection\ContainerInterface; |
14 | 12 | use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
15 | - |
|
16 | 13 | use Oro\Bundle\UserBundle\Entity\UserManager; |
17 | 14 | use Oro\Bundle\UserBundle\Entity\User; |
18 | 15 |
@@ -4,15 +4,12 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Common\Collections\ArrayCollection; |
6 | 6 | use Doctrine\ORM\EntityRepository; |
7 | - |
|
8 | 7 | use Doctrine\Common\DataFixtures\AbstractFixture; |
9 | 8 | use Doctrine\Common\Persistence\ObjectManager; |
10 | - |
|
11 | 9 | use Oro\Bundle\OrganizationBundle\Entity\BusinessUnit; |
12 | 10 | use Oro\Bundle\OrganizationBundle\Entity\Organization; |
13 | 11 | use Symfony\Component\DependencyInjection\ContainerInterface; |
14 | 12 | use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
15 | - |
|
16 | 13 | use Oro\Bundle\UserBundle\Entity\UserManager; |
17 | 14 | use Oro\Bundle\UserBundle\Entity\User; |
18 | 15 |
@@ -3,10 +3,8 @@ |
||
3 | 3 | namespace OroCRM\Bundle\TestFrameworkBundle\Tests\Performance; |
4 | 4 | |
5 | 5 | use Symfony\Bundle\FrameworkBundle\Console\Application; |
6 | - |
|
7 | 6 | use Symfony\Component\HttpKernel\Kernel; |
8 | 7 | use Symfony\Component\DependencyInjection\Container; |
9 | - |
|
10 | 8 | use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase; |
11 | 9 | |
12 | 10 | class LoadTest extends WebTestCase |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Symfony\Component\Validator\Constraint; |
6 | 6 | use Symfony\Component\Validator\ConstraintValidator; |
7 | - |
|
8 | 7 | use OroCRM\Bundle\TaskBundle\Validator\Constraints\DueDateRequired; |
9 | 8 | use OroCRM\Bundle\TaskBundle\Entity\Task; |
10 | 9 |