@@ -5,11 +5,8 @@ |
||
5 | 5 | use FOS\RestBundle\Util\Codes; |
6 | 6 | use FOS\RestBundle\Controller\Annotations\NamePrefix; |
7 | 7 | use FOS\RestBundle\Controller\Annotations\RouteResource; |
8 | - |
|
9 | 8 | use Nelmio\ApiDocBundle\Annotation\ApiDoc; |
10 | - |
|
11 | 9 | use Symfony\Component\HttpFoundation\Response; |
12 | - |
|
13 | 10 | use Oro\Bundle\EmailBundle\Entity\EmailTemplate; |
14 | 11 | use Oro\Bundle\SecurityBundle\Annotation\AclAncestor; |
15 | 12 | use Oro\Bundle\SoapBundle\Controller\Api\Rest\RestController; |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace OroCRM\Bundle\CampaignBundle\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 |
@@ -6,7 +6,6 @@ |
||
6 | 6 | use Symfony\Component\Form\FormEvent; |
7 | 7 | use Symfony\Component\Form\FormEvents; |
8 | 8 | use Symfony\Component\Form\FormInterface; |
9 | - |
|
10 | 9 | use Oro\Bundle\EntityBundle\ORM\DoctrineHelper; |
11 | 10 | use OroCRM\Bundle\CampaignBundle\Entity\EmailCampaign; |
12 | 11 | use OroCRM\Bundle\CampaignBundle\Provider\EmailTransportProvider; |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use Symfony\Bridge\Doctrine\RegistryInterface; |
6 | 6 | use Symfony\Component\Form\FormInterface; |
7 | 7 | use Symfony\Component\HttpFoundation\Request; |
8 | - |
|
9 | 8 | use OroCRM\Bundle\CampaignBundle\Entity\EmailCampaign; |
10 | 9 | |
11 | 10 | class EmailCampaignHandler |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Bundle\DoctrineBundle\Registry; |
6 | 6 | use Doctrine\Common\Persistence\ObjectManager; |
7 | - |
|
8 | 7 | use Oro\Bundle\TrackingBundle\Entity\TrackingVisit; |
9 | 8 | use Oro\Bundle\TrackingBundle\Entity\TrackingVisitEvent; |
10 | 9 | use Oro\Bundle\TrackingBundle\Provider\TrackingEventIdentifierInterface; |
@@ -4,9 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Common\DataFixtures\AbstractFixture; |
6 | 6 | use Doctrine\Common\Persistence\ObjectManager; |
7 | - |
|
8 | 7 | use Symfony\Component\PropertyAccess\PropertyAccess; |
9 | - |
|
10 | 8 | use OroCRM\Bundle\CampaignBundle\Entity\Campaign; |
11 | 9 | |
12 | 10 | class LoadCampaignData extends AbstractFixture |
@@ -4,9 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Common\DataFixtures\AbstractFixture; |
6 | 6 | use Doctrine\Common\Persistence\ObjectManager; |
7 | - |
|
8 | 7 | use Symfony\Component\PropertyAccess\PropertyAccess; |
9 | - |
|
10 | 8 | use Oro\Bundle\TrackingBundle\Entity\TrackingEvent; |
11 | 9 | use Oro\Bundle\TrackingBundle\Entity\TrackingWebsite; |
12 | 10 |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace OroCRM\Bundle\CampaignBundle\Tests\Unit\Form\Type; |
4 | 4 | |
5 | 5 | use Symfony\Component\OptionsResolver\OptionsResolverInterface; |
6 | - |
|
7 | 6 | use OroCRM\Bundle\CampaignBundle\Form\Type\CampaignSelectType; |
8 | 7 | |
9 | 8 | class CampaignSelectTypeTest extends \PHPUnit_Framework_TestCase |
@@ -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()) |