@@ -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; |
@@ -4,13 +4,10 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Symfony\Component\Form\FormInterface; |
| 6 | 6 | use BeSimple\SoapBundle\ServiceDefinition\Annotation as Soap; |
| 7 | - |
|
| 8 | 7 | use Oro\Bundle\SecurityBundle\Annotation\AclAncestor; |
| 9 | - |
|
| 10 | 8 | use Oro\Bundle\SoapBundle\Controller\Api\Soap\SoapController; |
| 11 | 9 | use Oro\Bundle\SoapBundle\Entity\Manager\ApiEntityManager; |
| 12 | 10 | use Oro\Bundle\SoapBundle\Form\Handler\ApiFormHandler; |
| 13 | - |
|
| 14 | 11 | use OroCRM\Bundle\ContactBundle\Entity\Contact; |
| 15 | 12 | |
| 16 | 13 | class ContactController extends SoapController |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Symfony\Component\Form\FormInterface; |
| 6 | 6 | use BeSimple\SoapBundle\ServiceDefinition\Annotation as Soap; |
| 7 | - |
|
| 8 | 7 | use Oro\Bundle\SecurityBundle\Annotation\AclAncestor; |
| 9 | 8 | use Oro\Bundle\SoapBundle\Controller\Api\Soap\SoapController; |
| 10 | 9 | use Oro\Bundle\SoapBundle\Entity\Manager\ApiEntityManager; |
@@ -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\ContactBundle\Entity\ContactAddress; |
| 14 | 12 | use OroCRM\Bundle\ContactBundle\Entity\Contact; |
@@ -4,15 +4,11 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
| 6 | 6 | use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; |
| 7 | - |
|
| 8 | 7 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
| 9 | 8 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
| 10 | - |
|
| 11 | 9 | use Oro\Bundle\SecurityBundle\Annotation\Acl; |
| 12 | 10 | use Oro\Bundle\SecurityBundle\Annotation\AclAncestor; |
| 13 | - |
|
| 14 | 11 | use Oro\Bundle\SoapBundle\Entity\Manager\ApiEntityManager; |
| 15 | - |
|
| 16 | 12 | use OroCRM\Bundle\ContactBundle\Entity\Contact; |
| 17 | 13 | use OroCRM\Bundle\AccountBundle\Entity\Account; |
| 18 | 14 | |