Completed
Pull Request — master (#364)
by Sufijen
463:55 queued 423:35
created
src/Oro/Bundle/AddressBundle/Tests/Unit/Entity/AbstractAddressTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Oro\Bundle\AddressBundle\Tests\Entity;
4 4
 
5
-use Symfony\Component\Validator\ExecutionContext;
6
-
7 5
 use Oro\Bundle\AddressBundle\Entity\AbstractAddress;
8 6
 use Oro\Bundle\AddressBundle\Entity\Country;
9 7
 use Oro\Bundle\AddressBundle\Entity\Region;
Please login to merge, or discard this patch.
src/Oro/Bundle/DataGridBundle/Datasource/Orm/OrmDatasource.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -3,13 +3,9 @@
 block discarded – undo
3 3
 namespace Oro\Bundle\DataGridBundle\Datasource\Orm;
4 4
 
5 5
 use Doctrine\Common\Persistence\ManagerRegistry;
6
-use Doctrine\ORM\Query;
7 6
 use Doctrine\ORM\QueryBuilder;
8
-
9 7
 use Symfony\Component\EventDispatcher\EventDispatcherInterface;
10
-
11 8
 use Oro\Component\DoctrineUtils\ORM\QueryHintResolver;
12
-
13 9
 use Oro\Bundle\DataGridBundle\Datagrid\DatagridInterface;
14 10
 use Oro\Bundle\DataGridBundle\Datasource\DatasourceInterface;
15 11
 use Oro\Bundle\DataGridBundle\Datasource\ParameterBinderAwareInterface;
Please login to merge, or discard this patch.
src/Oro/Bundle/DataGridBundle/Extension/Export/ExportExtension.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,11 +3,8 @@
 block discarded – undo
3 3
 namespace Oro\Bundle\DataGridBundle\Extension\Export;
4 4
 
5 5
 use Symfony\Component\Translation\TranslatorInterface;
6
-
7 6
 use Oro\Bundle\DataGridBundle\Extension\AbstractExtension;
8
-use Oro\Bundle\DataGridBundle\Datagrid\Common\MetadataObject;
9 7
 use Oro\Bundle\DataGridBundle\Datagrid\Common\DatagridConfiguration;
10
-use Oro\Bundle\DataGridBundle\Extension\Toolbar\ToolbarExtension;
11 8
 
12 9
 class ExportExtension extends AbstractExtension
13 10
 {
Please login to merge, or discard this patch.
DataGridBundle/Extension/InlineEditing/InlineEditColumnOptionsGuesser.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\DataGridBundle\Extension\InlineEditing;
4 4
 
5 5
 use Symfony\Component\Validator\Mapping\ClassMetadataInterface;
6
-use Symfony\Component\Validator\PropertyMetadataContainerInterface;
7 6
 use Symfony\Component\Validator\Validator\ValidatorInterface;
8
-
9 7
 use Oro\Bundle\DataGridBundle\Extension\InlineEditing\InlineEditColumnOptions\GuesserInterface;
10 8
 
11 9
 /**
Please login to merge, or discard this patch.
DataGridBundle/Tests/Unit/Extension/Totals/OrmTotalsExtensionTest.php 1 patch
Unused Use Statements   -7 removed lines patch added patch discarded remove patch
@@ -2,19 +2,12 @@
 block discarded – undo
2 2
 
3 3
 namespace Oro\Bundle\DataGridBundle\Tests\Unit\Extension\Totals;
4 4
 
5
-use Doctrine\Common\Annotations\AnnotationReader;
6
-use Doctrine\ORM\Mapping\Driver\AnnotationDriver;
7
-use Doctrine\ORM\QueryBuilder;
8
-
9 5
 use Oro\Bundle\DataGridBundle\Datagrid\Builder;
10 6
 use Oro\Bundle\DataGridBundle\Datagrid\Common\DatagridConfiguration;
11 7
 use Oro\Bundle\DataGridBundle\Datagrid\Common\MetadataObject;
12 8
 use Oro\Bundle\DataGridBundle\Datagrid\Common\ResultsObject;
13
-use Oro\Bundle\DataGridBundle\Datasource\Orm\OrmDatasource;
14 9
 use Oro\Bundle\DataGridBundle\Extension\Totals\OrmTotalsExtension;
15 10
 use Oro\Bundle\DataGridBundle\Extension\Totals\Configuration;
16
-
17
-use Oro\Bundle\TestFrameworkBundle\Test\Doctrine\ORM\Mocks\EntityManagerMock;
18 11
 use Oro\Bundle\TestFrameworkBundle\Test\Doctrine\ORM\OrmTestCase;
19 12
 
20 13
 class OrmTotalsExtensionTest extends OrmTestCase
Please login to merge, or discard this patch.
DistributionBundle/Tests/Unit/Manager/Helper/ChangeSetBuilderTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 
4 4
 use Composer\Package\PackageInterface;
5 5
 use Oro\Bundle\DistributionBundle\Manager\Helper\ChangeSetBuilder;
6
-use Oro\Bundle\DistributionBundle\Test\PhpUnit\Helper\MockHelperTrait;
7 6
 
8 7
 class ChangeSetBuilderTest extends \PHPUnit_Framework_TestCase
9 8
 {
Please login to merge, or discard this patch.
src/Oro/Bundle/EmailBundle/Controller/Api/Rest/EmailController.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -6,12 +6,8 @@
 block discarded – undo
6 6
 use FOS\RestBundle\Controller\Annotations\RouteResource;
7 7
 use FOS\RestBundle\Controller\Annotations\QueryParam;
8 8
 use FOS\RestBundle\Controller\Annotations\Get;
9
-use FOS\RestBundle\Controller\Annotations\Delete;
10
-
11 9
 use Nelmio\ApiDocBundle\Annotation\ApiDoc;
12
-
13 10
 use Symfony\Component\HttpFoundation\Response;
14
-
15 11
 use Oro\Bundle\SecurityBundle\Annotation\AclAncestor;
16 12
 use Oro\Bundle\SoapBundle\Controller\Api\Rest\RestController;
17 13
 use Oro\Bundle\SoapBundle\Request\Parameters\Filter\StringToArrayParameterFilter;
Please login to merge, or discard this patch.
src/Oro/Bundle/EmailBundle/Controller/Api/Rest/EmailOriginController.php 1 patch
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -6,14 +6,9 @@
 block discarded – undo
6 6
 use FOS\RestBundle\Controller\Annotations\RouteResource;
7 7
 use FOS\RestBundle\Controller\Annotations\QueryParam;
8 8
 use FOS\RestBundle\Controller\Annotations\Get;
9
-use FOS\RestBundle\Controller\Annotations\Delete;
10
-
11 9
 use Nelmio\ApiDocBundle\Annotation\ApiDoc;
12
-
13 10
 use Symfony\Component\HttpFoundation\Response;
14
-
15 11
 use Oro\Bundle\SecurityBundle\Annotation\AclAncestor;
16
-use Oro\Bundle\SecurityBundle\SecurityFacade;
17 12
 use Oro\Bundle\SoapBundle\Controller\Api\Rest\RestGetController;
18 13
 
19 14
 /**
Please login to merge, or discard this patch.
src/Oro/Bundle/EmailBundle/Controller/EmailController.php 1 patch
Unused Use Statements   -7 removed lines patch added patch discarded remove patch
@@ -4,21 +4,14 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\ORM\EntityManager;
6 6
 use Doctrine\ORM\EntityRepository;
7
-use Doctrine\ORM\Query;
8
-
9 7
 use FOS\RestBundle\Util\Codes;
10
-
11 8
 use Symfony\Bundle\FrameworkBundle\Controller\Controller;
12 9
 use Symfony\Component\HttpFoundation\JsonResponse;
13 10
 use Symfony\Component\HttpFoundation\Request;
14 11
 use Symfony\Component\HttpFoundation\Response;
15
-use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
16 12
 use Symfony\Component\Security\Core\Exception\AccessDeniedException;
17
-
18 13
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
19 14
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
20
-
21
-use Oro\Bundle\EmailBundle\Model\WebSocket\WebSocketSendProcessor;
22 15
 use Oro\Bundle\EmailBundle\Cache\EmailCacheManager;
23 16
 use Oro\Bundle\EmailBundle\Entity\Manager\EmailManager;
24 17
 use Oro\Bundle\EmailBundle\Entity\Email;
Please login to merge, or discard this patch.