Completed
Push — master ( dd2819...45b95e )
by
unknown
10:20
created
OroCRM/Bundle/MagentoBundle/ImportExport/Serializer/RegionDenormalizer.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Oro\Bundle\AddressBundle\Entity\Region as BAPRegion;
6 6
 use Oro\Bundle\ImportExportBundle\Serializer\Normalizer\DenormalizerInterface;
7
-
8 7
 use OroCRM\Bundle\MagentoBundle\Entity\Region;
9 8
 use OroCRM\Bundle\MagentoBundle\Provider\MagentoConnectorInterface;
10 9
 
Please login to merge, or discard this patch.
src/OroCRM/Bundle/MagentoBundle/ImportExport/Strategy/CartStrategy.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -160,7 +160,7 @@
 block discarded – undo
160 160
 
161 161
     /**
162 162
      * @param Cart $entity
163
-     * @return null
163
+     * @return boolean
164 164
      */
165 165
     protected function hasContactInfo(Cart $entity)
166 166
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,9 +3,7 @@
 block discarded – undo
3 3
 namespace OroCRM\Bundle\MagentoBundle\ImportExport\Strategy;
4 4
 
5 5
 use Doctrine\Common\Collections\ArrayCollection;
6
-
7 6
 use Symfony\Component\PropertyAccess\PropertyAccess;
8
-
9 7
 use OroCRM\Bundle\MagentoBundle\Entity\Cart;
10 8
 use OroCRM\Bundle\MagentoBundle\Entity\CartAddress;
11 9
 use OroCRM\Bundle\MagentoBundle\Entity\CartStatus;
Please login to merge, or discard this patch.
src/OroCRM/Bundle/MagentoBundle/ImportExport/Strategy/OrderStrategy.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace OroCRM\Bundle\MagentoBundle\ImportExport\Strategy;
4 4
 
5 5
 use Symfony\Component\PropertyAccess\PropertyAccess;
6
-
7 6
 use OroCRM\Bundle\MagentoBundle\Entity\CartStatus;
8 7
 use OroCRM\Bundle\MagentoBundle\Entity\Customer;
9 8
 use OroCRM\Bundle\MagentoBundle\Entity\Order;
Please login to merge, or discard this patch.
MagentoBundle/ImportExport/Strategy/StrategyHelper/AddressImportHelper.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,13 +3,11 @@
 block discarded – undo
3 3
 namespace OroCRM\Bundle\MagentoBundle\ImportExport\Strategy\StrategyHelper;
4 4
 
5 5
 use Akeneo\Bundle\BatchBundle\Item\InvalidItemException;
6
-
7 6
 use Oro\Bundle\AddressBundle\Entity\Country;
8 7
 use Oro\Bundle\AddressBundle\Entity\AddressType;
9 8
 use Oro\Bundle\AddressBundle\Entity\Region as BAPRegion;
10 9
 use Oro\Bundle\AddressBundle\Entity\AbstractAddress;
11 10
 use Oro\Bundle\AddressBundle\Entity\AbstractTypedAddress;
12
-
13 11
 use OroCRM\Bundle\MagentoBundle\Entity\Region;
14 12
 
15 13
 class AddressImportHelper
Please login to merge, or discard this patch.
MagentoBundle/ImportExport/Strategy/StrategyHelper/DoctrineHelper.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
     /**
24 24
      * @param mixed        $entity             New entity
25 25
      * @param string       $entityName         Class name
26
-     * @param string|array $criteria           Fieldname to find existing entity
26
+     * @param string $criteria           Fieldname to find existing entity
27 27
      * @param array        $excludedProperties Excluded properties
28 28
      *
29 29
      * @return mixed
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
     }
96 96
 
97 97
     /**
98
-     * @param $entityName
98
+     * @param string $entityName
99 99
      *
100 100
      * @return \Doctrine\ORM\EntityManager
101 101
      */
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -5,9 +5,7 @@
 block discarded – undo
5 5
 use Doctrine\ORM\UnitOfWork;
6 6
 use Doctrine\ORM\EntityRepository;
7 7
 use Doctrine\ORM\Mapping\ClassMetadataInfo;
8
-
9 8
 use Symfony\Component\Security\Core\Util\ClassUtils;
10
-
11 9
 use Oro\Bundle\ImportExportBundle\Strategy\Import\ImportStrategyHelper;
12 10
 
13 11
 class DoctrineHelper
Please login to merge, or discard this patch.
src/OroCRM/Bundle/MagentoBundle/ImportExport/Writer/ProxyEntityWriter.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -5,13 +5,10 @@
 block discarded – undo
5 5
 use Psr\Log\NullLogger;
6 6
 use Psr\Log\LoggerAwareTrait;
7 7
 use Psr\Log\LoggerAwareInterface;
8
-
9 8
 use Akeneo\Bundle\BatchBundle\Entity\StepExecution;
10 9
 use Akeneo\Bundle\BatchBundle\Item\ItemWriterInterface;
11 10
 use Akeneo\Bundle\BatchBundle\Step\StepExecutionAwareInterface;
12
-
13 11
 use Oro\Bundle\ImportExportBundle\Field\DatabaseHelper;
14
-
15 12
 use OroCRM\Bundle\MagentoBundle\Entity\Cart;
16 13
 use OroCRM\Bundle\MagentoBundle\Entity\Order;
17 14
 use OroCRM\Bundle\MagentoBundle\Entity\Customer;
Please login to merge, or discard this patch.
src/OroCRM/Bundle/MagentoBundle/Manager/MagentoDeleteProvider.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace OroCRM\Bundle\MagentoBundle\Manager;
4 4
 
5 5
 use Doctrine\ORM\EntityManager;
6
-
7 6
 use Oro\Bundle\IntegrationBundle\Entity\Channel;
8 7
 use Oro\Bundle\IntegrationBundle\Manager\DeleteProviderInterface;
9 8
 
Please login to merge, or discard this patch.
MagentoBundle/Migrations/Data/ORM/CreateSyncStatusForExistingConnectors.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,11 +4,9 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\Common\DataFixtures\AbstractFixture;
6 6
 use Doctrine\Common\Persistence\ObjectManager;
7
-
8 7
 use Oro\Bundle\IntegrationBundle\Entity\Channel;
9 8
 use Oro\Bundle\IntegrationBundle\Entity\Repository\ChannelRepository;
10 9
 use Oro\Bundle\IntegrationBundle\Entity\Status;
11
-
12 10
 use OroCRM\Bundle\MagentoBundle\Entity\MagentoSoapTransport;
13 11
 use OroCRM\Bundle\MagentoBundle\Provider\AbstractInitialProcessor;
14 12
 use OroCRM\Bundle\MagentoBundle\Provider\ChannelType;
Please login to merge, or discard this patch.
src/OroCRM/Bundle/MagentoBundle/Migrations/Data/ORM/LoadRegions.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
     /**
59 59
      * @param array $regionData
60 60
      *
61
-     * @return null|Region
61
+     * @return Region
62 62
      */
63 63
     protected function getRegion(array $regionData)
64 64
     {
Please login to merge, or discard this 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\Persistence\ObjectManager;
6 6
 use Doctrine\Common\Persistence\ObjectRepository;
7 7
 use Doctrine\Common\DataFixtures\AbstractFixture;
8
-
9 8
 use OroCRM\Bundle\MagentoBundle\Entity\Region;
10 9
 use Oro\Bundle\AddressBundle\Entity\Region as BAPRegion;
11
-
12 10
 use Symfony\Component\DependencyInjection\ContainerInterface;
13 11
 use Symfony\Component\DependencyInjection\ContainerAwareInterface;
14 12
 
Please login to merge, or discard this patch.