@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Symfony\Component\DependencyInjection\ContainerInterface; |
6 | 6 | use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
7 | - |
|
8 | 7 | use Doctrine\Common\DataFixtures\DependentFixtureInterface; |
9 | 8 | use Doctrine\Common\DataFixtures\AbstractFixture; |
10 | 9 | use Doctrine\Common\Persistence\ObjectManager; |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Common\DataFixtures\AbstractFixture; |
6 | 6 | use Doctrine\Common\Persistence\ObjectManager; |
7 | - |
|
8 | 7 | use OroCRM\Bundle\ContactBundle\Entity\Contact; |
9 | 8 | |
10 | 9 | class LoadContactData extends AbstractFixture |
@@ -15,7 +15,7 @@ |
||
15 | 15 | |
16 | 16 | /** |
17 | 17 | * @param string $entityName |
18 | - * @param array $properties |
|
18 | + * @param string[] $properties |
|
19 | 19 | * @param string $channelRelationName |
20 | 20 | * @param string $channelSearchPropertyName |
21 | 21 | */ |
@@ -3,9 +3,7 @@ |
||
3 | 3 | namespace OroCRM\Bundle\ChannelBundle\Builder; |
4 | 4 | |
5 | 5 | use Symfony\Bridge\Doctrine\ManagerRegistry; |
6 | - |
|
7 | 6 | use Oro\Bundle\IntegrationBundle\Entity\Channel as Integration; |
8 | - |
|
9 | 7 | use OroCRM\Bundle\ChannelBundle\Entity\Channel; |
10 | 8 | use OroCRM\Bundle\ChannelBundle\Provider\SettingsProvider; |
11 | 9 |
@@ -3,11 +3,9 @@ |
||
3 | 3 | namespace OroCRM\Bundle\ChannelBundle\Builder; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManager; |
6 | - |
|
7 | 6 | use Oro\Bundle\OrganizationBundle\Entity\Organization; |
8 | 7 | use Oro\Bundle\IntegrationBundle\Entity\Channel as Integration; |
9 | 8 | use Oro\Bundle\OrganizationBundle\Migrations\Data\ORM\LoadOrganizationAndBusinessUnitData; |
10 | - |
|
11 | 9 | use OroCRM\Bundle\ChannelBundle\Entity\Channel; |
12 | 10 | use OroCRM\Bundle\ChannelBundle\Provider\SettingsProvider; |
13 | 11 |
@@ -4,14 +4,12 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManager; |
6 | 6 | use Doctrine\ORM\QueryBuilder; |
7 | - |
|
8 | 7 | use Symfony\Component\Console\Helper\ProgressHelper; |
9 | 8 | use Symfony\Component\Console\Input\InputInterface; |
10 | 9 | use Symfony\Component\Console\Input\InputOption; |
11 | 10 | use Symfony\Component\Console\Output\OutputInterface; |
12 | 11 | use Symfony\Component\PropertyAccess\PropertyAccess; |
13 | 12 | use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; |
14 | - |
|
15 | 13 | use Oro\Bundle\BatchBundle\ORM\Query\BufferedQueryResultIterator; |
16 | 14 | |
17 | 15 | abstract class RecalculateLifetimeCommand extends ContainerAwareCommand |
@@ -3,16 +3,12 @@ discard block |
||
3 | 3 | namespace OroCRM\Bundle\ChannelBundle\Controller\Api\Rest; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityNotFoundException; |
6 | - |
|
7 | 6 | use Symfony\Component\HttpFoundation\Response; |
8 | - |
|
9 | 7 | use Nelmio\ApiDocBundle\Annotation\ApiDoc; |
10 | - |
|
11 | 8 | use FOS\RestBundle\Util\Codes; |
12 | 9 | use FOS\RestBundle\Controller\Annotations\NamePrefix; |
13 | 10 | use FOS\RestBundle\Controller\Annotations\QueryParam; |
14 | 11 | use FOS\RestBundle\Controller\Annotations\RouteResource; |
15 | - |
|
16 | 12 | use Oro\Bundle\SecurityBundle\Annotation\Acl; |
17 | 13 | use Oro\Bundle\SecurityBundle\Annotation\AclAncestor; |
18 | 14 | use Oro\Bundle\SecurityBundle\Exception\ForbiddenException; |
@@ -21,7 +17,6 @@ discard block |
||
21 | 17 | use Oro\Bundle\SoapBundle\Request\Parameters\Filter\BooleanParameterFilter; |
22 | 18 | use Oro\Bundle\SoapBundle\Request\Parameters\Filter\EntityClassParameterFilter; |
23 | 19 | use Oro\Bundle\SoapBundle\Request\Parameters\Filter\StringToArrayParameterFilter; |
24 | - |
|
25 | 20 | use OroCRM\Bundle\ChannelBundle\Event\ChannelDeleteEvent; |
26 | 21 | use OroCRM\Bundle\ChannelBundle\Event\ChannelBeforeDeleteEvent; |
27 | 22 |
@@ -3,14 +3,11 @@ |
||
3 | 3 | namespace OroCRM\Bundle\ChannelBundle\Controller\Api\Rest; |
4 | 4 | |
5 | 5 | use Symfony\Component\HttpFoundation\Response; |
6 | - |
|
7 | 6 | use Nelmio\ApiDocBundle\Annotation\ApiDoc; |
8 | - |
|
9 | 7 | use FOS\RestBundle\Controller\Annotations\NamePrefix; |
10 | 8 | use FOS\RestBundle\Controller\Annotations\RouteResource; |
11 | 9 | use FOS\RestBundle\Controller\Annotations\Get; |
12 | 10 | use FOS\RestBundle\Controller\Annotations\QueryParam; |
13 | - |
|
14 | 11 | use Oro\Bundle\SoapBundle\Controller\Api\Rest\RestGetController; |
15 | 12 | use OroCRM\Bundle\ChannelBundle\Entity\Manager\CustomerSearchApiEntityManager; |
16 | 13 |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace OroCRM\Bundle\ChannelBundle\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 | 8 |