Completed
Push — master ( dd2819...45b95e )
by
unknown
10:20
created
OroCRM/Bundle/CampaignBundle/Tests/Unit/Model/EmailCampaignSenderTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -366,6 +366,9 @@
 block discarded – undo
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())
Please login to merge, or discard this patch.
src/OroCRM/Bundle/CaseBundle/Controller/Api/Rest/CaseController.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -3,15 +3,11 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/OroCRM/Bundle/CaseBundle/Controller/Api/Rest/CommentController.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -3,16 +3,12 @@
 block discarded – undo
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
 /**
Please login to merge, or discard this patch.
src/OroCRM/Bundle/CaseBundle/Controller/CommentController.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -3,15 +3,11 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/OroCRM/Bundle/CaseBundle/Entity/CaseComment.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
91 91
     }
92 92
 
93 93
     /**
94
-     * @return Contact|null
94
+     * @return Contact
95 95
      */
96 96
     public function getContact()
97 97
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,9 +3,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/OroCRM/Bundle/CaseBundle/Entity/CaseEntitySoap.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
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
 /**
Please login to merge, or discard this patch.
CaseBundle/Form/EventSubscriber/CaseMailboxProcessSettingsTagSubscriber.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,10 +4,8 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
OroCRM/Bundle/CaseBundle/Migrations/Data/Demo/ORM/LoadCaseEntityData.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -6,10 +6,8 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
Bundle/CaseBundle/Migrations/Schema/v1_7/InheritenceActivityTargets.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.