Completed
Push — 1.8 ( b7094f...f1162e )
by
unknown
83:38 queued 61:44
created
src/Oro/Bundle/ImportExportBundle/Command/ImportCommand.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 Symfony\Component\Console\Input\InputInterface;
8 8
 use Symfony\Component\Console\Input\InputOption;
9 9
 use Symfony\Component\Console\Output\OutputInterface;
10
-
11 10
 use Oro\Bundle\ImportExportBundle\Handler\CliImportHandler;
12 11
 use Oro\Bundle\ImportExportBundle\Job\JobExecutor;
13 12
 use Oro\Bundle\ImportExportBundle\Processor\ProcessorRegistry;
Please login to merge, or discard this patch.
Oro/Bundle/ImportExportBundle/Converter/ConfigurableTableDataConverter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -295,7 +295,7 @@
 block discarded – undo
295 295
     /**
296 296
      * @param string $string
297 297
      * @param int $shift
298
-     * @return callable
298
+     * @return \Closure
299 299
      */
300 300
     protected function getReplaceCallback($string, $shift)
301 301
     {
Please login to merge, or discard this patch.
src/Oro/Bundle/ImportExportBundle/Converter/RelationCalculator.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 Doctrine\Common\Persistence\ManagerRegistry;
6 6
 use Doctrine\ORM\EntityManager;
7 7
 use Doctrine\ORM\Query;
8
-
9 8
 use Oro\Bundle\ImportExportBundle\Field\FieldHelper;
10 9
 use Oro\Bundle\ImportExportBundle\Exception\LogicException;
11 10
 
Please login to merge, or discard this patch.
DependencyInjection/Compiler/ProcessorRegistryCompilerPass.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
      * @param string $serviceId
75 75
      * @param string $tagName
76 76
      * @param array $tagAttributes
77
-     * @param array $requiredAttributes
77
+     * @param string[] $requiredAttributes
78 78
      * @throws LogicException
79 79
      */
80 80
     private function assertTagHasAttributes($serviceId, $tagName, array $tagAttributes, array $requiredAttributes)
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 Symfony\Component\DependencyInjection\ContainerBuilder;
6 6
 use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
7
-use Symfony\Component\DependencyInjection\Definition;
8 7
 use Symfony\Component\DependencyInjection\Reference;
9 8
 use Symfony\Component\DependencyInjection\Exception\LogicException;
10 9
 
Please login to merge, or discard this patch.
src/Oro/Bundle/ImportExportBundle/Handler/AbstractImportHandler.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -132,10 +132,10 @@
 block discarded – undo
132 132
     }
133 133
 
134 134
     /**
135
-     * @param $jobName
136
-     * @param $processorAlias
137
-     * @param $inputFormat
138
-     * @param $inputFilePrefix
135
+     * @param string $jobName
136
+     * @param string $processorAlias
137
+     * @param string $inputFormat
138
+     * @param string $inputFilePrefix
139 139
      * @param array $options
140 140
      * @param $entityName
141 141
      * @return JobResult
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Oro\Bundle\ImportExportBundle\Handler;
4 4
 
5 5
 use Symfony\Component\Translation\TranslatorInterface;
6
-
7 6
 use Oro\Bundle\ImportExportBundle\Processor\ProcessorRegistry;
8 7
 use Oro\Bundle\ImportExportBundle\Job\JobResult;
9 8
 
Please login to merge, or discard this patch.
src/Oro/Bundle/ImportExportBundle/Handler/ExportHandler.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@
 block discarded – undo
148 148
     /**
149 149
      * Handles download export file action
150 150
      *
151
-     * @param $fileName
151
+     * @param string $fileName
152 152
      * @return Response
153 153
      */
154 154
     public function handleDownloadExportResult($fileName)
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use Symfony\Component\HttpFoundation\BinaryFileResponse;
8 8
 use Symfony\Component\HttpFoundation\ResponseHeaderBag;
9 9
 use Symfony\Component\Routing\RouterInterface;
10
-
11 10
 use Oro\Bundle\ImportExportBundle\Processor\ProcessorRegistry;
12 11
 use Oro\Bundle\ImportExportBundle\MimeType\MimeTypeGuesser;
13 12
 
Please login to merge, or discard this patch.
src/Oro/Bundle/ImportExportBundle/Job/JobExecutor.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -3,19 +3,15 @@
 block discarded – undo
3 3
 namespace Oro\Bundle\ImportExportBundle\Job;
4 4
 
5 5
 use Akeneo\Bundle\BatchBundle\Entity\StepExecution;
6
-
7 6
 use Symfony\Bridge\Doctrine\ManagerRegistry;
8
-
9 7
 use Doctrine\ORM\UnitOfWork;
10 8
 use Doctrine\ORM\EntityManager;
11 9
 use Doctrine\ORM\EntityRepository;
12
-
13 10
 use Akeneo\Bundle\BatchBundle\Connector\ConnectorRegistry;
14 11
 use Akeneo\Bundle\BatchBundle\Entity\JobInstance;
15 12
 use Akeneo\Bundle\BatchBundle\Entity\JobExecution;
16 13
 use Akeneo\Bundle\BatchBundle\Job\BatchStatus;
17 14
 use Akeneo\Bundle\BatchBundle\Job\DoctrineJobRepository as BatchJobRepository;
18
-
19 15
 use Oro\Bundle\ImportExportBundle\Context\ContextRegistry;
20 16
 use Oro\Bundle\ImportExportBundle\Exception\RuntimeException;
21 17
 use Oro\Bundle\ImportExportBundle\Exception\LogicException;
Please login to merge, or discard this patch.
src/Oro/Bundle/ImportExportBundle/Job/Step/PostProcessItemStep.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 Oro\Bundle\ImportExportBundle\Job\Step;
4 4
 
5 5
 use Akeneo\Bundle\BatchBundle\Entity\StepExecution;
6
-
7 6
 use Oro\Bundle\BatchBundle\Step\ItemStep;
8 7
 use Oro\Bundle\ImportExportBundle\Job\JobExecutor;
9 8
 
Please login to merge, or discard this patch.
src/Oro/Bundle/ImportExportBundle/Processor/ExportProcessor.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 Oro\Bundle\ImportExportBundle\Processor;
4 4
 
5 5
 use Symfony\Component\Serializer\SerializerInterface;
6
-
7 6
 use Doctrine\ORM\QueryBuilder;
8
-
9 7
 use Oro\Bundle\ImportExportBundle\Context\ContextAwareInterface;
10 8
 use Oro\Bundle\ImportExportBundle\Context\ContextInterface;
11 9
 use Oro\Bundle\ImportExportBundle\Converter\QueryBuilderAwareInterface;
Please login to merge, or discard this patch.