Completed
Push — 1.9 ( fa6699 )
by
unknown
301:30 queued 254:09
created
src/Oro/Bundle/EmailBundle/Tests/Selenium/Pages/Email.php 1 patch
Doc Comments   +7 added lines, -3 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
 class Email extends AbstractPageEntity
15 15
 {
16 16
     /**
17
-     * @param $subject
17
+     * @param string $subject
18 18
      * @return $this
19 19
      */
20 20
     public function setSubject($subject)
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
     }
25 25
 
26 26
     /**
27
-     * @param $sendTo
27
+     * @param string $sendTo
28 28
      * @return $this
29 29
      */
30 30
     public function setTo($sendTo)
@@ -44,12 +44,16 @@  discard block
 block discarded – undo
44 44
     }
45 45
 
46 46
     /**
47
-     * @param $content string
47
+     * @param string $content string
48 48
      * @return $this
49 49
      */
50 50
     public function setBody($content)
51 51
     {
52 52
         $this->test->waitUntil(
53
+
54
+            /**
55
+             * @param string $testCase
56
+             */
53 57
             function (\PHPUnit_Extensions_Selenium2TestCase $testCase) {
54 58
                 return $testCase->execute(
55 59
                     [
Please login to merge, or discard this patch.
EmailBundle/Tests/Unit/Builder/Helper/EmailModelBuilderHelperTest.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -366,7 +366,6 @@
 block discarded – undo
366 366
 
367 367
     /**
368 368
      * @param object $user
369
-     * @param mixed  $expected
370 369
      *
371 370
      * @dataProvider getUserProvider
372 371
      */
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,9 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\Common\EventManager;
6 6
 use Doctrine\DBAL\Driver\Connection;
7
-
8 7
 use Symfony\Component\Filesystem\Filesystem;
9
-
10 8
 use Oro\Component\TestUtils\ORM\Mocks\DriverMock;
11 9
 use Oro\Component\TestUtils\ORM\Mocks\EntityManagerMock;
12 10
 
Please login to merge, or discard this patch.
Bundle/EmailBundle/Tests/Unit/Entity/Manager/EmailActivityManagerTest.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -236,7 +236,7 @@  discard block
 block discarded – undo
236 236
      * @param integer $id
237 237
      * @param integer $thread
238 238
 
239
-     * @return Email|\PHPUnit_Framework_MockObject_MockObject
239
+     * @return Email
240 240
      */
241 241
     protected function getEmailEntity($id = null, $thread = null)
242 242
     {
@@ -262,7 +262,7 @@  discard block
 block discarded – undo
262 262
 
263 263
     /**
264 264
      * @param Email       $email
265
-     * @param object|null $owner
265
+     * @param TestUser $owner
266 266
      */
267 267
     protected function addEmailSender(Email $email, $owner = null)
268 268
     {
@@ -274,7 +274,7 @@  discard block
 block discarded – undo
274 274
 
275 275
     /**
276 276
      * @param Email       $email
277
-     * @param object|null $owner
277
+     * @param TestUser|null $owner
278 278
      */
279 279
     protected function addEmailRecipient(Email $email, $owner = null)
280 280
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,9 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\Common\EventManager;
6 6
 use Doctrine\DBAL\Driver\Connection;
7
-
8 7
 use Symfony\Component\Filesystem\Filesystem;
9
-
10 8
 use Oro\Component\TestUtils\ORM\Mocks\DriverMock;
11 9
 use Oro\Component\TestUtils\ORM\Mocks\EntityManagerMock;
12 10
 
Please login to merge, or discard this patch.
src/Oro/Bundle/EmailBundle/Tests/Unit/Fixtures/Entity/TestOrganization.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -6,6 +6,9 @@
 block discarded – undo
6 6
 {
7 7
     protected $id;
8 8
 
9
+    /**
10
+     * @param integer $id
11
+     */
9 12
     public function __construct($id)
10 13
     {
11 14
         return $this->id = $id;
Please login to merge, or discard this patch.
src/Oro/Bundle/EmailBundle/Tests/Unit/Fixtures/Entity/TestUser.php 2 patches
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -21,6 +21,11 @@  discard block
 block discarded – undo
21 21
 
22 22
     private $organization;
23 23
 
24
+    /**
25
+     * @param string $firstName
26
+     * @param string $lastName
27
+     * @param TestOrganization $organization
28
+     */
24 29
     public function __construct($email = null, $firstName = null, $lastName = null, $organization = null)
25 30
     {
26 31
         $this->email = $email;
@@ -67,6 +72,9 @@  discard block
 block discarded – undo
67 72
         return $this->id;
68 73
     }
69 74
 
75
+    /**
76
+     * @param integer $id
77
+     */
70 78
     public function setId($id)
71 79
     {
72 80
         $this->id = $id;
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\Component\PropertyAccess\Tests\Unit;
4 4
 
5 5
 use Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException;
6
-
7 6
 use Oro\Component\PropertyAccess\PropertyAccessor;
8 7
 use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClass;
9 8
 use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClassMagicCall;
Please login to merge, or discard this patch.
src/Oro/Bundle/EmailBundle/Tests/Unit/Form/Type/EmailTypeTest.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
 
70 70
     /**
71 71
      * @SuppressWarnings(PHPMD.ExcessiveMethodLength)
72
-     * @return array
72
+     * @return PreloadedExtension[]
73 73
      */
74 74
     protected function getExtensions()
75 75
     {
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -4,16 +4,13 @@
 block discarded – undo
4 4
 
5 5
 use Oro\Bundle\WorkflowBundle\Model\ContextAccessor;
6 6
 use Symfony\Component\Form\Test\FormIntegrationTestCase;
7
-
8 7
 use Oro\Bundle\WorkflowBundle\Form\EventListener\DefaultValuesListener;
9 8
 use Oro\Bundle\WorkflowBundle\Form\EventListener\InitActionsListener;
10 9
 use Oro\Bundle\WorkflowBundle\Form\EventListener\RequiredAttributesListener;
11 10
 use Oro\Bundle\WorkflowBundle\Form\Type\WorkflowAttributesType;
12
-
13 11
 use Oro\Bundle\WorkflowBundle\Entity\WorkflowItem;
14 12
 use Oro\Bundle\WorkflowBundle\Entity\WorkflowStep;
15 13
 use Oro\Bundle\WorkflowBundle\Entity\WorkflowDefinition;
16
-
17 14
 use Oro\Bundle\WorkflowBundle\Model\Step;
18 15
 use Oro\Bundle\WorkflowBundle\Model\Attribute;
19 16
 use Oro\Bundle\WorkflowBundle\Model\WorkflowData;
Please login to merge, or discard this patch.
src/Oro/Bundle/EmailBundle/Tests/Unit/Mailer/ProcessorTest.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -463,7 +463,7 @@
 block discarded – undo
463 463
     }
464 464
 
465 465
     /**
466
-     * @param      $user
466
+     * @param      User $user
467 467
      * @param bool $withOrigin
468 468
      */
469 469
     protected function processWithOwner($user, $withOrigin = false)
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\Component\PropertyAccess\Tests\Unit;
4 4
 
5 5
 use Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException;
6
-
7 6
 use Oro\Component\PropertyAccess\PropertyAccessor;
8 7
 use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClass;
9 8
 use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClassMagicCall;
Please login to merge, or discard this patch.
Oro/Bundle/EmailBundle/Tests/Unit/Manager/EmailAttachmentManagerTest.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -248,6 +248,9 @@
 block discarded – undo
248 248
         return $content;
249 249
     }
250 250
 
251
+    /**
252
+     * @return EmailAttachment
253
+     */
251 254
     protected function getEmailAttachment()
252 255
     {
253 256
         $emailAttachment = $this->getMockBuilder('Oro\Bundle\EmailBundle\Entity\EmailAttachment')
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -4,16 +4,13 @@
 block discarded – undo
4 4
 
5 5
 use Oro\Bundle\WorkflowBundle\Model\ContextAccessor;
6 6
 use Symfony\Component\Form\Test\FormIntegrationTestCase;
7
-
8 7
 use Oro\Bundle\WorkflowBundle\Form\EventListener\DefaultValuesListener;
9 8
 use Oro\Bundle\WorkflowBundle\Form\EventListener\InitActionsListener;
10 9
 use Oro\Bundle\WorkflowBundle\Form\EventListener\RequiredAttributesListener;
11 10
 use Oro\Bundle\WorkflowBundle\Form\Type\WorkflowAttributesType;
12
-
13 11
 use Oro\Bundle\WorkflowBundle\Entity\WorkflowItem;
14 12
 use Oro\Bundle\WorkflowBundle\Entity\WorkflowStep;
15 13
 use Oro\Bundle\WorkflowBundle\Entity\WorkflowDefinition;
16
-
17 14
 use Oro\Bundle\WorkflowBundle\Model\Step;
18 15
 use Oro\Bundle\WorkflowBundle\Model\Attribute;
19 16
 use Oro\Bundle\WorkflowBundle\Model\WorkflowData;
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\Component\PropertyAccess\Tests\Unit;
4 4
 
5 5
 use Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException;
6
-
7 6
 use Oro\Component\PropertyAccess\PropertyAccessor;
8 7
 use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClass;
9 8
 use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClassMagicCall;
Please login to merge, or discard this patch.