Completed
Push — master ( dd2819...45b95e )
by
unknown
10:20
created
Tests/Functional/Controller/Api/Rest/CustomerAddressControllerTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,12 +3,10 @@
 block discarded – undo
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
 /**
Please login to merge, or discard this patch.
Tests/Functional/Controller/Api/Rest/CustomerControllerTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,11 +3,9 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
Tests/Functional/Controller/Api/Rest/MagentoCustomerControllerTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,11 +3,9 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
Tests/Functional/Controller/Dashboard/DashboardControllerTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,10 +4,8 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
Tests/Functional/EventListener/ChannelOwnerSetListenerTest.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -4,12 +4,9 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
Bundle/MagentoBundle/Tests/Functional/Fixture/LoadCustomerContact.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -5,12 +5,9 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
OroCRM/Bundle/MagentoBundle/Tests/Functional/Fixture/LoadCustomerData.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,8 +61,8 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -5,15 +5,11 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
OroCRM/Bundle/MagentoBundle/Tests/Functional/Fixture/LoadMagentoChannel.php 2 patches
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -129,8 +129,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
      *
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -5,17 +5,14 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
MagentoBundle/Tests/Functional/Fixture/LoadNewsletterSubscriberData.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -5,10 +5,8 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.