@@ -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,19 +4,14 @@ |
||
4 | 4 | |
5 | 5 | use Symfony\Component\HttpFoundation\Response; |
6 | 6 | use Symfony\Component\HttpFoundation\JsonResponse; |
7 | - |
|
8 | 7 | use FOS\RestBundle\Controller\Annotations\NamePrefix; |
9 | 8 | use FOS\RestBundle\Controller\Annotations\RouteResource; |
10 | 9 | use FOS\RestBundle\Routing\ClassResourceInterface; |
11 | 10 | use FOS\RestBundle\Util\Codes; |
12 | - |
|
13 | 11 | use Nelmio\ApiDocBundle\Annotation\ApiDoc; |
14 | - |
|
15 | -use Oro\Bundle\SecurityBundle\Annotation\Acl; |
|
16 | 12 | use Oro\Bundle\FormBundle\Form\Handler\ApiFormHandler; |
17 | 13 | use Oro\Bundle\SecurityBundle\Annotation\AclAncestor; |
18 | 14 | use Oro\Bundle\SoapBundle\Controller\Api\Rest\RestController; |
19 | - |
|
20 | 15 | use OroCRM\Bundle\ContactBundle\Entity\Contact; |
21 | 16 | |
22 | 17 | /** |
@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | } |
113 | 113 | |
114 | 114 | /** |
115 | - * @param $tagsNames |
|
115 | + * @param string[] $tagsNames |
|
116 | 116 | * |
117 | 117 | * @return Tag[] |
118 | 118 | */ |
@@ -206,7 +206,7 @@ discard block |
||
206 | 206 | /** |
207 | 207 | * Flush objects |
208 | 208 | * |
209 | - * @param mixed $manager |
|
209 | + * @param EntityManager $manager |
|
210 | 210 | */ |
211 | 211 | private function flush($manager) |
212 | 212 | { |
@@ -8,16 +8,13 @@ |
||
8 | 8 | use Doctrine\Common\Persistence\ObjectManager; |
9 | 9 | use Doctrine\ORM\EntityRepository; |
10 | 10 | use Doctrine\ORM\EntityManager; |
11 | - |
|
12 | 11 | use Symfony\Component\DependencyInjection\ContainerInterface; |
13 | 12 | use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
14 | - |
|
15 | 13 | use Oro\Bundle\SecurityBundle\Authentication\Token\UsernamePasswordOrganizationToken; |
16 | 14 | use Oro\Bundle\OrganizationBundle\Entity\Organization; |
17 | 15 | use Oro\Bundle\UserBundle\Entity\User; |
18 | 16 | use Oro\Bundle\TagBundle\Entity\Tag; |
19 | 17 | use Oro\Bundle\TagBundle\Entity\TagManager; |
20 | - |
|
21 | 18 | use OroCRM\Bundle\AccountBundle\Entity\Account; |
22 | 19 | use OroCRM\Bundle\ContactBundle\Entity\Contact; |
23 | 20 |
@@ -242,7 +242,7 @@ |
||
242 | 242 | /** |
243 | 243 | * @param Integration $integration |
244 | 244 | * @param array $parameters |
245 | - * @param array $postProcessConnectors |
|
245 | + * @param string[] $postProcessConnectors |
|
246 | 246 | * @param \DateTime $startSyncDate |
247 | 247 | * @return bool |
248 | 248 | */ |
@@ -80,7 +80,7 @@ |
||
80 | 80 | |
81 | 81 | /** |
82 | 82 | * @param LoggerInterface $logger |
83 | - * @param $sql |
|
83 | + * @param string $sql |
|
84 | 84 | * @param array $parameters |
85 | 85 | * @throws \Doctrine\DBAL\DBALException |
86 | 86 | */ |
@@ -3,12 +3,9 @@ |
||
3 | 3 | namespace OroCRM\Bundle\ActivityContactBundle\Migrations\Schema\v1_0; |
4 | 4 | |
5 | 5 | use Psr\Log\LoggerInterface; |
6 | - |
|
7 | 6 | use Doctrine\DBAL\Types\Type; |
8 | - |
|
9 | 7 | use Oro\Bundle\MigrationBundle\Migration\ArrayLogger; |
10 | 8 | use Oro\Bundle\MigrationBundle\Migration\ParametrizedMigrationQuery; |
11 | - |
|
12 | 9 | use OroCRM\Bundle\ActivityContactBundle\EntityConfig\ActivityScope; |
13 | 10 | |
14 | 11 | class UpdateConfigQuery extends ParametrizedMigrationQuery |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use OroCRM\Bundle\MagentoBundle\Provider\Iterator\NewsletterSubscriberBridgeIterator; |
6 | 6 | use OroCRM\Bundle\MagentoBundle\Provider\Iterator\UpdatedLoaderInterface; |
7 | -use OroCRM\Bundle\MagentoBundle\Provider\Transport\MagentoTransportInterface; |
|
8 | 7 | |
9 | 8 | class NewsletterSubscriberBridgeIteratorTest extends BaseIteratorTestCase |
10 | 9 | { |
@@ -16,8 +16,8 @@ |
||
16 | 16 | } |
17 | 17 | |
18 | 18 | /** |
19 | - * @param array $orderArray |
|
20 | - * @param array $stores |
|
19 | + * @param string $orderArray |
|
20 | + * @param string $stores |
|
21 | 21 | * |
22 | 22 | * @dataProvider dataProvider |
23 | 23 | */ |
@@ -114,9 +114,9 @@ |
||
114 | 114 | } |
115 | 115 | |
116 | 116 | /** |
117 | - * @param object $entity |
|
117 | + * @param Order $entity |
|
118 | 118 | * @param array $data |
119 | - * @param array $excludeProperties |
|
119 | + * @param string[] $excludeProperties |
|
120 | 120 | */ |
121 | 121 | public function setEntityPropertyValues($entity, array $data, array $excludeProperties = []) |
122 | 122 | { |
@@ -8,7 +8,6 @@ |
||
8 | 8 | use Symfony\Component\DependencyInjection\ContainerInterface; |
9 | 9 | use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
10 | 10 | use Symfony\Component\PropertyAccess\PropertyAccess; |
11 | - |
|
12 | 11 | use Oro\Bundle\UserBundle\Entity\User; |
13 | 12 | use Oro\Bundle\UserBundle\Migrations\Data\ORM\LoadAdminUserData; |
14 | 13 | use OroCRM\Bundle\MagentoBundle\Entity\Order; |
@@ -82,7 +82,7 @@ |
||
82 | 82 | |
83 | 83 | /** |
84 | 84 | * @param AclManager $aclManager |
85 | - * @param mixed $sid |
|
85 | + * @param SecurityIdentityInterface $sid |
|
86 | 86 | * @param string $permission |
87 | 87 | * @param array $acls |
88 | 88 | */ |
@@ -5,12 +5,10 @@ |
||
5 | 5 | use Doctrine\Common\DataFixtures\AbstractFixture; |
6 | 6 | use Doctrine\Common\Persistence\ObjectManager; |
7 | 7 | use Doctrine\Common\DataFixtures\DependentFixtureInterface; |
8 | - |
|
9 | 8 | use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
10 | 9 | use Symfony\Component\DependencyInjection\ContainerInterface; |
11 | 10 | use Symfony\Component\Security\Acl\Model\SecurityIdentityInterface; |
12 | 11 | use Symfony\Component\Yaml\Yaml; |
13 | - |
|
14 | 12 | use Oro\Bundle\UserBundle\Entity\Role; |
15 | 13 | use Oro\Bundle\SecurityBundle\Acl\Persistence\AclManager; |
16 | 14 |