Completed
Push — 1.8 ( b7094f...f1162e )
by
unknown
83:38 queued 61:44
created
src/Oro/Bundle/EntityBundle/Controller/Api/Rest/EntityFieldController.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@  discard block
 block discarded – undo
3 3
 namespace Oro\Bundle\EntityBundle\Controller\Api\Rest;
4 4
 
5 5
 use Symfony\Component\HttpFoundation\Response;
6
-
7 6
 use FOS\RestBundle\Controller\Annotations\NamePrefix;
8 7
 use FOS\RestBundle\Controller\Annotations\RouteResource;
9 8
 use FOS\RestBundle\Controller\Annotations\QueryParam;
@@ -11,9 +10,7 @@  discard block
 block discarded – undo
11 10
 use FOS\RestBundle\Controller\FOSRestController;
12 11
 use FOS\RestBundle\Routing\ClassResourceInterface;
13 12
 use FOS\RestBundle\Util\Codes;
14
-
15 13
 use Nelmio\ApiDocBundle\Annotation\ApiDoc;
16
-
17 14
 use Oro\Bundle\EntityBundle\Provider\EntityFieldProvider;
18 15
 use Oro\Bundle\EntityBundle\Exception\InvalidEntityException;
19 16
 
Please login to merge, or discard this patch.
src/Oro/Bundle/EntityBundle/Controller/EntitiesController.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -312,7 +312,7 @@  discard block
 block discarded – undo
312 312
      * @param string $entityName
313 313
      * @param string $id
314 314
      *
315
-     * @return array
315
+     * @return JsonResponse
316 316
      *
317 317
      * @Route(
318 318
      *      "/delete/{entityName}/item/{id}",
@@ -350,7 +350,7 @@  discard block
 block discarded – undo
350 350
      *
351 351
      * @param string $permission
352 352
      * @param string $entityName
353
-     * @return bool
353
+     * @return boolean|null
354 354
      * @throws AccessDeniedException
355 355
      */
356 356
     private function checkAccess($permission, $entityName)
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -6,12 +6,9 @@
 block discarded – undo
6 6
 use Symfony\Component\HttpFoundation\JsonResponse;
7 7
 use Symfony\Component\HttpFoundation\Request;
8 8
 use Symfony\Component\Security\Core\Exception\AccessDeniedException;
9
-
10 9
 use FOS\RestBundle\Util\Codes;
11
-
12 10
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
13 11
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
14
-
15 12
 use Oro\Bundle\EntityBundle\ORM\OroEntityManager;
16 13
 use Oro\Bundle\EntityConfigBundle\Config\ConfigInterface;
17 14
 use Oro\Bundle\EntityConfigBundle\Config\Id\FieldConfigId;
Please login to merge, or discard this patch.
src/Oro/Bundle/EntityBundle/EventListener/CustomEntityGridListener.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\EntityBundle\EventListener;
4 4
 
5 5
 use Symfony\Bundle\FrameworkBundle\Routing\Router;
6
-
7 6
 use Oro\Bundle\DataGridBundle\Datagrid\DatagridInterface;
8 7
 use Oro\Bundle\DataGridBundle\Event\BuildBefore;
9 8
 use Oro\Bundle\DataGridBundle\Datasource\ResultRecord;
Please login to merge, or discard this patch.
src/Oro/Bundle/EntityBundle/EventListener/NavigationListener.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\EntityBundle\EventListener;
4 4
 
5 5
 use Symfony\Component\Translation\TranslatorInterface;
6
-
7 6
 use Oro\Bundle\EntityConfigBundle\Config\Config;
8 7
 use Oro\Bundle\EntityConfigBundle\Config\ConfigManager;
9 8
 use Oro\Bundle\EntityConfigBundle\Provider\ConfigProvider;
Please login to merge, or discard this patch.
src/Oro/Bundle/EntityBundle/Form/Handler/EntitySelectHandler.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\EntityBundle\Form\Handler;
4 4
 
5 5
 use Doctrine\Common\Persistence\ManagerRegistry;
6
-
7 6
 use Oro\Bundle\FormBundle\Autocomplete\SearchHandler;
8 7
 
9 8
 class EntitySelectHandler extends SearchHandler
Please login to merge, or discard this patch.
src/Oro/Bundle/EntityBundle/Migrations/Extension/ChangeTypeExtension.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Doctrine\DBAL\Schema\ForeignKeyConstraint;
7 7
 use Doctrine\DBAL\Schema\Schema;
8 8
 use Doctrine\DBAL\Types\Type;
9
-
10 9
 use Oro\Bundle\EntityExtendBundle\Migration\Schema\ExtendColumn;
11 10
 use Oro\Bundle\MigrationBundle\Migration\Extension\DatabasePlatformAwareInterface;
12 11
 use Oro\Bundle\MigrationBundle\Migration\QueryBag;
Please login to merge, or discard this patch.
src/Oro/Bundle/EntityBundle/ORM/EntityAliasResolver.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,9 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\Common\Persistence\ManagerRegistry;
6 6
 use Doctrine\ORM\Mapping\ClassMetadata;
7
-
8 7
 use Symfony\Component\HttpKernel\CacheWarmer\WarmableInterface;
9
-
10 8
 use Oro\Bundle\EntityBundle\Exception\EntityAliasNotFoundException;
11 9
 use Oro\Bundle\EntityBundle\Exception\RuntimeException;
12 10
 use Oro\Bundle\EntityBundle\Model\EntityAlias;
Please login to merge, or discard this patch.
src/Oro/Bundle/EntityBundle/ORM/SqlQueryBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -247,7 +247,7 @@
 block discarded – undo
247 247
      * Specifies an item that is to be returned in the query result.
248 248
      * Replaces any previously specified selections, if any.
249 249
      *
250
-     * @param mixed $select The selection expressions.
250
+     * @param null|string $select The selection expressions.
251 251
      *
252 252
      * @return self
253 253
      */
Please login to merge, or discard this patch.
src/Oro/Bundle/EntityBundle/Provider/AbstractEntityClassNameProvider.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\EntityBundle\Provider;
4 4
 
5 5
 use Doctrine\Common\Inflector\Inflector;
6
-
7 6
 use Symfony\Component\Translation\TranslatorInterface;
8
-
9 7
 use Oro\Bundle\EntityConfigBundle\Config\ConfigManager;
10 8
 
11 9
 abstract class AbstractEntityClassNameProvider
Please login to merge, or discard this patch.