Completed
Pull Request — master (#352)
by php-br
61:36
created
src/Oro/Bundle/DataGridBundle/Extension/MassAction/MassActionDispatcher.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,11 +4,9 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\ORM\Query;
6 6
 use Doctrine\ORM\QueryBuilder;
7
-
8 7
 use Symfony\Component\DependencyInjection\ContainerInterface;
9 8
 use Symfony\Component\HttpFoundation\File\Exception\UnexpectedTypeException;
10 9
 use Symfony\Component\HttpFoundation\Request;
11
-
12 10
 use Oro\Bundle\DataGridBundle\Datagrid\Builder;
13 11
 use Oro\Bundle\DataGridBundle\Datagrid\Manager;
14 12
 use Oro\Bundle\DataGridBundle\Datagrid\DatagridInterface;
Please login to merge, or discard this patch.
src/Oro/Bundle/DataGridBundle/Extension/Pager/OrmPagerExtension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@
 block discarded – undo
139 139
      * @param string $paramName
140 140
      * @param mixed $default
141 141
      *
142
-     * @return mixed
142
+     * @return integer
143 143
      */
144 144
     protected function getOr($paramName, $default = null)
145 145
     {
Please login to merge, or discard this patch.
src/Oro/Bundle/DataGridBundle/Extension/Sorter/Configuration.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\Config\Definition\Builder\TreeBuilder;
6 6
 use Symfony\Component\Config\Definition\ConfigurationInterface;
7
-
8 7
 use Oro\Bundle\DataGridBundle\Extension\Formatter\Property\PropertyInterface;
9 8
 
10 9
 class Configuration implements ConfigurationInterface
Please login to merge, or discard this patch.
src/Oro/Bundle/DataGridBundle/Extension/Toolbar/Configuration.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\Config\Definition\Builder\TreeBuilder;
6 6
 use Symfony\Component\Config\Definition\ConfigurationInterface;
7
-
8 7
 use Oro\Bundle\ConfigBundle\Config\ConfigManager;
9 8
 
10 9
 class Configuration implements ConfigurationInterface
Please login to merge, or discard this patch.
src/Oro/Bundle/DataGridBundle/Extension/Totals/OrmTotalsExtension.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -5,9 +5,7 @@  discard block
 block discarded – undo
5 5
 use Doctrine\Common\Collections\ArrayCollection;
6 6
 use Doctrine\ORM\Query\Expr;
7 7
 use Doctrine\ORM\QueryBuilder;
8
-
9 8
 use Symfony\Component\Translation\TranslatorInterface;
10
-
11 9
 use Oro\Bundle\DataGridBundle\Datagrid\Builder;
12 10
 use Oro\Bundle\DataGridBundle\Datagrid\Common\DatagridConfiguration;
13 11
 use Oro\Bundle\DataGridBundle\Datagrid\Common\MetadataObject;
@@ -17,10 +15,8 @@  discard block
 block discarded – undo
17 15
 use Oro\Bundle\DataGridBundle\Exception\LogicException;
18 16
 use Oro\Bundle\DataGridBundle\Extension\AbstractExtension;
19 17
 use Oro\Bundle\DataGridBundle\Extension\Formatter\Property\PropertyInterface;
20
-
21 18
 use Oro\Bundle\LocaleBundle\Formatter\DateTimeFormatter;
22 19
 use Oro\Bundle\LocaleBundle\Formatter\NumberFormatter;
23
-
24 20
 use Oro\Bundle\SecurityBundle\ORM\Walker\AclHelper;
25 21
 use Oro\Bundle\UIBundle\Tools\ArrayUtils;
26 22
 
Please login to merge, or discard this patch.
src/Oro/Bundle/DataGridBundle/Form/Handler/GridViewApiHandler.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 Oro\Bundle\DataGridBundle\Form\Handler;
4 4
 
5 5
 use Doctrine\Bundle\DoctrineBundle\Registry;
6
-
7 6
 use Symfony\Component\Form\FormInterface;
8 7
 use Symfony\Component\HttpFoundation\Request;
9
-
10 8
 use Oro\Bundle\DataGridBundle\Entity\GridView;
11 9
 
12 10
 class GridViewApiHandler
Please login to merge, or discard this patch.
src/Oro/Bundle/DataGridBundle/Handler/ExportHandler.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,10 +4,8 @@
 block discarded – undo
4 4
 
5 5
 use Akeneo\Bundle\BatchBundle\Item\ItemReaderInterface;
6 6
 use Akeneo\Bundle\BatchBundle\Item\ItemWriterInterface;
7
-
8 7
 use Symfony\Component\HttpFoundation\ResponseHeaderBag;
9 8
 use Symfony\Component\HttpFoundation\StreamedResponse;
10
-
11 9
 use Oro\Bundle\BatchBundle\Step\StepExecutor;
12 10
 use Oro\Bundle\DataGridBundle\Exception\InvalidArgumentException;
13 11
 use Oro\Bundle\ImportExportBundle\MimeType\MimeTypeGuesser;
Please login to merge, or discard this patch.
src/Oro/Bundle/DataGridBundle/ImportExport/DatagridExportConnector.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\DataGridBundle\ImportExport;
4 4
 
5 5
 use Akeneo\Bundle\BatchBundle\Item\ItemReaderInterface;
6
-
7 6
 use Oro\Bundle\BatchBundle\ORM\Query\BufferedQueryResultIterator;
8 7
 use Oro\Bundle\DataGridBundle\Datagrid\Common\ResultsObject;
9 8
 use Oro\Bundle\DataGridBundle\Datagrid\DatagridInterface;
Please login to merge, or discard this patch.
src/Oro/Bundle/DataGridBundle/Provider/SystemAwareResolver.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\DependencyInjection\ContainerAwareInterface;
6 6
 use Symfony\Component\DependencyInjection\ContainerInterface;
7
-
8 7
 use Oro\Bundle\UIBundle\Tools\ArrayUtils;
9 8
 
10 9
 class SystemAwareResolver implements ContainerAwareInterface
Please login to merge, or discard this patch.