@@ -366,6 +366,9 @@ |
||
366 | 366 | $this->sender->send($campaign); |
367 | 367 | } |
368 | 368 | |
369 | + /** |
|
370 | + * @param string[] $fields |
|
371 | + */ |
|
369 | 372 | protected function assertFieldsCall($fields, MarketingList $marketingList) |
370 | 373 | { |
371 | 374 | $this->contactInformationFieldsProvider->expects($this->once()) |
@@ -3,15 +3,11 @@ |
||
3 | 3 | namespace OroCRM\Bundle\CaseBundle\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 as Rest; |
10 | 8 | use FOS\RestBundle\Routing\ClassResourceInterface; |
11 | - |
|
12 | 9 | use Oro\Bundle\SecurityBundle\Annotation\AclAncestor; |
13 | 10 | use Oro\Bundle\SoapBundle\Controller\Api\Rest\RestController; |
14 | - |
|
15 | 11 | use OroCRM\Bundle\CaseBundle\Entity\CaseSource; |
16 | 12 | use OroCRM\Bundle\CaseBundle\Entity\CaseStatus; |
17 | 13 | use OroCRM\Bundle\CaseBundle\Entity\CaseEntity; |
@@ -3,16 +3,12 @@ |
||
3 | 3 | namespace OroCRM\Bundle\CaseBundle\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\Util\Codes; |
10 | 8 | use FOS\RestBundle\Controller\Annotations as Rest; |
11 | 9 | use FOS\RestBundle\Routing\ClassResourceInterface; |
12 | - |
|
13 | 10 | use Oro\Bundle\SecurityBundle\Annotation\AclAncestor; |
14 | 11 | use Oro\Bundle\SoapBundle\Controller\Api\Rest\RestController; |
15 | - |
|
16 | 12 | use OroCRM\Bundle\CaseBundle\Entity\CaseEntity; |
17 | 13 | |
18 | 14 | /** |
@@ -3,15 +3,11 @@ |
||
3 | 3 | namespace OroCRM\Bundle\CaseBundle\Controller; |
4 | 4 | |
5 | 5 | use Symfony\Component\HttpFoundation\JsonResponse; |
6 | - |
|
7 | 6 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
8 | 7 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
9 | 8 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter; |
10 | - |
|
11 | 9 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
12 | - |
|
13 | 10 | use Oro\Bundle\SecurityBundle\Annotation\AclAncestor; |
14 | - |
|
15 | 11 | use Oro\Bundle\UserBundle\Entity\User; |
16 | 12 | use OroCRM\Bundle\CaseBundle\Entity\CaseEntity; |
17 | 13 | use OroCRM\Bundle\CaseBundle\Entity\CaseComment; |
@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | } |
73 | 73 | |
74 | 74 | /** |
75 | - * @return CaseEntity|null |
|
75 | + * @return CaseEntity |
|
76 | 76 | */ |
77 | 77 | public function getCase() |
78 | 78 | { |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | } |
92 | 92 | |
93 | 93 | /** |
94 | - * @return Contact|null |
|
94 | + * @return Contact |
|
95 | 95 | */ |
96 | 96 | public function getContact() |
97 | 97 | { |
@@ -3,9 +3,7 @@ |
||
3 | 3 | namespace OroCRM\Bundle\CaseBundle\Entity; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\Mapping as ORM; |
6 | - |
|
7 | 6 | use Oro\Bundle\EntityConfigBundle\Metadata\Annotation\Config; |
8 | - |
|
9 | 7 | use OroCRM\Bundle\CaseBundle\Model\ExtendCaseComment; |
10 | 8 | use OroCRM\Bundle\ContactBundle\Entity\Contact; |
11 | 9 |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace OroCRM\Bundle\CaseBundle\Entity; |
4 | 4 | |
5 | 5 | use BeSimple\SoapBundle\ServiceDefinition\Annotation as Soap; |
6 | - |
|
7 | 6 | use Oro\Bundle\SoapBundle\Entity\SoapEntityInterface; |
8 | 7 | |
9 | 8 | /** |
@@ -4,10 +4,8 @@ |
||
4 | 4 | |
5 | 5 | use Symfony\Component\Form\FormEvent; |
6 | 6 | use Symfony\Component\Form\FormEvents; |
7 | - |
|
8 | 7 | use Oro\Bundle\EmailBundle\Entity\Mailbox; |
9 | 8 | use Oro\Bundle\TagBundle\Form\EventSubscriber\TagSubscriber; |
10 | - |
|
11 | 9 | use OroCRM\Bundle\CaseBundle\Entity\CaseMailboxProcessSettings; |
12 | 10 | |
13 | 11 | class CaseMailboxProcessSettingsTagSubscriber extends TagSubscriber |
@@ -6,10 +6,8 @@ |
||
6 | 6 | use Doctrine\Common\DataFixtures\AbstractFixture; |
7 | 7 | use Doctrine\Common\Persistence\ObjectManager; |
8 | 8 | use Doctrine\ORM\EntityManager; |
9 | - |
|
10 | 9 | use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
11 | 10 | use Symfony\Component\DependencyInjection\ContainerInterface; |
12 | - |
|
13 | 11 | use OroCRM\Bundle\CaseBundle\Entity\CaseComment; |
14 | 12 | use OroCRM\Bundle\CaseBundle\Entity\CaseEntity; |
15 | 13 | use Oro\Bundle\OrganizationBundle\Entity\Organization; |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace OroCRM\Bundle\CaseBundle\Migrations\Schema\v1_7; |
4 | 4 | |
5 | 5 | use Doctrine\DBAL\Schema\Schema; |
6 | - |
|
7 | 6 | use Oro\Bundle\ActivityListBundle\Migration\Extension\ActivityListExtension; |
8 | 7 | use Oro\Bundle\ActivityListBundle\Migration\Extension\ActivityListExtensionAwareInterface; |
9 | 8 | use Oro\Bundle\MigrationBundle\Migration\Migration; |