@@ -5,10 +5,8 @@ |
||
5 | 5 | use Doctrine\Common\DataFixtures\AbstractFixture; |
6 | 6 | use Doctrine\Common\DataFixtures\DependentFixtureInterface; |
7 | 7 | use Doctrine\Common\Persistence\ObjectManager; |
8 | - |
|
9 | 8 | use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
10 | 9 | use Symfony\Component\DependencyInjection\ContainerInterface; |
11 | - |
|
12 | 10 | use Oro\Bundle\IntegrationBundle\Entity\Channel as Integration; |
13 | 11 | use Oro\Bundle\EntityExtendBundle\Entity\AbstractEnumValue; |
14 | 12 | use Oro\Bundle\EntityExtendBundle\Tools\ExtendHelper; |
@@ -4,13 +4,10 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Common\Persistence\ObjectManager; |
6 | 6 | use Doctrine\Common\DataFixtures\AbstractFixture; |
7 | - |
|
8 | 7 | use Symfony\Component\DependencyInjection\ContainerInterface; |
9 | 8 | use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
10 | - |
|
11 | 9 | use Oro\Bundle\UserBundle\Entity\User; |
12 | 10 | use Oro\Bundle\UserBundle\Entity\UserManager; |
13 | - |
|
14 | 11 | use OroCRM\Bundle\AccountBundle\Entity\Account; |
15 | 12 | use OroCRM\Bundle\ContactBundle\Entity\Contact; |
16 | 13 |
@@ -4,10 +4,8 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Common\Persistence\ObjectManager; |
6 | 6 | use Doctrine\Common\DataFixtures\AbstractFixture; |
7 | - |
|
8 | 7 | use Symfony\Component\DependencyInjection\ContainerInterface; |
9 | 8 | use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
10 | - |
|
11 | 9 | use Oro\Bundle\UserBundle\Entity\User; |
12 | 10 | use Oro\Bundle\UserBundle\Entity\UserManager; |
13 | 11 |
@@ -113,9 +113,9 @@ |
||
113 | 113 | } |
114 | 114 | |
115 | 115 | /** |
116 | - * @param object $entity |
|
116 | + * @param RFMMetricCategory $entity |
|
117 | 117 | * @param array $data |
118 | - * @param array $excludeProperties |
|
118 | + * @param string[] $excludeProperties |
|
119 | 119 | */ |
120 | 120 | public function setEntityPropertyValues($entity, array $data, array $excludeProperties = []) |
121 | 121 | { |
@@ -5,11 +5,9 @@ |
||
5 | 5 | use Doctrine\Common\Persistence\ObjectManager; |
6 | 6 | use Doctrine\Common\DataFixtures\AbstractFixture; |
7 | 7 | use Doctrine\Common\DataFixtures\DependentFixtureInterface; |
8 | - |
|
9 | 8 | use Symfony\Component\DependencyInjection\ContainerInterface; |
10 | 9 | use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
11 | 10 | use Symfony\Component\PropertyAccess\PropertyAccess; |
12 | - |
|
13 | 11 | use OroCRM\Bundle\AnalyticsBundle\Model\RFMAwareInterface; |
14 | 12 | use OroCRM\Bundle\AnalyticsBundle\Entity\RFMMetricCategory; |
15 | 13 | use OroCRM\Bundle\ChannelBundle\Entity\Channel; |
@@ -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\Migrations\Data\ORM\LoadAdminUserData; |
13 | 12 | use OroCRM\Bundle\MagentoBundle\Entity\Order; |
14 | 13 |
@@ -4,10 +4,8 @@ |
||
4 | 4 | |
5 | 5 | use Akeneo\Bundle\BatchBundle\Entity\JobExecution; |
6 | 6 | use Akeneo\Bundle\BatchBundle\Entity\StepExecution; |
7 | - |
|
8 | 7 | use Oro\Bundle\ImportExportBundle\Context\StepExecutionProxyContext; |
9 | 8 | use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase; |
10 | - |
|
11 | 9 | use OroCRM\Bundle\MagentoBundle\Entity\Customer; |
12 | 10 | use OroCRM\Bundle\MagentoBundle\Entity\NewsletterSubscriber; |
13 | 11 | use OroCRM\Bundle\MagentoBundle\ImportExport\Strategy\NewsletterSubscriberWithExistingCustomerStrategy; |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Oro\Bundle\TestFrameworkBundle\Test\Selenium2TestCase; |
6 | 6 | use Oro\Bundle\IntegrationBundle\Tests\Selenium\Pages\Integrations; |
7 | - |
|
8 | 7 | use OroCRM\Bundle\MagentoBundle\Tests\Selenium\Pages\Integration; |
9 | 8 | |
10 | 9 | /** |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Tests\Unit\Acl\Voter; |
4 | 4 | |
5 | 5 | use Symfony\Component\Security\Core\Authentication\Token\TokenInterface; |
6 | - |
|
7 | 6 | use OroCRM\Bundle\MagentoBundle\Acl\Voter\CustomerVoter; |
8 | 7 | use OroCRM\Bundle\MagentoBundle\Entity\Customer; |
9 | 8 |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Tests\Unit\Acl\Voter; |
4 | 4 | |
5 | 5 | use Symfony\Component\Security\Core\Authentication\Token\TokenInterface; |
6 | - |
|
7 | 6 | use OroCRM\Bundle\MagentoBundle\Entity\NewsletterSubscriber; |
8 | 7 | use OroCRM\Bundle\MagentoBundle\Acl\Voter\NewsletterSubscriberVoter; |
9 | 8 |