Completed
Push — 1.10 ( 93e51c...7f32fb )
by
unknown
11:06
created
OroCRM/Bundle/MagentoBundle/Controller/Dashboard/DashboardController.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,15 +3,12 @@
 block discarded – undo
3 3
 namespace OroCRM\Bundle\MagentoBundle\Controller\Dashboard;
4 4
 
5 5
 use Symfony\Bundle\FrameworkBundle\Controller\Controller;
6
-
7 6
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
8 7
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
9
-
10 8
 use Oro\Bundle\ChartBundle\Model\ChartViewBuilder;
11 9
 use Oro\Bundle\DashboardBundle\Model\WidgetConfigs;
12 10
 use Oro\Bundle\WorkflowBundle\Model\WorkflowManager;
13 11
 use Oro\Bundle\DashboardBundle\Provider\Converters\FilterDateRangeConverter;
14
-
15 12
 use OroCRM\Bundle\MagentoBundle\Dashboard\OrderDataProvider;
16 13
 use OroCRM\Bundle\MagentoBundle\Entity\Repository\CartRepository;
17 14
 use OroCRM\Bundle\MagentoBundle\Dashboard\PurchaseDataProvider;
Please login to merge, or discard this patch.
Bundle/MagentoBundle/Datagrid/NewsletterSubscriberPermissionProvider.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\Datagrid;
4 4
 
5 5
 use Oro\Bundle\DataGridBundle\Datasource\ResultRecordInterface;
6
-
7 6
 use Oro\Bundle\SecurityBundle\SecurityFacade;
8 7
 use OroCRM\Bundle\MagentoBundle\Entity\NewsletterSubscriber;
9 8
 use OroCRM\Bundle\MagentoBundle\Entity\Customer;
Please login to merge, or discard this patch.
src/OroCRM/Bundle/MagentoBundle/Entity/Repository/CartRepository.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
      * @param Channel $channel
173 173
      * @param string  $status
174 174
      *
175
-     * @return \Doctrine\ORM\QueryBuilder
175
+     * @return BufferedQueryResultIterator
176 176
      */
177 177
     public function getCartsByChannelIdsIterator(Channel $channel, $status = 'open')
178 178
     {
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
      * @param \DateTime $end
229 229
      * @param AclHelper $aclHelper
230 230
      *
231
-     * @return float|null
231
+     * @return integer|null
232 232
      * @throws \Doctrine\ORM\NonUniqueResultException
233 233
      */
234 234
     public function getAbandonRateByPeriod(\DateTime $start, \DateTime $end, AclHelper $aclHelper)
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,12 +4,10 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\ORM\NoResultException;
6 6
 use Doctrine\ORM\QueryBuilder;
7
-
8 7
 use Oro\Bundle\IntegrationBundle\Entity\Channel;
9 8
 use Oro\Bundle\SecurityBundle\ORM\Walker\AclHelper;
10 9
 use Oro\Bundle\WorkflowBundle\Model\Workflow;
11 10
 use Oro\Bundle\BatchBundle\ORM\Query\BufferedQueryResultIterator;
12
-
13 11
 use OroCRM\Bundle\MagentoBundle\Entity\Cart;
14 12
 use OroCRM\Bundle\MagentoBundle\Entity\CartStatus;
15 13
 
Please login to merge, or discard this patch.
src/OroCRM/Bundle/MagentoBundle/EventListener/OrderGridListener.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,10 +3,8 @@
 block discarded – undo
3 3
 namespace OroCRM\Bundle\MagentoBundle\EventListener;
4 4
 
5 5
 use Oro\Bundle\AddressBundle\Datagrid\CountryDatagridHelper;
6
-
7 6
 use Oro\Bundle\DataGridBundle\Datagrid\DatagridInterface;
8 7
 use Oro\Bundle\DataGridBundle\Datagrid\ParameterBag;
9
-
10 8
 use Oro\Bundle\DataGridBundle\Datagrid\Common\DatagridConfiguration;
11 9
 use Oro\Bundle\DataGridBundle\Event\BuildBefore;
12 10
 use Oro\Bundle\FilterBundle\Grid\Extension\OrmFilterExtension;
Please login to merge, or discard this patch.
src/OroCRM/Bundle/MagentoBundle/EventListener/StoreGridListener.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\EventListener;
4 4
 
5 5
 use Doctrine\ORM\EntityManager;
6
-
7 6
 use Oro\Bundle\DataGridBundle\Datasource\Orm\OrmDatasource;
8 7
 use Oro\Bundle\DataGridBundle\Event\BuildAfter;
9 8
 use Oro\Bundle\SecurityBundle\SecurityFacade;
10
-
11 9
 use OroCRM\Bundle\MagentoBundle\Entity\MagentoSoapTransport;
12 10
 use OroCRM\Bundle\MagentoBundle\Provider\Iterator\StoresSoapIterator;
13 11
 use OroCRM\Bundle\ChannelBundle\Entity\Channel;
Please login to merge, or discard this patch.
src/OroCRM/Bundle/MagentoBundle/Form/Type/CustomerChannelSelectType.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Symfony\Component\Form\AbstractType;
6 6
 use Symfony\Component\OptionsResolver\Options;
7 7
 use Symfony\Component\OptionsResolver\OptionsResolverInterface;
8
-
9 8
 use OroCRM\Bundle\ChannelBundle\Provider\ChannelsByEntitiesProvider;
10 9
 use OroCRM\Bundle\MagentoBundle\Provider\ChannelType;
11 10
 use OroCRM\Bundle\ChannelBundle\Entity\Channel;
Please login to merge, or discard this patch.
Bundle/MagentoBundle/ImportExport/Converter/AttributesConverterHelper.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,9 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use ReflectionClass;
6 6
 use ReflectionProperty;
7
-
8 7
 use Doctrine\Common\Util\Inflector;
9
-
10 8
 use Oro\Bundle\ImportExportBundle\Context\ContextInterface;
11 9
 
12 10
 class AttributesConverterHelper
Please login to merge, or discard this patch.
src/OroCRM/Bundle/MagentoBundle/ImportExport/Strategy/CustomerStrategy.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 Oro\Bundle\AddressBundle\Entity\Region;
6
-
7 6
 use OroCRM\Bundle\MagentoBundle\Entity\Address;
8 7
 use OroCRM\Bundle\MagentoBundle\Entity\Customer;
9 8
 use OroCRM\Bundle\MagentoBundle\Provider\Reader\ContextCustomerReader;
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 Oro\Bundle\AddressBundle\Entity\Region;
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.