@@ -6,20 +6,7 @@ |
||
6 | 6 | use Oro\Bundle\IntegrationBundle\Entity\Channel as Integration; |
7 | 7 | use OroCRM\Bundle\ChannelBundle\Entity\Channel; |
8 | 8 | use OroCRM\Bundle\MagentoBundle\Entity\MagentoSoapTransport; |
9 | - |
|
10 | - |
|
11 | -use OroCRM\Bundle\MagentoBundle\EventListener\UpdateIntegrationConnectorsListener; |
|
12 | -use OroCRM\Bundle\MagentoBundle\Provider\ChannelType; |
|
13 | -use OroCRM\Bundle\MagentoBundle\Provider\Transport\SoapTransport; |
|
14 | - |
|
15 | - |
|
16 | -use Oro\Bundle\DataGridBundle\Datagrid\Common\DatagridConfiguration; |
|
17 | 9 | use Oro\Bundle\DataGridBundle\Datagrid\ParameterBag; |
18 | -use Oro\Bundle\DataGridBundle\Event\PreBuild; |
|
19 | -use OroCRM\Bundle\MagentoBundle\EventListener\CustomerDataGridListener; |
|
20 | -use Symfony\Component\HttpFoundation\Request; |
|
21 | -use Symfony\Component\HttpFoundation\RequestStack; |
|
22 | - |
|
23 | 10 | use OroCRM\Bundle\MagentoBundle\EventListener\StoreGridListener; |
24 | 11 | |
25 | 12 | class StoreGridListenerTest extends \PHPUnit_Framework_TestCase |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Symfony\Component\Validator\Constraint; |
6 | 6 | use Symfony\Component\Validator\ConstraintValidator; |
7 | - |
|
8 | 7 | use OroCRM\Bundle\TaskBundle\Validator\Constraints\DueDateRequired; |
9 | 8 | use OroCRM\Bundle\TaskBundle\Entity\Task; |
10 | 9 |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Symfony\Component\Validator\Constraint; |
6 | 6 | use Symfony\Component\Validator\ConstraintValidator; |
7 | - |
|
8 | 7 | use OroCRM\Bundle\TaskBundle\Validator\Constraints\DueDateRequired; |
9 | 8 | use OroCRM\Bundle\TaskBundle\Entity\Task; |
10 | 9 |
@@ -3,10 +3,8 @@ |
||
3 | 3 | namespace OroCRM\Bundle\TestFrameworkBundle\Tests\Performance; |
4 | 4 | |
5 | 5 | use Symfony\Bundle\FrameworkBundle\Console\Application; |
6 | - |
|
7 | 6 | use Symfony\Component\HttpKernel\Kernel; |
8 | 7 | use Symfony\Component\DependencyInjection\Container; |
9 | - |
|
10 | 8 | use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase; |
11 | 9 | |
12 | 10 | class LoadTest extends WebTestCase |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Symfony\Component\Validator\Constraint; |
6 | 6 | use Symfony\Component\Validator\ConstraintValidator; |
7 | - |
|
8 | 7 | use OroCRM\Bundle\TaskBundle\Validator\Constraints\DueDateRequired; |
9 | 8 | use OroCRM\Bundle\TaskBundle\Entity\Task; |
10 | 9 |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Symfony\Component\Validator\Constraint; |
6 | 6 | use Symfony\Component\Validator\ConstraintValidator; |
7 | - |
|
8 | 7 | use OroCRM\Bundle\TaskBundle\Validator\Constraints\DueDateRequired; |
9 | 8 | use OroCRM\Bundle\TaskBundle\Entity\Task; |
10 | 9 |
@@ -155,7 +155,7 @@ |
||
155 | 155 | * @param string $filterType date filter type ('date' or 'datetime') |
156 | 156 | * @param QueryBuilder $queryBuilder |
157 | 157 | * |
158 | - * @return string|bool |
|
158 | + * @return false|string |
|
159 | 159 | */ |
160 | 160 | protected function buildDateCondition(array $options, $fieldName, $filterType, QueryBuilder $queryBuilder) |
161 | 161 | { |
@@ -3,10 +3,8 @@ |
||
3 | 3 | namespace OroCRM\Bundle\TestFrameworkBundle\Tests\Performance; |
4 | 4 | |
5 | 5 | use Symfony\Bundle\FrameworkBundle\Console\Application; |
6 | - |
|
7 | 6 | use Symfony\Component\HttpKernel\Kernel; |
8 | 7 | use Symfony\Component\DependencyInjection\Container; |
9 | - |
|
10 | 8 | use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase; |
11 | 9 | |
12 | 10 | class LoadTest extends WebTestCase |
@@ -4,21 +4,15 @@ |
||
4 | 4 | |
5 | 5 | use Symfony\Component\HttpFoundation\Response; |
6 | 6 | use Symfony\Component\HttpFoundation\JsonResponse; |
7 | - |
|
8 | 7 | use FOS\RestBundle\Controller\Annotations\NamePrefix; |
9 | 8 | use FOS\RestBundle\Controller\Annotations\RouteResource; |
10 | 9 | use FOS\RestBundle\Routing\ClassResourceInterface; |
11 | 10 | use FOS\RestBundle\Util\Codes; |
12 | - |
|
13 | 11 | use Nelmio\ApiDocBundle\Annotation\ApiDoc; |
14 | - |
|
15 | -use Oro\Bundle\SecurityBundle\Annotation\Acl; |
|
16 | 12 | use Oro\Bundle\FormBundle\Form\Handler\ApiFormHandler; |
17 | 13 | use Oro\Bundle\SecurityBundle\Annotation\AclAncestor; |
18 | 14 | use Oro\Bundle\SoapBundle\Controller\Api\Rest\RestController; |
19 | - |
|
20 | 15 | use OroCRM\Bundle\SalesBundle\Entity\B2bCustomer; |
21 | -use OroCRM\Bundle\ContactBundle\Entity\Contact; |
|
22 | 16 | |
23 | 17 | /** |
24 | 18 | * @RouteResource("b2bcustomer_phone") |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Symfony\Component\Validator\Constraint; |
6 | 6 | use Symfony\Component\Validator\ConstraintValidator; |
7 | - |
|
8 | 7 | use OroCRM\Bundle\TaskBundle\Validator\Constraints\DueDateRequired; |
9 | 8 | use OroCRM\Bundle\TaskBundle\Entity\Task; |
10 | 9 |