@@ -2,19 +2,14 @@ discard block |
||
2 | 2 | |
3 | 3 | namespace OroCRM\Bundle\ActivityContactBundle\Command; |
4 | 4 | |
5 | -use Doctrine\ORM\Query; |
|
6 | 5 | use Doctrine\ORM\QueryBuilder; |
7 | - |
|
8 | 6 | use Psr\Log\AbstractLogger; |
9 | - |
|
10 | 7 | use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; |
11 | 8 | use Symfony\Component\Console\Input\InputInterface; |
12 | 9 | use Symfony\Component\Console\Output\OutputInterface; |
13 | 10 | use Symfony\Component\PropertyAccess\PropertyAccess; |
14 | - |
|
15 | 11 | use Oro\Component\PropertyAccess\PropertyAccessor; |
16 | 12 | use Oro\Component\Log\OutputLogger; |
17 | - |
|
18 | 13 | use Oro\Bundle\ActivityBundle\Event\ActivityEvent; |
19 | 14 | use Oro\Bundle\ActivityListBundle\Entity\ActivityList; |
20 | 15 | use Oro\Bundle\ActivityListBundle\Entity\Repository\ActivityListRepository; |
@@ -24,7 +19,6 @@ discard block |
||
24 | 19 | use Oro\Bundle\EntityConfigBundle\Config\ConfigInterface; |
25 | 20 | use Oro\Bundle\EntityConfigBundle\Provider\ConfigProvider; |
26 | 21 | use Oro\Bundle\EntityExtendBundle\Tools\ExtendHelper; |
27 | - |
|
28 | 22 | use OroCRM\Bundle\ActivityContactBundle\EntityConfig\ActivityScope; |
29 | 23 | use OroCRM\Bundle\ActivityContactBundle\EventListener\ActivityListener; |
30 | 24 | use OroCRM\Bundle\ActivityContactBundle\Provider\ActivityContactProvider; |
@@ -6,16 +6,12 @@ |
||
6 | 6 | use Doctrine\DBAL\Connection; |
7 | 7 | use Doctrine\ORM\QueryBuilder; |
8 | 8 | use Doctrine\ORM\EntityManager; |
9 | -use Doctrine\Common\Util\ClassUtils; |
|
10 | 9 | use Doctrine\Common\DataFixtures\AbstractFixture; |
11 | 10 | use Doctrine\Common\DataFixtures\DependentFixtureInterface; |
12 | - |
|
13 | 11 | use Symfony\Component\DependencyInjection\ContainerInterface; |
14 | 12 | use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
15 | - |
|
16 | 13 | use Oro\Bundle\BatchBundle\ORM\Query\QueryCountCalculator; |
17 | 14 | use Oro\Bundle\BatchBundle\ORM\Query\BufferedQueryResultIterator; |
18 | - |
|
19 | 15 | use OroCRM\Bundle\ChannelBundle\Entity\Channel; |
20 | 16 | |
21 | 17 | abstract class AbstractDefaultChannelDataFixture extends AbstractFixture implements |
@@ -3,12 +3,10 @@ |
||
3 | 3 | namespace OroCRM\Bundle\ChannelBundle\Provider; |
4 | 4 | |
5 | 5 | use Symfony\Component\Routing\RouterInterface; |
6 | - |
|
7 | 6 | use Oro\Bundle\EntityConfigBundle\Config\ConfigInterface; |
8 | 7 | use Oro\Bundle\EntityExtendBundle\EntityConfig\ExtendScope; |
9 | 8 | use Oro\Bundle\EntityBundle\Provider\EntityProvider; |
10 | 9 | use Oro\Bundle\EntityConfigBundle\Config\ConfigManager; |
11 | -use Oro\Bundle\EntityConfigBundle\Entity\EntityConfigModel; |
|
12 | 10 | |
13 | 11 | class MetadataProvider implements MetadataProviderInterface |
14 | 12 | { |
@@ -3,10 +3,7 @@ |
||
3 | 3 | namespace OroCRM\Bundle\ChannelBundle\Tests\Functional\Controller; |
4 | 4 | |
5 | 5 | use Symfony\Component\Form\Form; |
6 | - |
|
7 | 6 | use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase; |
8 | -use Oro\Bundle\OrganizationBundle\Entity\Organization; |
|
9 | -use Oro\Bundle\OrganizationBundle\Migrations\Data\ORM\LoadOrganizationAndBusinessUnitData; |
|
10 | 7 | |
11 | 8 | /** |
12 | 9 | * @outputBuffering enabled |
@@ -2,14 +2,11 @@ |
||
2 | 2 | |
3 | 3 | namespace OroCRM\Bundle\ChannelBundle\Tests\Unit\EventListener; |
4 | 4 | |
5 | -use Doctrine\ORM\Event\OnClearEventArgs; |
|
6 | 5 | use Doctrine\ORM\UnitOfWork; |
7 | 6 | use Doctrine\ORM\EntityManager; |
8 | 7 | use Doctrine\ORM\Event\OnFlushEventArgs; |
9 | 8 | use Doctrine\ORM\Event\PostFlushEventArgs; |
10 | - |
|
11 | 9 | use Oro\Bundle\TestFrameworkBundle\Test\Doctrine\ORM\OrmTestCase; |
12 | - |
|
13 | 10 | use OroCRM\Bundle\ChannelBundle\Tests\Unit\Stubs\Entity\Customer; |
14 | 11 | use OroCRM\Bundle\ChannelBundle\EventListener\ChannelDoctrineListener; |
15 | 12 | use OroCRM\Bundle\ChannelBundle\Entity\Repository\LifetimeHistoryRepository; |
@@ -2,15 +2,10 @@ |
||
2 | 2 | |
3 | 3 | namespace OroCRM\Bundle\ContactBundle\Controller; |
4 | 4 | |
5 | -use Symfony\Component\HttpFoundation\Request; |
|
6 | 5 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
7 | - |
|
8 | 6 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
9 | 7 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
10 | - |
|
11 | 8 | use Oro\Bundle\SecurityBundle\Annotation\Acl; |
12 | -use Oro\Bundle\SecurityBundle\Annotation\AclAncestor; |
|
13 | - |
|
14 | 9 | use OroCRM\Bundle\ContactBundle\Entity\Group; |
15 | 10 | |
16 | 11 | /** |
@@ -3,8 +3,6 @@ |
||
3 | 3 | namespace OroCRM\Bundle\ContactBundle\Entity\Repository; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityRepository; |
6 | -use Doctrine\ORM\QueryBuilder; |
|
7 | - |
|
8 | 6 | use Oro\Bundle\EmailBundle\Entity\Repository\EmailAwareRepository; |
9 | 7 | |
10 | 8 | class ContactRepository extends EntityRepository implements EmailAwareRepository |
@@ -2,12 +2,9 @@ |
||
2 | 2 | |
3 | 3 | namespace OroCRM\Bundle\ContactBundle\Tests\Unit\Form\Handler; |
4 | 4 | |
5 | -use Doctrine\Common\Persistence\ObjectManager; |
|
6 | - |
|
7 | 5 | use Doctrine\ORM\EntityManagerInterface; |
8 | 6 | use Symfony\Component\Form\FormInterface; |
9 | 7 | use Symfony\Component\HttpFoundation\Request; |
10 | - |
|
11 | 8 | use OroCRM\Bundle\ContactBundle\Entity\Contact; |
12 | 9 | use OroCRM\Bundle\AccountBundle\Entity\Account; |
13 | 10 | use OroCRM\Bundle\ContactBundle\Form\Handler\ContactHandler; |
@@ -2,12 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace OroCRM\Bundle\DemoDataBundle\Migrations\Data\Demo\ORM; |
4 | 4 | |
5 | -use Symfony\Component\DependencyInjection\ContainerInterface; |
|
6 | -use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
|
7 | - |
|
8 | 5 | use Doctrine\Common\Persistence\ObjectManager; |
9 | 6 | use Doctrine\Common\DataFixtures\DependentFixtureInterface; |
10 | - |
|
11 | 7 | use OroCRM\Bundle\AccountBundle\Entity\Account; |
12 | 8 | use Oro\Bundle\OrganizationBundle\Entity\Organization; |
13 | 9 |