Completed
Pull Request — master (#352)
by php-br
61:36
created
Bundle/EmailBundle/Entity/Manager/EmailActivityEntityApiEntityManager.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -5,9 +5,7 @@
 block discarded – undo
5 5
 use Doctrine\Common\Persistence\ObjectManager;
6 6
 use Doctrine\Common\Util\ClassUtils;
7 7
 use Doctrine\ORM\QueryBuilder;
8
-
9 8
 use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
10
-
11 9
 use Oro\Bundle\ActivityBundle\Manager\ActivityManager;
12 10
 use Oro\Bundle\EntityBundle\ORM\QueryUtils;
13 11
 use Oro\Bundle\SoapBundle\Entity\Manager\ApiEntityManager;
Please login to merge, or discard this patch.
src/Oro/Bundle/EmailBundle/Entity/Manager/EmailActivityManager.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -5,9 +5,7 @@  discard block
 block discarded – undo
5 5
 use Doctrine\ORM\EntityManager;
6 6
 use Doctrine\ORM\Event\OnFlushEventArgs;
7 7
 use Doctrine\ORM\Event\PostFlushEventArgs;
8
-
9 8
 use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage;
10
-
11 9
 use Oro\Bundle\ActivityBundle\Manager\ActivityManager;
12 10
 use Oro\Bundle\ActivityBundle\Model\ActivityInterface;
13 11
 use Oro\Bundle\EmailBundle\Entity\Email;
@@ -15,7 +13,6 @@  discard block
 block discarded – undo
15 13
 use Oro\Bundle\EmailBundle\Provider\EmailActivityListProvider;
16 14
 use Oro\Bundle\EntityConfigBundle\DependencyInjection\Utils\ServiceLink;
17 15
 use Oro\Bundle\SecurityBundle\Authentication\Token\OrganizationContextTokenInterface;
18
-use Oro\Bundle\SecurityBundle\Owner\EntityOwnerAccessor;
19 16
 
20 17
 /**
21 18
  * @SuppressWarnings(PHPMD.ExcessiveClassComplexity)
Please login to merge, or discard this patch.
EmailBundle/Entity/Manager/EmailActivitySuggestionApiEntityManager.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -11,6 +11,7 @@
 block discarded – undo
11 11
 {
12 12
     /**
13 13
      * {@inheritdoc}
14
+     * @param integer $id
14 15
      */
15 16
     public function find($id)
16 17
     {
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 Oro\Bundle\EmailBundle\Entity\Manager;
4 4
 
5 5
 use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
6
-
7 6
 use Oro\Bundle\EmailBundle\Entity\Email;
8
-use Oro\Bundle\SearchBundle\Query\Result as SearchResult;
9 7
 
10 8
 class EmailActivitySuggestionApiEntityManager extends EmailActivitySearchApiEntityManager
11 9
 {
Please login to merge, or discard this patch.
src/Oro/Bundle/EmailBundle/Entity/Manager/EmailApiEntityManager.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\Entity\Manager;
4 4
 
5 5
 use Doctrine\Common\Persistence\ObjectManager;
6
-
7 6
 use Oro\Bundle\EmailBundle\Entity\EmailAttachment;
8 7
 use Oro\Bundle\EmailBundle\Entity\Repository\EmailAttachmentRepository;
9 8
 use Oro\Bundle\SoapBundle\Entity\Manager\ApiEntityManager;
Please login to merge, or discard this patch.
src/Oro/Bundle/EmailBundle/Entity/Manager/EmailManager.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\Entity\Manager;
4 4
 
5 5
 use Doctrine\ORM\EntityManager;
6
-
7 6
 use Oro\Bundle\EmailBundle\Entity\Email;
8 7
 use Oro\Bundle\EmailBundle\Entity\EmailUser;
9 8
 use Oro\Bundle\EmailBundle\Entity\Provider\EmailThreadProvider;
Please login to merge, or discard this patch.
src/Oro/Bundle/EmailBundle/Entity/Provider/EmailThreadProvider.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Doctrine\Common\Collections\Criteria;
7 7
 use Doctrine\ORM\EntityManager;
8 8
 use Doctrine\ORM\QueryBuilder;
9
-
10 9
 use Oro\Bundle\EmailBundle\Entity\Email;
11 10
 use Oro\Bundle\EmailBundle\Entity\EmailThread;
12 11
 
Please login to merge, or discard this patch.
src/Oro/Bundle/EmailBundle/Entity/Repository/EmailRecipientRepository.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
     }
43 43
 
44 44
     /**
45
-     * @param array $senderEmails
45
+     * @param integer[] $senderEmails
46 46
      * @param array $excludedEmails
47 47
      * @param string|null $query
48 48
      *
Please login to merge, or discard this 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\EntityRepository;
6 6
 use Doctrine\ORM\QueryBuilder;
7
-
8 7
 use Oro\Bundle\EmailBundle\Entity\EmailRecipient;
9 8
 use Oro\Bundle\EmailBundle\Entity\EmailThread;
10 9
 
Please login to merge, or discard this patch.
src/Oro/Bundle/EmailBundle/Entity/Repository/EmailRepository.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\Collections\Criteria;
6 6
 use Doctrine\ORM\EntityRepository;
7
-
8 7
 use Oro\Bundle\EmailBundle\Entity\Email;
9 8
 use Oro\Bundle\OrganizationBundle\Entity\Organization;
10 9
 use Oro\Bundle\UserBundle\Entity\User;
Please login to merge, or discard this patch.
src/Oro/Bundle/EmailBundle/Entity/Repository/EmailUserRepository.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@
 block discarded – undo
127 127
      *
128 128
      * @param User         $user
129 129
      * @param Organization $organization
130
-     * @return mixed
130
+     * @return QueryBuilder
131 131
      */
132 132
     public function findUnseenUserEmail(User $user, Organization $organization, $ids = [])
133 133
     {
Please login to merge, or discard this 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\EntityRepository;
6 6
 use Doctrine\ORM\QueryBuilder;
7
-
8 7
 use Oro\Bundle\EmailBundle\Entity\Email;
9 8
 use Oro\Bundle\EmailBundle\Entity\EmailFolder;
10 9
 use Oro\Bundle\EmailBundle\Entity\EmailUser;
Please login to merge, or discard this patch.