Completed
Push — master ( dd2819...45b95e )
by
unknown
10:20
created
OroCRM/Bundle/MagentoBundle/Tests/Unit/Service/AutomaticDiscoveryTest.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -169,7 +169,7 @@
 block discarded – undo
169 169
 
170 170
     /**
171 171
      * @param \PHPUnit_Framework_MockObject_MockObject $qb
172
-     * @param object $entity
172
+     * @param Customer $entity
173 173
      * @param int|null $id
174 174
      * @param array $config
175 175
      * @param AutomaticDiscovery $service
Please login to merge, or discard this 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\EntityBundle\ORM\DoctrineHelper;
6 6
 use Oro\Bundle\SecurityBundle\Owner\Metadata\OwnershipMetadataProvider;
7
-
8 7
 use OroCRM\Bundle\MagentoBundle\DependencyInjection\Configuration;
9 8
 use OroCRM\Bundle\MagentoBundle\Entity\Customer;
10 9
 use OroCRM\Bundle\MagentoBundle\Service\AutomaticDiscovery;
Please login to merge, or discard this patch.
src/OroCRM/Bundle/MagentoBundle/Tests/Unit/Service/WsdlManagerTest.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\Service;
4 4
 
5 5
 use Guzzle\Http\ClientInterface;
6
-
7 6
 use Symfony\Component\Filesystem\Filesystem;
8
-
9 7
 use OroCRM\Bundle\MagentoBundle\Service\WsdlManager;
10 8
 
11 9
 class WsdlManagerTest extends \PHPUnit_Framework_TestCase
Please login to merge, or discard this patch.
Bundle/MagentoBundle/Tests/Unit/Validator/StartSyncDateValidatorTest.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -5,11 +5,8 @@
 block discarded – undo
5 5
 use Doctrine\Common\Persistence\ManagerRegistry;
6 6
 use Doctrine\ORM\Query\Expr;
7 7
 use Doctrine\ORM\QueryBuilder;
8
-
9 8
 use Symfony\Component\Validator\ExecutionContextInterface;
10
-
11 9
 use Oro\Bundle\IntegrationBundle\Entity\Channel;
12
-
13 10
 use OroCRM\Bundle\MagentoBundle\Entity\MagentoSoapTransport;
14 11
 use OroCRM\Bundle\MagentoBundle\Validator\Constraints\StartSyncDateConstraint;
15 12
 use OroCRM\Bundle\MagentoBundle\Validator\StartSyncDateValidator;
Please login to merge, or discard this patch.
src/OroCRM/Bundle/MagentoBundle/Validator/StartSyncDateValidator.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\Common\Persistence\ManagerRegistry;
6 6
 use Doctrine\ORM\EntityRepository;
7
-
8 7
 use Symfony\Component\Validator\Constraint;
9 8
 use Symfony\Component\Validator\ConstraintValidator;
10
-
11 9
 use Oro\Bundle\IntegrationBundle\Entity\Channel;
12
-
13 10
 use OroCRM\Bundle\MagentoBundle\Entity\MagentoSoapTransport;
14 11
 use OroCRM\Bundle\MagentoBundle\Validator\Constraints\StartSyncDateConstraint;
15 12
 
Please login to merge, or discard this patch.
src/OroCRM/Bundle/MagentoBundle/Validator/UniqueCustomerEmailValidator.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 Symfony\Component\Validator\Constraint;
6 6
 use Symfony\Component\Validator\ConstraintValidator;
7
-
8 7
 use OroCRM\Bundle\MagentoBundle\Entity\Customer;
9 8
 use OroCRM\Bundle\MagentoBundle\Provider\BatchFilterBag;
10 9
 use OroCRM\Bundle\MagentoBundle\Provider\Transport\SoapTransport;
Please login to merge, or discard this patch.
Bundle/MarketingListBundle/Controller/Api/Rest/MarketingListController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use FOS\RestBundle\Util\Codes;
8 8
 use FOS\RestBundle\Controller\Annotations as Rest;
9 9
 use FOS\RestBundle\Routing\ClassResourceInterface;
10
-
11 10
 use Oro\Bundle\SoapBundle\Controller\Api\Rest\RestController;
12 11
 use Oro\Bundle\SecurityBundle\Annotation\AclAncestor;
13 12
 use OroCRM\Bundle\MarketingListBundle\Model\ContactInformationFieldHelper;
Please login to merge, or discard this patch.
Controller/Api/Rest/MarketingListRemovedItemController.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -3,15 +3,11 @@
 block discarded – undo
3 3
 namespace OroCRM\Bundle\MarketingListBundle\Controller\Api\Rest;
4 4
 
5 5
 use Doctrine\ORM\EntityNotFoundException;
6
-
7 6
 use FOS\RestBundle\Util\Codes;
8 7
 use FOS\RestBundle\Controller\Annotations as Rest;
9 8
 use FOS\RestBundle\Routing\ClassResourceInterface;
10
-
11 9
 use Nelmio\ApiDocBundle\Annotation\ApiDoc;
12
-
13 10
 use Symfony\Component\HttpFoundation\Response;
14
-
15 11
 use Oro\Bundle\SecurityBundle\Annotation\AclAncestor;
16 12
 use Oro\Bundle\SecurityBundle\Exception\ForbiddenException;
17 13
 use Oro\Bundle\SoapBundle\Controller\Api\Rest\RestController;
Please login to merge, or discard this patch.
Controller/Api/Rest/MarketingListUnsubscribedItemController.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -3,15 +3,11 @@
 block discarded – undo
3 3
 namespace OroCRM\Bundle\MarketingListBundle\Controller\Api\Rest;
4 4
 
5 5
 use Doctrine\ORM\EntityNotFoundException;
6
-
7 6
 use FOS\RestBundle\Util\Codes;
8 7
 use FOS\RestBundle\Controller\Annotations as Rest;
9 8
 use FOS\RestBundle\Routing\ClassResourceInterface;
10
-
11 9
 use Nelmio\ApiDocBundle\Annotation\ApiDoc;
12
-
13 10
 use Symfony\Component\HttpFoundation\Response;
14
-
15 11
 use Oro\Bundle\SecurityBundle\Annotation\AclAncestor;
16 12
 use Oro\Bundle\SecurityBundle\Exception\ForbiddenException;
17 13
 use Oro\Bundle\SoapBundle\Controller\Api\Rest\RestController;
Please login to merge, or discard this patch.
Bundle/MarketingListBundle/Datagrid/Extension/MarketingListExtension.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,16 +3,13 @@
 block discarded – undo
3 3
 namespace OroCRM\Bundle\MarketingListBundle\Datagrid\Extension;
4 4
 
5 5
 use Doctrine\ORM\Query\Expr\Andx;
6
-use Doctrine\ORM\Query\Expr\From;
7 6
 use Doctrine\ORM\Query\Expr\Func;
8 7
 use Doctrine\ORM\QueryBuilder;
9
-
10 8
 use Oro\Bundle\DataGridBundle\Datagrid\Builder;
11 9
 use Oro\Bundle\DataGridBundle\Extension\AbstractExtension;
12 10
 use Oro\Bundle\DataGridBundle\Datasource\Orm\OrmDatasource;
13 11
 use Oro\Bundle\DataGridBundle\Datasource\DatasourceInterface;
14 12
 use Oro\Bundle\DataGridBundle\Datagrid\Common\DatagridConfiguration;
15
-
16 13
 use OroCRM\Bundle\MarketingListBundle\Model\MarketingListHelper;
17 14
 
18 15
 /**
Please login to merge, or discard this patch.