@@ -5,7 +5,6 @@ discard block |
||
5 | 5 | use Doctrine\ORM\Query\Expr\From; |
6 | 6 | use Doctrine\ORM\Query\Expr\Select; |
7 | 7 | use Doctrine\ORM\QueryBuilder; |
8 | - |
|
9 | 8 | use Oro\Bundle\BatchBundle\ORM\Query\BufferedQueryResultIterator; |
10 | 9 | use Oro\Bundle\DataGridBundle\Datagrid\Common\DatagridConfiguration; |
11 | 10 | use Oro\Bundle\DataGridBundle\Datagrid\DatagridInterface; |
@@ -13,7 +12,6 @@ discard block |
||
13 | 12 | use Oro\Bundle\DataGridBundle\Datasource\Orm\OrmDatasource; |
14 | 13 | use Oro\Bundle\DataGridBundle\Extension\Pager\PagerInterface; |
15 | 14 | use Oro\Bundle\TagBundle\Grid\TagsExtension; |
16 | - |
|
17 | 15 | use OroCRM\Bundle\MarketingListBundle\Entity\MarketingList; |
18 | 16 | use OroCRM\Bundle\MarketingListBundle\Datagrid\ConfigurationProvider; |
19 | 17 |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MarketingListBundle\Tests\Functional\Controller\Api\Rest; |
4 | 4 | |
5 | 5 | use FOS\RestBundle\Util\Codes; |
6 | - |
|
7 | 6 | use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase; |
8 | 7 | |
9 | 8 | /** |
@@ -3,13 +3,11 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MarketingListBundle\Tests\Unit\Provider; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\Query\Expr\Select; |
6 | - |
|
7 | 6 | use Oro\Bundle\DataGridBundle\Datagrid\Common\DatagridConfiguration; |
8 | 7 | use Oro\Bundle\DataGridBundle\Datagrid\DatagridInterface; |
9 | 8 | use Oro\Bundle\DataGridBundle\Extension\Pager\PagerInterface; |
10 | 9 | use Oro\Bundle\TagBundle\Grid\TagsExtension; |
11 | 10 | use Oro\Bundle\DataGridBundle\Datagrid\Manager; |
12 | - |
|
13 | 11 | use OroCRM\Bundle\MarketingListBundle\Entity\MarketingList; |
14 | 12 | use OroCRM\Bundle\MarketingListBundle\Entity\MarketingListType; |
15 | 13 | use OroCRM\Bundle\MarketingListBundle\Datagrid\ConfigurationProvider; |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Oro\Bundle\DataGridBundle\Event\BuildBefore; |
6 | 6 | use Oro\Bundle\EntityExtendBundle\Provider\EnumValueProvider; |
7 | - |
|
8 | 7 | use OroCRM\Bundle\SalesBundle\Entity\Opportunity; |
9 | 8 | |
10 | 9 | class AccountsByOpportunitiesReportListener |
@@ -7,10 +7,8 @@ discard block |
||
7 | 7 | use Doctrine\Common\DataFixtures\OrderedFixtureInterface; |
8 | 8 | use Doctrine\Common\Persistence\ObjectManager; |
9 | 9 | use Doctrine\ORM\EntityManager; |
10 | - |
|
11 | 10 | use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
12 | 11 | use Symfony\Component\DependencyInjection\ContainerInterface; |
13 | - |
|
14 | 12 | use Oro\Bundle\AddressBundle\Entity\Country; |
15 | 13 | use Oro\Bundle\AddressBundle\Entity\Region; |
16 | 14 | use Oro\Bundle\EntityConfigBundle\Config\ConfigManager; |
@@ -21,7 +19,6 @@ discard block |
||
21 | 19 | use Oro\Bundle\UserBundle\Entity\User; |
22 | 20 | use Oro\Bundle\WorkflowBundle\Entity\WorkflowItem; |
23 | 21 | use Oro\Bundle\WorkflowBundle\Model\WorkflowManager; |
24 | - |
|
25 | 22 | use OroCRM\Bundle\ChannelBundle\Builder\BuilderFactory; |
26 | 23 | use OroCRM\Bundle\ChannelBundle\Entity\Channel; |
27 | 24 | use OroCRM\Bundle\SalesBundle\Entity\Lead; |
@@ -4,17 +4,13 @@ |
||
4 | 4 | |
5 | 5 | use Symfony\Component\Form\FormInterface; |
6 | 6 | use Symfony\Component\HttpFoundation\Response; |
7 | - |
|
8 | 7 | use FOS\RestBundle\Controller\Annotations\NamePrefix; |
9 | 8 | use FOS\RestBundle\Controller\Annotations\RouteResource; |
10 | 9 | use FOS\RestBundle\Controller\Annotations\QueryParam; |
11 | 10 | use FOS\RestBundle\Routing\ClassResourceInterface; |
12 | - |
|
13 | 11 | use Nelmio\ApiDocBundle\Annotation\ApiDoc; |
14 | - |
|
15 | 12 | use Oro\Bundle\SecurityBundle\Annotation\Acl; |
16 | 13 | use Oro\Bundle\SecurityBundle\Annotation\AclAncestor; |
17 | - |
|
18 | 14 | use Oro\Bundle\SoapBundle\Form\Handler\ApiFormHandler; |
19 | 15 | use Oro\Bundle\SoapBundle\Controller\Api\Rest\RestController; |
20 | 16 | use Oro\Bundle\SoapBundle\Entity\Manager\ApiEntityManager; |
@@ -3,12 +3,9 @@ |
||
3 | 3 | namespace OroCRM\Bundle\SalesBundle\Controller\Dashboard; |
4 | 4 | |
5 | 5 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
6 | - |
|
7 | 6 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
8 | 7 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
9 | - |
|
10 | 8 | use Oro\Bundle\WorkflowBundle\Model\WorkflowManager; |
11 | - |
|
12 | 9 | use OroCRM\Bundle\SalesBundle\Entity\Repository\SalesFunnelRepository; |
13 | 10 | |
14 | 11 | class DashboardController extends Controller |
@@ -4,11 +4,9 @@ |
||
4 | 4 | |
5 | 5 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
6 | 6 | use Symfony\Component\HttpKernel\Exception\BadRequestHttpException; |
7 | - |
|
8 | 7 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
9 | 8 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
10 | 9 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter; |
11 | - |
|
12 | 10 | use Oro\Bundle\SecurityBundle\Annotation\AclAncestor; |
13 | 11 | use OroCRM\Bundle\SalesBundle\Entity\LeadAddress; |
14 | 12 | use OroCRM\Bundle\SalesBundle\Entity\Lead; |
@@ -3,16 +3,13 @@ |
||
3 | 3 | namespace OroCRM\Bundle\SalesBundle\Dashboard\Provider; |
4 | 4 | |
5 | 5 | use Symfony\Bridge\Doctrine\RegistryInterface; |
6 | - |
|
7 | 6 | use Oro\Component\DoctrineUtils\ORM\QueryUtils; |
8 | - |
|
9 | 7 | use Oro\Bundle\DashboardBundle\Filter\DateFilterProcessor; |
10 | 8 | use Oro\Bundle\DashboardBundle\Model\WidgetOptionBag; |
11 | 9 | use Oro\Bundle\EntityExtendBundle\Entity\Repository\EnumValueRepository; |
12 | 10 | use Oro\Bundle\EntityExtendBundle\Tools\ExtendHelper; |
13 | 11 | use Oro\Bundle\SecurityBundle\ORM\Walker\AclHelper; |
14 | 12 | use Oro\Bundle\UserBundle\Dashboard\OwnerHelper; |
15 | - |
|
16 | 13 | use OroCRM\Bundle\SalesBundle\Entity\Repository\OpportunityRepository; |
17 | 14 | |
18 | 15 | class OpportunityByStatusProvider |