@@ -3,12 +3,10 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Tests\Functional\Controller\Api\Rest; |
4 | 4 | |
5 | 5 | use Doctrine\Common\Persistence\ObjectManager; |
6 | - |
|
7 | 6 | use Oro\Bundle\AddressBundle\Entity\AddressType; |
8 | 7 | use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase; |
9 | 8 | use Oro\Bundle\IntegrationBundle\Entity\Channel; |
10 | 9 | use Oro\Bundle\UserBundle\Entity\User; |
11 | - |
|
12 | 10 | use OroCRM\Bundle\MagentoBundle\Entity\Customer; |
13 | 11 | |
14 | 12 | /** |
@@ -3,11 +3,9 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Tests\Functional\Controller\Api\Rest; |
4 | 4 | |
5 | 5 | use Doctrine\Common\Persistence\ObjectManager; |
6 | - |
|
7 | 6 | use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase; |
8 | 7 | use Oro\Bundle\IntegrationBundle\Entity\Channel; |
9 | 8 | use Oro\Bundle\UserBundle\Entity\User; |
10 | - |
|
11 | 9 | use OroCRM\Bundle\MagentoBundle\Entity\Customer; |
12 | 10 | use OroCRM\Bundle\MagentoBundle\Entity\Website; |
13 | 11 | use OroCRM\Bundle\MagentoBundle\Entity\Store; |
@@ -3,11 +3,9 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Tests\Functional\Controller\Api\Rest; |
4 | 4 | |
5 | 5 | use Doctrine\Common\Persistence\ObjectManager; |
6 | - |
|
7 | 6 | use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase; |
8 | 7 | use Oro\Bundle\IntegrationBundle\Entity\Channel; |
9 | 8 | use Oro\Bundle\UserBundle\Entity\User; |
10 | - |
|
11 | 9 | use OroCRM\Bundle\MagentoBundle\Entity\Customer; |
12 | 10 | use OroCRM\Bundle\MagentoBundle\Entity\Website; |
13 | 11 | use OroCRM\Bundle\MagentoBundle\Entity\Store; |
@@ -4,10 +4,8 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Common\Persistence\ManagerRegistry; |
6 | 6 | use Doctrine\Common\Persistence\ObjectRepository; |
7 | - |
|
8 | 7 | use Oro\Bundle\DashboardBundle\Entity\Dashboard; |
9 | 8 | use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase; |
10 | - |
|
11 | 9 | use OroCRM\Bundle\ChannelBundle\Entity\Channel; |
12 | 10 | use OroCRM\Bundle\MagentoBundle\Provider\ChannelType; |
13 | 11 |
@@ -4,12 +4,9 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManager; |
6 | 6 | use Doctrine\Common\Util\ClassUtils; |
7 | - |
|
8 | 7 | use Symfony\Component\DomCrawler\Form; |
9 | - |
|
10 | 8 | use Oro\Bundle\IntegrationBundle\Entity\Channel; |
11 | 9 | use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase; |
12 | - |
|
13 | 10 | use OroCRM\Bundle\MagentoBundle\Entity\Customer; |
14 | 11 | use OroCRM\Bundle\MagentoBundle\Entity\Cart; |
15 | 12 | use OroCRM\Bundle\MagentoBundle\Entity\Order; |
@@ -5,12 +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 | - |
|
12 | 10 | use Oro\Bundle\UserBundle\Entity\UserManager; |
13 | - |
|
14 | 11 | use OroCRM\Bundle\ContactBundle\Entity\Contact; |
15 | 12 | use OroCRM\Bundle\MagentoBundle\Entity\Customer; |
16 | 13 | use OroCRM\Bundle\ContactBundle\Entity\ContactEmail; |
@@ -61,8 +61,8 @@ |
||
61 | 61 | |
62 | 62 | |
63 | 63 | /** |
64 | - * @param $firstName |
|
65 | - * @param $lastname |
|
64 | + * @param string $firstName |
|
65 | + * @param string $lastname |
|
66 | 66 | */ |
67 | 67 | protected function createCustomer($firstName, $lastname) |
68 | 68 | { |
@@ -5,15 +5,11 @@ |
||
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 | - |
|
13 | 10 | use Oro\Bundle\OrganizationBundle\Entity\Organization; |
14 | 11 | use Oro\Bundle\UserBundle\Entity\User; |
15 | 12 | use Oro\Bundle\UserBundle\Model\Gender; |
16 | - |
|
17 | 13 | use OroCRM\Bundle\MagentoBundle\Entity\Customer; |
18 | 14 | |
19 | 15 | class LoadCustomerData extends AbstractFixture implements ContainerAwareInterface, DependentFixtureInterface |
@@ -129,8 +129,8 @@ discard block |
||
129 | 129 | } |
130 | 130 | |
131 | 131 | /** |
132 | - * @param $billing |
|
133 | - * @param $shipping |
|
132 | + * @param CartAddress $billing |
|
133 | + * @param CartAddress $shipping |
|
134 | 134 | * @param Customer $customer |
135 | 135 | * @param ArrayCollection $item |
136 | 136 | * @param CartStatus $status |
@@ -170,8 +170,8 @@ discard block |
||
170 | 170 | } |
171 | 171 | |
172 | 172 | /** |
173 | - * @param $table |
|
174 | - * @param $method |
|
173 | + * @param string $table |
|
174 | + * @param string $method |
|
175 | 175 | * |
176 | 176 | * @return array |
177 | 177 | */ |
@@ -233,7 +233,7 @@ discard block |
||
233 | 233 | /** |
234 | 234 | * @param $region |
235 | 235 | * @param $country |
236 | - * @param $originId |
|
236 | + * @param integer $originId |
|
237 | 237 | * |
238 | 238 | * @return CartAddress |
239 | 239 | */ |
@@ -307,7 +307,7 @@ discard block |
||
307 | 307 | } |
308 | 308 | |
309 | 309 | /** |
310 | - * @param $oid |
|
310 | + * @param integer $oid |
|
311 | 311 | * @param Account $account |
312 | 312 | * @param MagentoAddress $address |
313 | 313 | * |
@@ -5,17 +5,14 @@ |
||
5 | 5 | use Doctrine\Common\Collections\ArrayCollection; |
6 | 6 | use Doctrine\Common\DataFixtures\AbstractFixture; |
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\AddressBundle\Entity\Address; |
13 | 11 | use Oro\Bundle\DataGridBundle\Common\Object; |
14 | 12 | use Oro\Bundle\IntegrationBundle\Entity\Channel as Integration; |
15 | 13 | use Oro\Bundle\OrganizationBundle\Entity\Organization; |
16 | 14 | use Oro\Bundle\UserBundle\Entity\User; |
17 | 15 | use Oro\Bundle\UserBundle\Model\Gender; |
18 | - |
|
19 | 16 | use OroCRM\Bundle\AccountBundle\Entity\Account; |
20 | 17 | use OroCRM\Bundle\ChannelBundle\Builder\BuilderFactory; |
21 | 18 | use OroCRM\Bundle\ChannelBundle\Entity\Channel; |
@@ -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; |