@@ -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 |
@@ -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 |
@@ -233,8 +233,8 @@ discard block |
||
233 | 233 | /** |
234 | 234 | * Persist object |
235 | 235 | * |
236 | - * @param mixed $manager |
|
237 | - * @param mixed $object |
|
236 | + * @param EntityManager $manager |
|
237 | + * @param Lead $object |
|
238 | 238 | */ |
239 | 239 | private function persist($manager, $object) |
240 | 240 | { |
@@ -244,7 +244,7 @@ discard block |
||
244 | 244 | /** |
245 | 245 | * Flush objects |
246 | 246 | * |
247 | - * @param mixed $manager |
|
247 | + * @param EntityManager $manager |
|
248 | 248 | */ |
249 | 249 | private function flush($manager) |
250 | 250 | { |
@@ -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 |
@@ -307,13 +307,12 @@ discard block |
||
307 | 307 | /** |
308 | 308 | * @param ObjectManager $om |
309 | 309 | * @param Store $store |
310 | - * @param Integration $integration |
|
311 | 310 | * @param Customer $customer |
312 | 311 | * @param string $status |
313 | 312 | * @param Cart $cart |
314 | 313 | * @param string $paymentMethod |
315 | 314 | * @param string $paymentMethodDetails |
316 | - * @param mixed $origin |
|
315 | + * @param integer $origin |
|
317 | 316 | * |
318 | 317 | * @return Order |
319 | 318 | */ |
@@ -529,7 +528,6 @@ discard block |
||
529 | 528 | |
530 | 529 | /** |
531 | 530 | * @param ObjectManager $om |
532 | - * @param Website $website |
|
533 | 531 | * @param Store $store |
534 | 532 | * @param CustomerGroup $group |
535 | 533 | * @param Channel $channel |
@@ -6,11 +6,8 @@ |
||
6 | 6 | use Doctrine\Common\DataFixtures\AbstractFixture; |
7 | 7 | use Doctrine\Common\Persistence\ObjectManager; |
8 | 8 | use Doctrine\ORM\EntityManager; |
9 | - |
|
10 | 9 | use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
11 | -use Symfony\Component\DependencyInjection\ContainerInterface; |
|
12 | 10 | use Symfony\Component\DependencyInjection\ContainerAwareTrait; |
13 | - |
|
14 | 11 | use OroCRM\Bundle\CaseBundle\Entity\CaseComment; |
15 | 12 | use OroCRM\Bundle\CaseBundle\Entity\CaseEntity; |
16 | 13 | use Oro\Bundle\OrganizationBundle\Entity\Organization; |
@@ -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 |
@@ -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 |
@@ -145,7 +145,7 @@ discard block |
||
145 | 145 | /** |
146 | 146 | * Persist object |
147 | 147 | * |
148 | - * @param mixed $manager |
|
148 | + * @param EntityManager $manager |
|
149 | 149 | * @param mixed $object |
150 | 150 | */ |
151 | 151 | private function persist($manager, $object) |
@@ -156,7 +156,7 @@ discard block |
||
156 | 156 | /** |
157 | 157 | * Flush objects |
158 | 158 | * |
159 | - * @param mixed $manager |
|
159 | + * @param EntityManager $manager |
|
160 | 160 | */ |
161 | 161 | private function flush($manager) |
162 | 162 | { |
@@ -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 |
@@ -91,8 +91,8 @@ discard block |
||
91 | 91 | /** |
92 | 92 | * Persist object |
93 | 93 | * |
94 | - * @param mixed $manager |
|
95 | - * @param mixed $object |
|
94 | + * @param EntityManager $manager |
|
95 | + * @param Report $object |
|
96 | 96 | */ |
97 | 97 | private function persist($manager, $object) |
98 | 98 | { |
@@ -102,7 +102,7 @@ discard block |
||
102 | 102 | /** |
103 | 103 | * Flush objects |
104 | 104 | * |
105 | - * @param mixed $manager |
|
105 | + * @param EntityManager $manager |
|
106 | 106 | */ |
107 | 107 | private function flush($manager) |
108 | 108 | { |
@@ -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 |
@@ -273,7 +273,7 @@ |
||
273 | 273 | /** |
274 | 274 | * Flush objects |
275 | 275 | * |
276 | - * @param mixed $manager |
|
276 | + * @param EntityManager $manager |
|
277 | 277 | */ |
278 | 278 | private function flush($manager) |
279 | 279 | { |
@@ -5,19 +5,15 @@ |
||
5 | 5 | use Symfony\Component\DependencyInjection\ContainerInterface; |
6 | 6 | use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
7 | 7 | use Symfony\Component\Security\Core\SecurityContext; |
8 | - |
|
9 | 8 | use Doctrine\Common\Collections\Criteria; |
10 | 9 | use Doctrine\Common\DataFixtures\DependentFixtureInterface; |
11 | 10 | use Doctrine\Common\DataFixtures\AbstractFixture; |
12 | 11 | use Doctrine\Common\Persistence\ObjectManager; |
13 | 12 | use Doctrine\ORM\EntityManager; |
14 | - |
|
15 | 13 | use Oro\Bundle\WorkflowBundle\Model\WorkflowManager; |
16 | -use Oro\Bundle\WorkflowBundle\Entity\WorkflowItem; |
|
17 | 14 | use Oro\Bundle\SalesBundle\Entity\Lead; |
18 | 15 | use Oro\Bundle\SalesBundle\Entity\Opportunity; |
19 | 16 | use Oro\Bundle\SalesBundle\Entity\SalesFunnel; |
20 | - |
|
21 | 17 | use Oro\Bundle\SecurityBundle\Authentication\Token\UsernamePasswordOrganizationToken; |
22 | 18 | use Oro\Bundle\OrganizationBundle\Entity\Organization; |
23 | 19 | use Oro\Bundle\UserBundle\Entity\User; |