Completed
Push — 1.8 ( b7094f...f1162e )
by
unknown
83:38 queued 61:44
created
src/Oro/Bundle/SearchBundle/Extension/Pager/IndexerQuery.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
     }
106 106
 
107 107
     /**
108
-     * @return mixed
108
+     * @return string
109 109
      */
110 110
     public function getSortBy()
111 111
     {
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
     }
114 114
 
115 115
     /**
116
-     * @return mixed
116
+     * @return string|null
117 117
      */
118 118
     public function getSortOrder()
119 119
     {
Please login to merge, or discard this patch.
src/Oro/Bundle/SearchBundle/Extension/SearchResultProperty.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\Exception\InvalidConfigurationException;
6 6
 use Symfony\Component\Security\Core\Util\ClassUtils;
7
-
8 7
 use Oro\Bundle\DataGridBundle\Datasource\ResultRecordInterface;
9 8
 use Oro\Bundle\DataGridBundle\Extension\Formatter\Property\TwigTemplateProperty;
10 9
 use Oro\Bundle\SearchBundle\Provider\SearchMappingProvider;
Please login to merge, or discard this patch.
src/Oro/Bundle/SearchBundle/Extension/SearchResultsExtension.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,15 +3,12 @@
 block discarded – undo
3 3
 namespace Oro\Bundle\SearchBundle\Extension;
4 4
 
5 5
 use Symfony\Component\EventDispatcher\EventDispatcherInterface;
6
-
7 6
 use Doctrine\ORM\EntityManager;
8
-
9 7
 use Oro\Bundle\DataGridBundle\Datagrid\Common\ResultsObject;
10 8
 use Oro\Bundle\DataGridBundle\Extension\AbstractExtension;
11 9
 use Oro\Bundle\DataGridBundle\Datasource\ResultRecordInterface;
12 10
 use Oro\Bundle\DataGridBundle\Datasource\ResultRecord;
13 11
 use Oro\Bundle\DataGridBundle\Datagrid\Common\DatagridConfiguration;
14
-
15 12
 use Oro\Bundle\SearchBundle\Engine\ObjectMapper;
16 13
 use Oro\Bundle\SearchBundle\Event\PrepareResultItemEvent;
17 14
 use Oro\Bundle\SearchBundle\Formatter\ResultFormatter;
Please login to merge, or discard this patch.
src/Oro/Bundle/SearchBundle/Formatter/ResultFormatter.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 Doctrine\ORM\EntityManager;
6 6
 use Doctrine\Common\Persistence\Mapping\ClassMetadata;
7
-
8 7
 use Oro\Bundle\SearchBundle\Query\Result\Item;
9 8
 
10 9
 class ResultFormatter
Please login to merge, or discard this patch.
src/Oro/Bundle/SearchBundle/Query/Expression/Parser.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\SearchBundle\Query\Expression;
4 4
 
5 5
 use Doctrine\Common\Collections\Expr\CompositeExpression;
6
-
7 6
 use Oro\Bundle\SearchBundle\Exception\ExpressionSyntaxError;
8 7
 use Oro\Bundle\SearchBundle\Query\Criteria\Criteria;
9 8
 use Oro\Bundle\SearchBundle\Query\Query;
Please login to merge, or discard this patch.
src/Oro/Bundle/SearchBundle/Query/Query.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
     /**
100 100
      * Get entity class name from alias
101 101
      *
102
-     * @param $aliasName
102
+     * @param string $aliasName
103 103
      *
104 104
      * @return bool|string
105 105
      */
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\SearchBundle\Query;
4 4
 
5 5
 use Doctrine\Common\Persistence\ObjectManager;
6
-
7 6
 use Oro\Bundle\SearchBundle\Query\Criteria\Criteria;
8 7
 use Oro\Bundle\SearchBundle\Exception\ExpressionSyntaxError;
9 8
 
Please login to merge, or discard this patch.
src/Oro/Bundle/SearchBundle/Query/Result.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\SearchBundle\Query;
4 4
 
5 5
 use BeSimple\SoapBundle\ServiceDefinition\Annotation as Soap;
6
-
7 6
 use Doctrine\Common\Collections\ArrayCollection;
8
-
9 7
 use JMS\Serializer\Annotation\Type;
10 8
 use JMS\Serializer\Annotation\Exclude;
11 9
 
Please login to merge, or discard this patch.
src/Oro/Bundle/SearchBundle/Query/Result/Item.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\SearchBundle\Query\Result;
4 4
 
5 5
 use BeSimple\SoapBundle\ServiceDefinition\Annotation as Soap;
6
-
7 6
 use Doctrine\Common\Persistence\ObjectManager;
8
-
9 7
 use JMS\Serializer\Annotation\Type;
10 8
 use JMS\Serializer\Annotation\Exclude;
11 9
 
Please login to merge, or discard this patch.
SearchBundle/Tests/Unit/DependencyInjection/OroSearchExtensionTest.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\SearchBundle\Tests\Unit\DependencyInjection;
4 4
 
5 5
 use Symfony\Component\DependencyInjection\ContainerBuilder;
6
-
7 6
 use Oro\Bundle\SearchBundle\DependencyInjection\Configuration;
8 7
 use Oro\Bundle\SearchBundle\DependencyInjection\OroSearchExtension;
9 8
 use Oro\Bundle\SearchBundle\Tests\Unit\Fixture\TestBundle;
Please login to merge, or discard this patch.