@@ -4,11 +4,8 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManager; |
6 | 6 | use Doctrine\Common\Annotations\AnnotationReader; |
7 | - |
|
8 | 7 | use Doctrine\ORM\Mapping\Driver\AnnotationDriver; |
9 | - |
|
10 | 8 | use Oro\Bundle\TestFrameworkBundle\Test\Doctrine\ORM\OrmTestCase; |
11 | - |
|
12 | 9 | use OroCRM\Bundle\ChannelBundle\Provider\Lifetime\AmountProvider; |
13 | 10 | |
14 | 11 | class AmountProviderTest extends OrmTestCase |
@@ -3,10 +3,8 @@ |
||
3 | 3 | namespace OroCRM\Bundle\ChannelBundle\Tests\Unit\Provider\Lifetime; |
4 | 4 | |
5 | 5 | use Doctrine\Common\Persistence\ManagerRegistry; |
6 | - |
|
7 | 6 | use Oro\Bundle\LocaleBundle\Model\LocaleSettings; |
8 | 7 | use Oro\Bundle\SecurityBundle\ORM\Walker\AclHelper; |
9 | - |
|
10 | 8 | use OroCRM\Bundle\ChannelBundle\Provider\Lifetime\AverageLifetimeWidgetProvider; |
11 | 9 | |
12 | 10 | class AverageLifetimeWidgetProviderTest extends \PHPUnit_Framework_TestCase |
@@ -164,7 +164,7 @@ |
||
164 | 164 | } |
165 | 165 | |
166 | 166 | /** |
167 | - * @param $index |
|
167 | + * @param integer $index |
|
168 | 168 | * |
169 | 169 | * @return array |
170 | 170 | */ |
@@ -3,10 +3,8 @@ |
||
3 | 3 | namespace OroCRM\Bundle\ChannelBundle\Tests\Unit\Provider; |
4 | 4 | |
5 | 5 | use Symfony\Component\Routing\RouterInterface; |
6 | - |
|
7 | 6 | use Oro\Bundle\EntityBundle\Provider\EntityProvider; |
8 | 7 | use Oro\Bundle\EntityConfigBundle\Config\ConfigManager; |
9 | - |
|
10 | 8 | use OroCRM\Bundle\ChannelBundle\Provider\MetadataProvider; |
11 | 9 | use OroCRM\Bundle\ChannelBundle\Provider\SettingsProvider; |
12 | 10 |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace OroCRM\Bundle\ChannelBundle\Tests\Unit\Stubs\Entity; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\Mapping as ORM; |
6 | - |
|
7 | 6 | use OroCRM\Bundle\AccountBundle\Entity\Account; |
8 | 7 | use OroCRM\Bundle\ChannelBundle\Entity\Channel; |
9 | 8 | use OroCRM\Bundle\ChannelBundle\Model\ChannelAwareInterface; |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use Symfony\Component\Validator\Constraint; |
6 | 6 | use Symfony\Component\Validator\ConstraintValidator; |
7 | 7 | use Symfony\Component\Validator\Exception\UnexpectedTypeException; |
8 | - |
|
9 | 8 | use OroCRM\Bundle\ChannelBundle\Entity\Channel; |
10 | 9 | |
11 | 10 | class ChannelCustomerIdentityConstraintValidator extends ConstraintValidator |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use Symfony\Component\Validator\Constraint; |
6 | 6 | use Symfony\Component\Validator\ConstraintValidator; |
7 | 7 | use Symfony\Component\Validator\Exception\UnexpectedTypeException; |
8 | - |
|
9 | 8 | use OroCRM\Bundle\ChannelBundle\Entity\Channel; |
10 | 9 | use OroCRM\Bundle\ChannelBundle\Provider\SettingsProvider; |
11 | 10 |
@@ -6,12 +6,9 @@ discard block |
||
6 | 6 | use FOS\RestBundle\Controller\Annotations\QueryParam; |
7 | 7 | use FOS\RestBundle\Controller\Annotations\RouteResource; |
8 | 8 | use FOS\RestBundle\Routing\ClassResourceInterface; |
9 | - |
|
10 | 9 | use Nelmio\ApiDocBundle\Annotation\ApiDoc; |
11 | - |
|
12 | 10 | use Symfony\Component\Form\FormInterface; |
13 | 11 | use Symfony\Component\HttpFoundation\Response; |
14 | - |
|
15 | 12 | use Oro\Bundle\AddressBundle\Utils\AddressApiUtils; |
16 | 13 | use Oro\Bundle\SecurityBundle\Annotation\Acl; |
17 | 14 | use Oro\Bundle\SecurityBundle\Annotation\AclAncestor; |
@@ -20,7 +17,6 @@ discard block |
||
20 | 17 | use Oro\Bundle\SoapBundle\Form\Handler\ApiFormHandler; |
21 | 18 | use Oro\Bundle\SoapBundle\Request\Parameters\Filter\HttpDateTimeParameterFilter; |
22 | 19 | use Oro\Bundle\SoapBundle\Request\Parameters\Filter\IdentifierToReferenceFilter; |
23 | - |
|
24 | 20 | use OroCRM\Bundle\ContactBundle\Entity\Contact; |
25 | 21 | use OroCRM\Bundle\ContactBundle\Form\Type\ContactApiType; |
26 | 22 |
@@ -8,7 +8,6 @@ |
||
8 | 8 | use Nelmio\ApiDocBundle\Annotation\ApiDoc; |
9 | 9 | use Oro\Bundle\SecurityBundle\Annotation\Acl; |
10 | 10 | use Oro\Bundle\SecurityBundle\Annotation\AclAncestor; |
11 | - |
|
12 | 11 | use Symfony\Component\Form\FormInterface; |
13 | 12 | use Symfony\Component\HttpFoundation\Response; |
14 | 13 | use FOS\RestBundle\Routing\ClassResourceInterface; |
@@ -4,14 +4,11 @@ |
||
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 | 12 | use Oro\Bundle\SecurityBundle\Annotation\AclAncestor; |
16 | 13 | use Oro\Bundle\SoapBundle\Controller\Api\Rest\RestController; |
17 | 14 | use OroCRM\Bundle\ContactBundle\Entity\Contact; |