Completed
Push — 1.8 ( b7094f...f1162e )
by
unknown
83:38 queued 61:44
created
src/Oro/Bundle/EmailBundle/Tests/Unit/Model/Action/RequestMailboxesTest.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 Oro\Bundle\EmailBundle\Tests\Unit\Model\Action;
4 4
 
5 5
 use Doctrine\Bundle\DoctrineBundle\Registry;
6
-
7 6
 use Oro\Bundle\EmailBundle\Entity\Email;
8 7
 use Oro\Bundle\EmailBundle\Entity\Mailbox;
9 8
 use Oro\Bundle\EmailBundle\Entity\Repository\MailboxRepository;
Please login to merge, or discard this patch.
Oro/Bundle/EmailBundle/Tests/Unit/Provider/EmailAttachmentProviderTest.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 Oro\Bundle\EmailBundle\Tests\Unit\Provider;
4 4
 
5 5
 use Doctrine\ORM\EntityManager;
6
-
7 6
 use Oro\Bundle\AttachmentBundle\Provider\AttachmentProvider;
8 7
 use Oro\Bundle\EmailBundle\Entity\Provider\EmailThreadProvider;
9 8
 use Oro\Bundle\EmailBundle\Provider\EmailAttachmentProvider;
Please login to merge, or discard this patch.
src/Oro/Bundle/EmailBundle/Tests/Unit/Provider/EmailRendererTest.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -285,7 +285,7 @@
 block discarded – undo
285 285
     }
286 286
 
287 287
     /**
288
-     * @return EmailRenderer|\PHPUnit_Framework_MockObject_MockObject
288
+     * @return string
289 289
      */
290 290
     public function getRendererInstance()
291 291
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Oro\Bundle\EmailBundle\Tests\Unit\Provider;
4 4
 
5 5
 use Symfony\Component\Translation\TranslatorInterface;
6
-
7 6
 use Oro\Bundle\EmailBundle\Entity\EmailTemplate;
8 7
 use Oro\Bundle\EmailBundle\Provider\EmailRenderer;
9 8
 use Oro\Bundle\EmailBundle\Tests\Unit\Fixtures\Entity\TestEntityForVariableProvider;
Please login to merge, or discard this patch.
Oro/Bundle/EmailBundle/Tests/Unit/Tools/EmailAttachmentTransformerTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,9 +3,7 @@
 block discarded – undo
3 3
 namespace Oro\Bundle\EmailBundle\Tests\Unit\Tools;
4 4
 
5 5
 use Gaufrette\Filesystem;
6
-
7 6
 use Knp\Bundle\GaufretteBundle\FilesystemMap;
8
-
9 7
 use Oro\Bundle\EmailBundle\Form\Model\Factory;
10 8
 use Oro\Bundle\EmailBundle\Tools\EmailAttachmentTransformer;
11 9
 
Please login to merge, or discard this patch.
Oro/Bundle/EmailBundle/Tests/Unit/Workflow/Action/SendEmailTemplateTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,9 +3,7 @@
 block discarded – undo
3 3
 namespace Oro\Bundle\EmailBundle\Tests\Unit\Workflow\Action;
4 4
 
5 5
 use Doctrine\Common\Persistence\ObjectManager;
6
-
7 6
 use Symfony\Component\Validator\Validator;
8
-
9 7
 use Oro\Bundle\EmailBundle\Tools\EmailAddressHelper;
10 8
 use Oro\Bundle\EmailBundle\Form\Model\Email;
11 9
 use Oro\Bundle\EmailBundle\Workflow\Action\SendEmail;
Please login to merge, or discard this patch.
src/Oro/Bundle/EmailBundle/Tools/EmailAttachmentTransformer.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,11 +3,8 @@
 block discarded – undo
3 3
 namespace Oro\Bundle\EmailBundle\Tools;
4 4
 
5 5
 use Gaufrette\Filesystem;
6
-
7 6
 use Knp\Bundle\GaufretteBundle\FilesystemMap;
8
-
9 7
 use Symfony\Component\HttpFoundation\File\UploadedFile;
10
-
11 8
 use Oro\Bundle\AttachmentBundle\Entity\Attachment as AttachmentOro;
12 9
 use Oro\Bundle\EmailBundle\Entity\EmailAttachment as AttachmentEntity;
13 10
 use Oro\Bundle\EmailBundle\Entity\EmailAttachmentContent;
Please login to merge, or discard this patch.
src/Oro/Bundle/EmailBundle/Twig/EmailExtension.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,9 +3,7 @@
 block discarded – undo
3 3
 namespace Oro\Bundle\EmailBundle\Twig;
4 4
 
5 5
 use Doctrine\ORM\EntityManager;
6
-
7 6
 use Symfony\Component\Security\Core\Util\ClassUtils;
8
-
9 7
 use Oro\Bundle\EmailBundle\Entity\EmailAttachment;
10 8
 use Oro\Bundle\EmailBundle\Entity\EmailRecipient;
11 9
 use Oro\Bundle\EmailBundle\Entity\EmailThread;
Please login to merge, or discard this patch.
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -145,7 +145,6 @@
 block discarded – undo
145 145
      *
146 146
      * @param EmailAttachment $emailAttachment
147 147
      * @param object $targetEntity
148
-     * @param string $targetClass
149 148
      *
150 149
      * @return bool
151 150
      */
Please login to merge, or discard this patch.
src/Oro/Bundle/EmailBundle/Workflow/Action/SendEmailTemplate.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,11 +4,9 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\Common\Persistence\ObjectManager;
6 6
 use Doctrine\ORM\EntityNotFoundException;
7
-
8 7
 use Symfony\Component\Validator\Validator\ValidatorInterface;
9 8
 use Symfony\Component\Validator\Exception\ValidatorException;
10 9
 use Symfony\Component\Validator\Constraints\Email as EmailConstraints;
11
-
12 10
 use Oro\Bundle\EmailBundle\Tools\EmailAddressHelper;
13 11
 use Oro\Bundle\EmailBundle\Form\Model\Email;
14 12
 use Oro\Bundle\EmailBundle\Mailer\Processor;
Please login to merge, or discard this patch.
src/Oro/Bundle/EmbeddedFormBundle/Manager/EmbeddedFormManager.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
     }
34 34
 
35 35
     /**
36
-     * @param       $type
36
+     * @param       string $type
37 37
      * @param null  $data
38 38
      * @param array $options
39 39
      *
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Symfony\Component\Form\FormInterface;
7 7
 use Symfony\Component\Form\FormFactoryInterface;
8 8
 use Symfony\Component\DependencyInjection\ContainerInterface;
9
-
10 9
 use Oro\Bundle\EmbeddedFormBundle\Form\Type\EmbeddedFormInterface;
11 10
 use Oro\Bundle\EmbeddedFormBundle\Form\Type\CustomLayoutFormInterface;
12 11
 use Oro\Bundle\EmbeddedFormBundle\Form\Type\CustomLayoutFormTypeInterface;
Please login to merge, or discard this patch.