Completed
Push — 1.8 ( 8d6730...a2d9e7 )
by
unknown
42:28
created
src/OroCRM/Bundle/AccountBundle/Entity/Account.php 2 patches
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,11 +3,9 @@  discard block
 block discarded – undo
3 3
 namespace OroCRM\Bundle\AccountBundle\Entity;
4 4
 
5 5
 use BeSimple\SoapBundle\ServiceDefinition\Annotation as Soap;
6
-
7 6
 use Doctrine\Common\Collections\ArrayCollection;
8 7
 use Doctrine\Common\Collections\Collection;
9 8
 use Doctrine\ORM\Mapping as ORM;
10
-
11 9
 use Oro\Bundle\DataAuditBundle\Metadata\Annotation as Oro;
12 10
 use Oro\Bundle\EmailBundle\Model\EmailHolderInterface;
13 11
 use Oro\Bundle\EntityConfigBundle\Metadata\Annotation\Config;
@@ -16,7 +14,6 @@  discard block
 block discarded – undo
16 14
 use Oro\Bundle\OrganizationBundle\Entity\Organization;
17 15
 use Oro\Bundle\TagBundle\Entity\Taggable;
18 16
 use Oro\Bundle\UserBundle\Entity\User;
19
-
20 17
 use OroCRM\Bundle\AccountBundle\Model\ExtendAccount;
21 18
 use OroCRM\Bundle\ContactBundle\Entity\Contact;
22 19
 
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -229,7 +229,7 @@  discard block
 block discarded – undo
229 229
     /**
230 230
      * Returns the account unique id.
231 231
      *
232
-     * @return mixed
232
+     * @return integer
233 233
      */
234 234
     public function getId()
235 235
     {
@@ -316,7 +316,7 @@  discard block
 block discarded – undo
316 316
     /**
317 317
      * Get contacts collection
318 318
      *
319
-     * @return Collection|Contact[]
319
+     * @return Collection
320 320
      */
321 321
     public function getContacts()
322 322
     {
Please login to merge, or discard this patch.
OroCRM/Bundle/ActivityContactBundle/Provider/ActivityContactProvider.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 Doctrine\Common\Util\ClassUtils;
6 6
 use Doctrine\ORM\EntityManager;
7
-
8 7
 use OroCRM\Bundle\ActivityContactBundle\Direction\DirectionProviderInterface;
9 8
 
10 9
 class ActivityContactProvider
Please login to merge, or discard this patch.
src/OroCRM/Bundle/MagentoBundle/Entity/Customer.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -5,14 +5,12 @@
 block discarded – undo
5 5
 use Doctrine\Common\Collections\ArrayCollection;
6 6
 use Doctrine\Common\Collections\Collection;
7 7
 use Doctrine\ORM\Mapping as ORM;
8
-
9 8
 use Oro\Bundle\AddressBundle\Entity\AbstractAddress;
10 9
 use Oro\Bundle\DataAuditBundle\Metadata\Annotation as Oro;
11 10
 use Oro\Bundle\EntityConfigBundle\Metadata\Annotation\Config;
12 11
 use Oro\Bundle\EntityConfigBundle\Metadata\Annotation\ConfigField;
13 12
 use Oro\Bundle\OrganizationBundle\Entity\Organization;
14 13
 use Oro\Bundle\UserBundle\Entity\User;
15
-
16 14
 use OroCRM\Bundle\AccountBundle\Entity\Account;
17 15
 use OroCRM\Bundle\AnalyticsBundle\Model\RFMAwareInterface;
18 16
 use OroCRM\Bundle\AnalyticsBundle\Model\RFMAwareTrait;
Please login to merge, or discard this patch.
Bundle/MagentoBundle/Entity/Manager/CustomerAddressApiEntityManager.php 1 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\Entity\Manager;
4 4
 
5 5
 use Doctrine\ORM\QueryBuilder;
6
-
7 6
 use Oro\Bundle\SoapBundle\Entity\Manager\ApiEntityManager;
8
-
9 7
 use OroCRM\Bundle\MagentoBundle\Entity\Address;
10 8
 
11 9
 class CustomerAddressApiEntityManager extends ApiEntityManager
Please login to merge, or discard this patch.
src/OroCRM/Bundle/MagentoBundle/Entity/Repository/CartRepository.php 2 patches
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\Entity\Repository;
4 4
 
5 5
 use Doctrine\ORM\NoResultException;
6
-
7 6
 use Oro\Bundle\IntegrationBundle\Entity\Channel;
8 7
 use Oro\Bundle\SecurityBundle\ORM\Walker\AclHelper;
9 8
 use Oro\Bundle\WorkflowBundle\Model\Workflow;
10 9
 use Oro\Bundle\BatchBundle\ORM\Query\BufferedQueryResultIterator;
11
-
12 10
 use OroCRM\Bundle\MagentoBundle\Entity\Cart;
13 11
 use OroCRM\Bundle\MagentoBundle\Entity\CartStatus;
14 12
 
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
      * @param Channel $channel
166 166
      * @param string  $status
167 167
      *
168
-     * @return \Doctrine\ORM\QueryBuilder
168
+     * @return BufferedQueryResultIterator
169 169
      */
170 170
     public function getCartsByChannelIdsIterator(Channel $channel, $status = 'open')
171 171
     {
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
      * @param \DateTime $start
219 219
      * @param \DateTime $end
220 220
      * @param AclHelper $aclHelper
221
-     * @return float|null
221
+     * @return integer|null
222 222
      * @throws \Doctrine\ORM\NonUniqueResultException
223 223
      */
224 224
     public function getAbandonRateByPeriod(\DateTime $start, \DateTime $end, AclHelper $aclHelper)
Please login to merge, or discard this patch.
src/OroCRM/Bundle/MagentoBundle/Provider/AbstractMagentoConnector.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,9 +3,7 @@  discard block
 block discarded – undo
3 3
 namespace OroCRM\Bundle\MagentoBundle\Provider;
4 4
 
5 5
 use Doctrine\Common\Persistence\ManagerRegistry;
6
-
7 6
 use Psr\Log\LoggerAwareInterface;
8
-
9 7
 use Oro\Bundle\ImportExportBundle\Context\ContextRegistry;
10 8
 use Oro\Bundle\ImportExportBundle\Context\ContextInterface;
11 9
 use Oro\Bundle\IntegrationBundle\Entity\Channel as Integration;
@@ -14,7 +12,6 @@  discard block
 block discarded – undo
14 12
 use Oro\Bundle\IntegrationBundle\Logger\LoggerStrategy;
15 13
 use Oro\Bundle\IntegrationBundle\Provider\AbstractConnector;
16 14
 use Oro\Bundle\IntegrationBundle\Provider\ConnectorContextMediator;
17
-
18 15
 use OroCRM\Bundle\MagentoBundle\Provider\Iterator\PredefinedFiltersAwareInterface;
19 16
 use OroCRM\Bundle\MagentoBundle\Provider\Iterator\UpdatedLoaderInterface;
20 17
 use OroCRM\Bundle\MagentoBundle\Provider\Transport\MagentoTransportInterface;
Please login to merge, or discard this patch.
src/OroCRM/Bundle/MagentoBundle/Provider/Transport/SoapTransport.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\Provider\Transport;
4 4
 
5 5
 use Symfony\Component\Config\Definition\Exception\InvalidConfigurationException;
6
-
7 6
 use Oro\Bundle\IntegrationBundle\Entity\Transport;
8 7
 use Oro\Bundle\IntegrationBundle\Provider\SOAPTransport as BaseSOAPTransport;
9 8
 use Oro\Bundle\IntegrationBundle\Utils\ConverterUtils;
10 9
 use Oro\Bundle\SecurityBundle\Encoder\Mcrypt;
11
-
12 10
 use OroCRM\Bundle\MagentoBundle\Entity\MagentoSoapTransport;
13 11
 use OroCRM\Bundle\MagentoBundle\Exception\ExtensionRequiredException;
14 12
 use OroCRM\Bundle\MagentoBundle\Provider\Iterator\CartsBridgeIterator;
Please login to merge, or discard this patch.
MagentoBundle/Tests/Unit/ImportExport/Writer/ProxyEntityWriterTest.php 1 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\Tests\Unit\ImportExport\Writer;
4 4
 
5 5
 use Akeneo\Bundle\BatchBundle\Item\ItemWriterInterface;
6
-
7 6
 use Oro\Bundle\ImportExportBundle\Field\DatabaseHelper;
8
-
9 7
 use OroCRM\Bundle\MagentoBundle\Entity\Cart;
10 8
 use OroCRM\Bundle\MagentoBundle\Entity\Customer;
11 9
 use OroCRM\Bundle\MagentoBundle\Entity\Order;
Please login to merge, or discard this patch.
src/OroCRM/Bundle/SalesBundle/Entity/Lead.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@  discard block
 block discarded – undo
5 5
 use Doctrine\ORM\Event\LifecycleEventArgs;
6 6
 use Doctrine\ORM\Mapping as ORM;
7 7
 use Doctrine\Common\Collections\ArrayCollection;
8
-
9 8
 use Oro\Bundle\AddressBundle\Entity\Address;
10 9
 use Oro\Bundle\DataAuditBundle\Metadata\Annotation as Oro;
11 10
 use Oro\Bundle\EmailBundle\Model\EmailHolderInterface;
@@ -17,7 +16,6 @@  discard block
 block discarded – undo
17 16
 use Oro\Bundle\LocaleBundle\Model\FullNameInterface;
18 17
 use Oro\Bundle\WorkflowBundle\Entity\WorkflowItem;
19 18
 use Oro\Bundle\WorkflowBundle\Entity\WorkflowStep;
20
-
21 19
 use OroCRM\Bundle\ContactBundle\Entity\Contact;
22 20
 use OroCRM\Bundle\SalesBundle\Model\ExtendLead;
23 21
 use OroCRM\Bundle\ChannelBundle\Model\ChannelEntityTrait;
Please login to merge, or discard this patch.