Completed
Push — 1.8 ( b7094f...f1162e )
by
unknown
83:38 queued 61:44
created
src/Oro/Bundle/EmailBundle/Provider/MailboxEntityNameProvider.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\Provider;
4 4
 
5 5
 use Symfony\Bundle\FrameworkBundle\Translation\Translator;
6
-
7 6
 use Oro\Bundle\EmailBundle\Entity\Mailbox;
8 7
 use Oro\Bundle\EntityBundle\Provider\EntityNameProviderInterface;
9 8
 
Please login to merge, or discard this patch.
src/Oro/Bundle/EmailBundle/Provider/RecentEmailRecipientsProvider.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
     }
98 98
 
99 99
     /**
100
-     * @param object|null $owner
100
+     * @param \Oro\Bundle\EmailBundle\Entity\EmailOwnerInterface|null $owner
101 101
      *
102 102
      * @return RecipientEntity|null
103 103
      */
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\Bundle\DoctrineBundle\Registry;
6 6
 use Doctrine\Common\Util\ClassUtils;
7
-
8 7
 use Oro\Bundle\EmailBundle\Entity\Provider\EmailOwnerProvider;
9 8
 use Oro\Bundle\EmailBundle\Entity\Repository\EmailRecipientRepository;
10 9
 use Oro\Bundle\EmailBundle\Model\EmailRecipientsProviderArgs;
Please login to merge, or discard this patch.
src/Oro/Bundle/EmailBundle/Provider/SystemVariablesProvider.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\Provider;
4 4
 
5 5
 use Symfony\Component\Translation\TranslatorInterface;
6
-
7 6
 use Oro\Bundle\ConfigBundle\Config\ConfigManager;
8 7
 use Oro\Bundle\LocaleBundle\Formatter\DateTimeFormatter;
9 8
 
Please login to merge, or discard this patch.
src/Oro/Bundle/EmailBundle/Sync/AbstractEmailSynchronizationProcessor.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -111,8 +111,8 @@  discard block
 block discarded – undo
111 111
 
112 112
     /**
113 113
      * @param EmailHeader $email
114
-     * @param             $folderType
115
-     * @param             $organization
114
+     * @param             string $folderType
115
+     * @param             OrganizationInterface $organization
116 116
      *
117 117
      * @return bool
118 118
      * @throws \Doctrine\ORM\NonUniqueResultException
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
 
293 293
     /**
294 294
      * @param EmailFolder $folder
295
-     * @param array       $messageIds
295
+     * @param string[]       $messageIds
296 296
      * @return EmailUser[]
297 297
      */
298 298
     protected function getExistingEmailUsers(EmailFolder $folder, array $messageIds)
@@ -356,7 +356,7 @@  discard block
 block discarded – undo
356 356
     }
357 357
 
358 358
     /**
359
-     * @return array
359
+     * @return string[]
360 360
      */
361 361
     protected function entitiesToClear()
362 362
     {
Please login to merge, or discard this 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\Sync;
4 4
 
5 5
 use Doctrine\ORM\EntityManager;
6
-use Doctrine\ORM\Query;
7
-
8 6
 use Psr\Log\LoggerAwareInterface;
9 7
 use Psr\Log\LoggerAwareTrait;
10
-
11 8
 use Oro\Bundle\EmailBundle\Builder\EmailEntityBuilder;
12 9
 use Oro\Bundle\EmailBundle\Entity\EmailFolder;
13 10
 use Oro\Bundle\EmailBundle\Entity\EmailOrigin;
Please login to merge, or discard this patch.
src/Oro/Bundle/EmailBundle/Sync/AbstractEmailSynchronizer.php 2 patches
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -4,16 +4,11 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\Common\Persistence\ManagerRegistry;
6 6
 use Doctrine\ORM\EntityManager;
7
-use Doctrine\ORM\Query;
8
-use Doctrine\ORM\Query\Expr;
9
-
10 7
 use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage;
11 8
 use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
12
-
13 9
 use Psr\Log\LoggerAwareInterface;
14 10
 use Psr\Log\LoggerAwareTrait;
15 11
 use Psr\Log\NullLogger;
16
-
17 12
 use Oro\Bundle\EmailBundle\Entity\EmailOrigin;
18 13
 use Oro\Bundle\EmailBundle\Exception\SyncFolderTimeoutException;
19 14
 use Oro\Bundle\OrganizationBundle\Entity\Organization;
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -313,7 +313,7 @@
 block discarded – undo
313 313
     /**
314 314
      * Creates a processor is used to synchronize emails
315 315
      *
316
-     * @param object $origin An instance of class implementing EmailOrigin entity
316
+     * @param EmailOrigin $origin An instance of class implementing EmailOrigin entity
317 317
      * @return AbstractEmailSynchronizationProcessor
318 318
      */
319 319
     abstract protected function createSynchronizationProcessor($origin);
Please login to merge, or discard this patch.
src/Oro/Bundle/EmailBundle/Sync/KnownEmailAddressChecker.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\Sync;
4 4
 
5 5
 use Doctrine\ORM\EntityManager;
6
-use Doctrine\ORM\Query;
7
-
8 6
 use Psr\Log\LoggerAwareInterface;
9 7
 use Psr\Log\LoggerAwareTrait;
10
-
11 8
 use Oro\Bundle\EmailBundle\Entity\Provider\EmailOwnerProviderStorage;
12 9
 use Oro\Bundle\EmailBundle\Entity\Manager\EmailAddressManager;
13 10
 use Oro\Bundle\EmailBundle\Tools\EmailAddressHelper;
Please login to merge, or discard this patch.
src/Oro/Bundle/EmailBundle/Tests/Functional/ControllersTest.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\Functional;
4 4
 
5 5
 use Doctrine\Bundle\DoctrineBundle\Registry;
6
-
7 6
 use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase;
8 7
 
9 8
 /**
Please login to merge, or discard this patch.
Bundle/EmailBundle/Tests/Functional/DataFixtures/LoadEmailActivityData.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -95,9 +95,9 @@
 block discarded – undo
95 95
      * @param string               $subject
96 96
      * @param string               $messageId
97 97
      * @param string               $from
98
-     * @param string|string[]      $to
99
-     * @param string|string[]|null $cc
100
-     * @param string|string[]|null $bcc
98
+     * @param string      $to
99
+     * @param string $cc
100
+     * @param string $bcc
101 101
      *
102 102
      * @return Email
103 103
      */
Please login to merge, or discard this 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\DependentFixtureInterface;
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 Oro\Bundle\EmailBundle\Entity\Email;
14 12
 use Oro\Bundle\EmailBundle\Model\FolderType;
15 13
 use Oro\Bundle\EmailBundle\Builder\EmailEntityBuilder;
Please login to merge, or discard this patch.
EmailBundle/Tests/Functional/DataFixtures/LoadEmailSuggestionData.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\DataFixtures\DependentFixtureInterface;
7 7
 use Doctrine\Common\Persistence\ObjectManager;
8 8
 use Doctrine\ORM\EntityManager;
9
-
10 9
 use Oro\Bundle\OrganizationBundle\Entity\Organization;
11 10
 use Oro\Bundle\UserBundle\Entity\User;
12 11
 use Oro\Bundle\UserBundle\Entity\Email;
Please login to merge, or discard this patch.