Completed
Push — 1.8 ( 8d6730...a2d9e7 )
by
unknown
42:28
created
src/OroCRM/Bundle/SalesBundle/Entity/SalesFunnel.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@  discard block
 block discarded – undo
3 3
 namespace OroCRM\Bundle\SalesBundle\Entity;
4 4
 
5 5
 use Doctrine\ORM\Mapping as ORM;
6
-
7 6
 use Oro\Bundle\DataAuditBundle\Metadata\Annotation as Oro;
8 7
 use Oro\Bundle\EntityConfigBundle\Metadata\Annotation\Config;
9 8
 use Oro\Bundle\EntityConfigBundle\Metadata\Annotation\ConfigField;
@@ -13,7 +12,6 @@  discard block
 block discarded – undo
13 12
 use Oro\Bundle\WorkflowBundle\Entity\WorkflowStep;
14 13
 use Oro\Bundle\LocaleBundle\Model\FirstNameInterface;
15 14
 use Oro\Bundle\EmailBundle\Model\EmailHolderInterface;
16
-
17 15
 use OroCRM\Bundle\ChannelBundle\Model\ChannelEntityTrait;
18 16
 use OroCRM\Bundle\ChannelBundle\Model\ChannelAwareInterface;
19 17
 use OroCRM\Bundle\SalesBundle\Model\ExtendSalesFunnel;
Please login to merge, or discard this patch.
src/OroCRM/Bundle/ContactBundle/Entity/Contact.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1012,7 +1012,7 @@  discard block
 block discarded – undo
1012 1012
      *
1013 1013
      * This method could not be named setEmails because of bug CRM-253.
1014 1014
      *
1015
-     * @param Collection|ContactEmail[] $emails
1015
+     * @param ContactEmail[] $emails
1016 1016
      *
1017 1017
      * @return Contact
1018 1018
      */
@@ -1134,7 +1134,7 @@  discard block
 block discarded – undo
1134 1134
      *
1135 1135
      * This method could not be named setPhones because of bug CRM-253.
1136 1136
      *
1137
-     * @param Collection|ContactPhone[] $phones
1137
+     * @param ContactPhone[] $phones
1138 1138
      *
1139 1139
      * @return Contact
1140 1140
      */
Please login to merge, or discard this patch.
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\ContactBundle\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\AddressBundle\Entity\AbstractAddress;
12 10
 use Oro\Bundle\AddressBundle\Entity\AddressType;
13 11
 use Oro\Bundle\BusinessEntitiesBundle\Entity\BasePerson;
@@ -18,7 +16,6 @@  discard block
 block discarded – undo
18 16
 use Oro\Bundle\OrganizationBundle\Entity\Organization;
19 17
 use Oro\Bundle\TagBundle\Entity\Taggable;
20 18
 use Oro\Bundle\UserBundle\Entity\User;
21
-
22 19
 use OroCRM\Bundle\AccountBundle\Entity\Account;
23 20
 use OroCRM\Bundle\ContactBundle\Model\ExtendContact;
24 21
 
Please login to merge, or discard this patch.
src/OroCRM/Bundle/MagentoBundle/Form/Type/CustomerGroupSelectType.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
     /**
86 86
      * Checks if the form type should be read-only or not
87 87
      *
88
-     * @param array $options
88
+     * @param Options $options
89 89
      *
90 90
      * @return bool
91 91
      */
Please login to merge, or discard this 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\OptionsResolverInterface;
7 7
 use Symfony\Component\OptionsResolver\Options;
8
-
9 8
 use Oro\Bundle\SecurityBundle\SecurityFacade;
10 9
 
11 10
 class CustomerGroupSelectType extends AbstractType
Please login to merge, or discard this patch.
Bundle/MagentoBundle/Tests/Unit/EventListener/StoreGridListenerTest.php 1 patch
Unused Use Statements   -13 removed lines patch added patch discarded remove patch
@@ -6,20 +6,7 @@
 block discarded – undo
6 6
 use Oro\Bundle\IntegrationBundle\Entity\Channel as Integration;
7 7
 use OroCRM\Bundle\ChannelBundle\Entity\Channel;
8 8
 use OroCRM\Bundle\MagentoBundle\Entity\MagentoSoapTransport;
9
-
10
-
11
-use OroCRM\Bundle\MagentoBundle\EventListener\UpdateIntegrationConnectorsListener;
12
-use OroCRM\Bundle\MagentoBundle\Provider\ChannelType;
13
-use OroCRM\Bundle\MagentoBundle\Provider\Transport\SoapTransport;
14
-
15
-
16
-use Oro\Bundle\DataGridBundle\Datagrid\Common\DatagridConfiguration;
17 9
 use Oro\Bundle\DataGridBundle\Datagrid\ParameterBag;
18
-use Oro\Bundle\DataGridBundle\Event\PreBuild;
19
-use OroCRM\Bundle\MagentoBundle\EventListener\CustomerDataGridListener;
20
-use Symfony\Component\HttpFoundation\Request;
21
-use Symfony\Component\HttpFoundation\RequestStack;
22
-
23 10
 use OroCRM\Bundle\MagentoBundle\EventListener\StoreGridListener;
24 11
 
25 12
 class StoreGridListenerTest extends \PHPUnit_Framework_TestCase
Please login to merge, or discard this patch.
src/OroCRM/Bundle/CampaignBundle/Transport/EmailTransport.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 use Oro\Bundle\EmailBundle\Provider\EmailRenderer;
9 9
 use Oro\Bundle\EmailBundle\Tools\EmailAddressHelper;
10 10
 use Oro\Bundle\EntityBundle\ORM\DoctrineHelper;
11
-
12 11
 use OroCRM\Bundle\CampaignBundle\Entity\EmailCampaign;
13 12
 use OroCRM\Bundle\CampaignBundle\Form\Type\InternalTransportSettingsType;
14 13
 
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/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/ImportExport/Writer/ProxyEntityWriter.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -5,15 +5,11 @@
 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\BatchBundle\Step\StepExecutionRestoreInterface;
14
-
15 12
 use Oro\Bundle\ImportExportBundle\Field\DatabaseHelper;
16
-
17 13
 use OroCRM\Bundle\MagentoBundle\Entity\Cart;
18 14
 use OroCRM\Bundle\MagentoBundle\Entity\Order;
19 15
 use OroCRM\Bundle\MagentoBundle\Entity\Customer;
Please login to merge, or discard this patch.
Tests/Unit/Datagrid/NewsletterSubscriberPermissionProviderTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Oro\Bundle\DataGridBundle\Datasource\ResultRecordInterface;
7 7
 use Oro\Bundle\SecurityBundle\SecurityFacade;
8 8
 use Oro\Bundle\IntegrationBundle\Entity\Channel as Integration;
9
-
10 9
 use OroCRM\Bundle\ChannelBundle\Entity\Channel;
11 10
 use OroCRM\Bundle\MagentoBundle\Entity\Customer;
12 11
 use OroCRM\Bundle\MagentoBundle\Entity\NewsletterSubscriber;
Please login to merge, or discard this patch.