Completed
Push — 1.10 ( 93e51c...7f32fb )
by
unknown
11:06
created
Bundle/MagentoBundle/Tests/Unit/Provider/MagentoConnectorTestCase.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -289,7 +289,7 @@
 block discarded – undo
289 289
      * @param mixed        $stepExecutionMock
290 290
      * @param null|Channel $channel
291 291
      *
292
-     * @param null         $context
292
+     * @param Context         $context
293 293
      *
294 294
      * @return AbstractMagentoConnector
295 295
      */
Please login to merge, or discard this patch.
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -5,11 +5,8 @@  discard block
 block discarded – undo
5 5
 use Akeneo\Bundle\BatchBundle\Entity\JobExecution;
6 6
 use Akeneo\Bundle\BatchBundle\Entity\StepExecution;
7 7
 use Akeneo\Bundle\BatchBundle\Item\ExecutionContext;
8
-
9 8
 use Doctrine\Common\Persistence\ManagerRegistry;
10
-
11 9
 use Symfony\Component\HttpKernel\Log\NullLogger;
12
-
13 10
 use Oro\Bundle\IntegrationBundle\Entity\Channel;
14 11
 use Oro\Bundle\IntegrationBundle\Entity\Status;
15 12
 use Oro\Bundle\IntegrationBundle\Entity\Repository\ChannelRepository;
@@ -19,7 +16,6 @@  discard block
 block discarded – undo
19 16
 use Oro\Bundle\ImportExportBundle\Context\ContextRegistry;
20 17
 use Oro\Bundle\IntegrationBundle\Provider\ConnectorContextMediator;
21 18
 use Oro\Bundle\IntegrationBundle\Provider\ConnectorInterface;
22
-
23 19
 use OroCRM\Bundle\MagentoBundle\Provider\AbstractMagentoConnector;
24 20
 use OroCRM\Bundle\MagentoBundle\Provider\Transport\MagentoTransportInterface;
25 21
 
Please login to merge, or discard this patch.
Tests/Unit/Provider/NewsletterSubscriberInitialSyncProcessorTest.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,10 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace OroCRM\Bundle\MagentoBundle\Tests\Unit\Provider;
4 4
 
5
-use Doctrine\ORM\Query\Expr;
6
-
7 5
 use OroCRM\Bundle\MagentoBundle\Entity\MagentoSoapTransport;
8
-use OroCRM\Bundle\MagentoBundle\Provider\Connector\InitialNewsletterSubscriberConnector;
9 6
 use OroCRM\Bundle\MagentoBundle\Provider\NewsletterSubscriberInitialSyncProcessor;
10 7
 use OroCRM\Bundle\MagentoBundle\Tests\Unit\Provider\Stub\InitialConnector;
11 8
 
Please login to merge, or discard this patch.
Bundle/MagentoBundle/Tests/Unit/Provider/Reader/ContextOptionReaderTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 namespace OroCRM\Bundle\MagentoBundle\Tests\Unit\Importexport\Reader;
3 3
 
4 4
 use Akeneo\Bundle\BatchBundle\Entity\StepExecution;
5
-
6 5
 use Oro\Bundle\ImportExportBundle\Context\ContextInterface;
7 6
 use Oro\Bundle\ImportExportBundle\Context\ContextRegistry;
8 7
 use OroCRM\Bundle\MagentoBundle\Provider\Reader\ContextOptionReader;
Please login to merge, or discard this patch.
Bundle/MagentoBundle/Tests/Unit/Provider/Reader/ContextReaderTest.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
     }
88 88
 
89 89
     /**
90
-     * @return array
90
+     * @return \stdClass[]
91 91
      */
92 92
     protected function getData()
93 93
     {
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 Akeneo\Bundle\BatchBundle\Entity\JobExecution;
6 6
 use Akeneo\Bundle\BatchBundle\Entity\StepExecution;
7 7
 use Akeneo\Bundle\BatchBundle\Item\ExecutionContext;
8
-
9 8
 use Oro\Bundle\ImportExportBundle\Context\ContextRegistry;
10 9
 use OroCRM\Bundle\MagentoBundle\Provider\Reader\ContextReader;
11 10
 
Please login to merge, or discard this patch.
Bundle/MagentoBundle/Tests/Unit/Provider/Transport/SoapTransportTest.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\Provider\Transport;
4 4
 
5 5
 use Symfony\Component\HttpFoundation\ParameterBag;
6
-
7 6
 use Oro\Bundle\IntegrationBundle\Entity\Transport;
8
-
9 7
 use OroCRM\Bundle\MagentoBundle\Provider\Transport\SoapTransport;
10 8
 
11 9
 class SoapTransportTest extends \PHPUnit_Framework_TestCase
Please login to merge, or discard this patch.
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
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Doctrine\ORM\Query\Expr;
6 6
 use Oro\Bundle\EntityBundle\ORM\DoctrineHelper;
7 7
 use Oro\Bundle\SecurityBundle\Owner\Metadata\OwnershipMetadataProvider;
8
-
9 8
 use OroCRM\Bundle\MagentoBundle\DependencyInjection\Configuration;
10 9
 use OroCRM\Bundle\MagentoBundle\Entity\Customer;
11 10
 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.