Completed
Push — 1.8 ( b7094f...f1162e )
by
unknown
83:38 queued 61:44
created
src/Oro/Bundle/DataGridBundle/Common/Object.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -194,6 +194,7 @@
 block discarded – undo
194 194
      * Expects data format for array data
195 195
      *
196 196
      * {@inheritDoc}
197
+     * @param string $path
197 198
      */
198 199
     public function offsetUnsetByPath($path)
199 200
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -6,9 +6,7 @@
 block discarded – undo
6 6
 use Symfony\Component\Config\Definition\ConfigurationInterface;
7 7
 use Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException;
8 8
 use Symfony\Component\PropertyAccess\PropertyAccessorInterface;
9
-
10 9
 use Oro\Component\PropertyAccess\PropertyAccessor;
11
-
12 10
 use Oro\Bundle\DataGridBundle\Exception\LogicException;
13 11
 
14 12
 class Object implements \ArrayAccess, \IteratorAggregate
Please login to merge, or discard this patch.
src/Oro/Bundle/DataGridBundle/Controller/Api/Rest/GridViewController.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -6,12 +6,9 @@
 block discarded – undo
6 6
 use FOS\RestBundle\Controller\Annotations\Post;
7 7
 use FOS\RestBundle\Controller\Annotations\Put;
8 8
 use FOS\RestBundle\Controller\Annotations as Rest;
9
-
10 9
 use Nelmio\ApiDocBundle\Annotation\ApiDoc;
11
-
12 10
 use Symfony\Component\HttpFoundation\Response;
13 11
 use Symfony\Component\Security\Core\Exception\AccessDeniedException;
14
-
15 12
 use Oro\Bundle\DataGridBundle\Entity\GridView;
16 13
 use Oro\Bundle\SecurityBundle\Annotation\Acl;
17 14
 use Oro\Bundle\SecurityBundle\SecurityFacade;
Please login to merge, or discard this patch.
src/Oro/Bundle/DataGridBundle/Datagrid/Builder.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\Datagrid;
4 4
 
5 5
 use Symfony\Component\EventDispatcher\EventDispatcherInterface;
6
-
7 6
 use Oro\Bundle\DataGridBundle\Event\BuildAfter;
8 7
 use Oro\Bundle\DataGridBundle\Event\BuildBefore;
9 8
 use Oro\Bundle\DataGridBundle\Event\PreBuild;
Please login to merge, or discard this patch.
src/Oro/Bundle/DataGridBundle/Datasource/Orm/IterableResult.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\Query;
6 6
 use Doctrine\ORM\QueryBuilder;
7
-
8 7
 use Oro\Bundle\DataGridBundle\Datasource\ResultRecord;
9 8
 use Oro\Bundle\BatchBundle\ORM\Query\BufferedQueryResultIterator;
10 9
 
Please login to merge, or discard this patch.
src/Oro/Bundle/DataGridBundle/Datasource/Orm/ParameterBinder.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\Collections\ArrayCollection;
6 6
 use Doctrine\ORM\Query\Parameter;
7 7
 use Doctrine\ORM\QueryBuilder;
8
-
9 8
 use Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException;
10
-
11 9
 use Oro\Component\PropertyAccess\PropertyAccessor;
12
-
13 10
 use Oro\Bundle\DataGridBundle\Datagrid\DatagridInterface;
14 11
 use Oro\Bundle\DataGridBundle\Datasource\ParameterBinderInterface;
15 12
 use Oro\Bundle\DataGridBundle\Exception\InvalidArgumentException;
Please login to merge, or discard this patch.
Bundle/DataGridBundle/Datasource/Orm/QueryConverter/QueryConfiguration.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
      * @param  string $name Where type ('and', 'or')
99 99
      *
100 100
      * @throws InvalidConfigurationException
101
-     * @return ArrayNodeDefinition
101
+     * @return \Symfony\Component\Config\Definition\Builder\NodeBuilder
102 102
      */
103 103
     protected function addWhereNode($name)
104 104
     {
Please login to merge, or discard this patch.
src/Oro/Bundle/DataGridBundle/Datasource/ResultRecord.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\PropertyAccess\PropertyAccess;
6 6
 use Symfony\Component\PropertyAccess\PropertyAccessorInterface;
7
-
8 7
 use Doctrine\Common\Inflector\Inflector;
9 8
 
10 9
 class ResultRecord implements ResultRecordInterface
Please login to merge, or discard this patch.
src/Oro/Bundle/DataGridBundle/Entity/GridView.php 2 patches
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
     /**
179 179
      * @param int $id
180 180
      *
181
-     * @return this
181
+     * @return GridView
182 182
      */
183 183
     public function setId($id)
184 184
     {
@@ -190,7 +190,7 @@  discard block
 block discarded – undo
190 190
     /**
191 191
      * @param string $name
192 192
      *
193
-     * @return this
193
+     * @return GridView
194 194
      */
195 195
     public function setName($name)
196 196
     {
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
     /**
203 203
      * @param string $type
204 204
      *
205
-     * @return this
205
+     * @return GridView
206 206
      */
207 207
     public function setType($type)
208 208
     {
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
     /**
215 215
      * @param array $filtersData
216 216
      *
217
-     * @return this
217
+     * @return GridView
218 218
      */
219 219
     public function setFiltersData(array $filtersData = [])
220 220
     {
@@ -226,7 +226,7 @@  discard block
 block discarded – undo
226 226
     /**
227 227
      * @param array $sortersData
228 228
      *
229
-     * @return this
229
+     * @return GridView
230 230
      */
231 231
     public function setSortersData(array $sortersData = [])
232 232
     {
@@ -254,7 +254,7 @@  discard block
 block discarded – undo
254 254
     /**
255 255
      * @param string $gridName
256 256
      *
257
-     * @return this
257
+     * @return GridView
258 258
      */
259 259
     public function setGridName($gridName)
260 260
     {
@@ -266,7 +266,7 @@  discard block
 block discarded – undo
266 266
     /**
267 267
      * @param User $owner
268 268
      *
269
-     * @return this
269
+     * @return GridView
270 270
      */
271 271
     public function setOwner(User $owner = null)
272 272
     {
@@ -298,7 +298,7 @@  discard block
 block discarded – undo
298 298
      * Set organization
299 299
      *
300 300
      * @param OrganizationInterface $organization
301
-     * @return User
301
+     * @return GridView
302 302
      */
303 303
     public function setOrganization(OrganizationInterface $organization = null)
304 304
     {
Please login to merge, or discard this 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\Entity;
4 4
 
5 5
 use Doctrine\ORM\Mapping as ORM;
6
-
7 6
 use Symfony\Component\Validator\Constraints as Assert;
8 7
 use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
9
-
10 8
 use Oro\Bundle\DataGridBundle\Extension\GridViews\View;
11 9
 use Oro\Bundle\EntityConfigBundle\Metadata\Annotation\Config;
12 10
 use Oro\Bundle\UserBundle\Entity\User;
Please login to merge, or discard this patch.
src/Oro/Bundle/DataGridBundle/EventListener/GridViewsLoadListener.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\Bundle\DoctrineBundle\Registry;
6 6
 use Symfony\Component\Translation\TranslatorInterface;
7
-
8 7
 use Oro\Bundle\DataGridBundle\Event\GridViewsLoadEvent;
9 8
 use Oro\Bundle\DataGridBundle\Entity\GridView;
10 9
 use Oro\Bundle\DataGridBundle\Entity\Repository\GridViewRepository;
Please login to merge, or discard this patch.