Completed
Push — 1.8 ( b7094f...f1162e )
by
unknown
83:38 queued 61:44
created
src/Oro/Bundle/EmailBundle/Entity/Repository/MailboxRepository.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\Common\Collections\Collection;
6 6
 use Doctrine\ORM\EntityRepository;
7
-
8 7
 use Oro\Bundle\EmailBundle\Entity\Email;
9 8
 use Oro\Bundle\EmailBundle\Entity\EmailOrigin;
10 9
 use Oro\Bundle\EmailBundle\Entity\Mailbox;
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
      * If no organization is provided, does not filter by it (useful when looking for mailboxes across organizations).
74 74
      *
75 75
      * @param User|integer $user User or user id
76
-     * @param Organization|integer|null $organization
76
+     * @param Organization $organization
77 77
      *
78 78
      * @return \Doctrine\ORM\QueryBuilder
79 79
      */
Please login to merge, or discard this patch.
src/Oro/Bundle/EmailBundle/EventListener/AutoResponseListener.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\EventListener;
4 4
 
5 5
 use Doctrine\ORM\Event\PostFlushEventArgs;
6
-
7 6
 use JMS\JobQueueBundle\Entity\Job;
8
-
9 7
 use Oro\Bundle\EmailBundle\Command\AutoResponseCommand;
10 8
 use Oro\Bundle\EmailBundle\Entity\EmailBody;
11 9
 use Oro\Bundle\EmailBundle\Entity\EmailUser;
Please login to merge, or discard this patch.
src/Oro/Bundle/EmailBundle/EventListener/Datagrid/MailboxGridListener.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\Bundle\DoctrineBundle\Registry;
6 6
 use Doctrine\ORM\EntityManager;
7
-
8 7
 use Oro\Bundle\DataGridBundle\Datasource\Orm\OrmDatasource;
9 8
 use Oro\Bundle\DataGridBundle\Event\BuildAfter;
10 9
 use Oro\Bundle\DataGridBundle\Event\PreBuild;
Please login to merge, or discard this patch.
src/Oro/Bundle/EmailBundle/EventListener/EmailBodyAddListener.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\Common\Util\ClassUtils;
6 6
 use Doctrine\ORM\EntityManager;
7
-
8 7
 use Oro\Bundle\ActivityListBundle\Provider\ActivityListChainProvider;
9 8
 use Oro\Bundle\AttachmentBundle\EntityConfig\AttachmentScope;
10 9
 use Oro\Bundle\EmailBundle\Event\EmailBodyAdded;
Please login to merge, or discard this patch.
src/Oro/Bundle/EmailBundle/EventListener/EmailUserListener.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@
 block discarded – undo
141 141
      * Collect updated EmailUser entities
142 142
      *
143 143
      * @param $entities
144
-     * @param $uow - UnitOfWork
144
+     * @param \Doctrine\ORM\UnitOfWork $uow - UnitOfWork
145 145
      */
146 146
     protected function collectUpdatedEmailUserEntities($entities, $uow)
147 147
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,6 @@
 block discarded – undo
3 3
 namespace Oro\Bundle\EmailBundle\EventListener;
4 4
 
5 5
 use Doctrine\ORM\Event\OnFlushEventArgs;
6
-use Doctrine\ORM\Event\PostFlushEventArgs;
7
-
8 6
 use Oro\Bundle\EmailBundle\Model\WebSocket\WebSocketSendProcessor;
9 7
 use Oro\Bundle\EmailBundle\Entity\EmailUser;
10 8
 
Please login to merge, or discard this patch.
src/Oro/Bundle/EmailBundle/EventListener/MailboxEmailListener.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\ORM\EntityManager;
6 6
 use Doctrine\ORM\Event\OnFlushEventArgs;
7
-
8 7
 use Oro\Bundle\EmailBundle\Entity\Email;
9 8
 use Oro\Bundle\EmailBundle\Entity\EmailBody;
10 9
 use Oro\Bundle\EmailBundle\Entity\EmailUser;
Please login to merge, or discard this patch.
src/Oro/Bundle/EmailBundle/EventListener/MailboxProcessTriggerListener.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Doctrine\Bundle\DoctrineBundle\Registry;
6 6
 use Doctrine\ORM\EntityRepository;
7 7
 use Doctrine\ORM\Event\PostFlushEventArgs;
8
-
9 8
 use Oro\Bundle\EmailBundle\Entity\EmailBody;
10 9
 use Oro\Bundle\EntityConfigBundle\DependencyInjection\Utils\ServiceLink;
11 10
 use Oro\Bundle\WorkflowBundle\Entity\ProcessTrigger;
Please login to merge, or discard this patch.
src/Oro/Bundle/EmailBundle/Filter/ChoiceOriginFolderFilter.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,10 +3,8 @@
 block discarded – undo
3 3
 namespace Oro\Bundle\EmailBundle\Filter;
4 4
 
5 5
 use Oro\Bundle\FilterBundle\Filter\ChoiceFilter;
6
-
7 6
 use Symfony\Component\Form\FormView;
8 7
 use Symfony\Component\Form\FormInterface;
9
-
10 8
 use Oro\Bundle\EmailBundle\Form\Type\Filter\ChoiceOriginFolderFilterType;
11 9
 use Oro\Bundle\FilterBundle\Filter\FilterUtility;
12 10
 
Please login to merge, or discard this patch.
src/Oro/Bundle/EmailBundle/Form/Extension/MailboxUnboudRulesExtension.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -5,12 +5,10 @@
 block discarded – undo
5 5
 use Doctrine\Bundle\DoctrineBundle\Registry;
6 6
 use Doctrine\Common\Collections\ArrayCollection;
7 7
 use Doctrine\ORM\EntityManager;
8
-
9 8
 use Symfony\Component\Form\AbstractTypeExtension;
10 9
 use Symfony\Component\Form\FormBuilderInterface;
11 10
 use Symfony\Component\Form\FormEvent;
12 11
 use Symfony\Component\Form\FormEvents;
13
-
14 12
 use Oro\Bundle\FormBundle\Form\DataTransformer\ArrayToStringTransformer;
15 13
 use Oro\Bundle\FormBundle\Form\DataTransformer\EntitiesToIdsTransformer;
16 14
 
Please login to merge, or discard this patch.