Completed
Push — master ( bc9b71...b8b5e6 )
by
unknown
63:33
created
FormBundle/Tests/Unit/Form/DataTransformer/EntityToIdTransformerTest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -283,7 +283,7 @@  discard block
 block discarded – undo
283 283
     }
284 284
 
285 285
     /**
286
-     * @return EntityManager|\PHPUnit_Framework_MockObject_MockObject
286
+     * @return EntityManager
287 287
      */
288 288
     protected function getMockEntityManager()
289 289
     {
@@ -301,7 +301,7 @@  discard block
 block discarded – undo
301 301
      * Create mock entity by id property name and value
302 302
      *
303 303
      * @param string $property
304
-     * @param mixed $value
304
+     * @param integer $value
305 305
      * @return \PHPUnit_Framework_MockObject_MockObject
306 306
      */
307 307
     private function createMockEntity($property, $value)
Please login to merge, or discard this patch.
src/Oro/Bundle/FormBundle/Tests/Unit/Form/Type/EntityIdentifierTypeTest.php 2 patches
Unused Use Statements   -6 removed lines patch added patch discarded remove patch
@@ -3,14 +3,8 @@
 block discarded – undo
3 3
 namespace Oro\Bundle\FormBundle\Tests\Unit\Form\Type;
4 4
 
5 5
 use Doctrine\Common\Persistence\ManagerRegistry;
6
-use Doctrine\ORM\Mapping\ClassMetadata;
7 6
 use Doctrine\ORM\EntityManager;
8
-use Doctrine\ORM\EntityRepository;
9
-use Doctrine\ORM\QueryBuilder;
10
-use Doctrine\ORM\AbstractQuery;
11
-
12 7
 use Symfony\Component\Form\Test\FormIntegrationTestCase;
13
-
14 8
 use Oro\Bundle\FormBundle\Form\DataTransformer\EntitiesToIdsTransformer;
15 9
 use Oro\Bundle\FormBundle\Form\Type\EntityIdentifierType;
16 10
 
Please login to merge, or discard this patch.
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -349,7 +349,7 @@  discard block
 block discarded – undo
349 349
      * Create list of mocked entities by id property name and values
350 350
      *
351 351
      * @param string $property
352
-     * @param array $values
352
+     * @param integer[] $values
353 353
      * @return \PHPUnit_Framework_MockObject_MockObject[]
354 354
      */
355 355
     private function createMockEntityList($property, array $values)
@@ -407,7 +407,7 @@  discard block
 block discarded – undo
407 407
     }
408 408
 
409 409
     /**
410
-     * @return ManagerRegistry|\PHPUnit_Framework_MockObject_MockObject
410
+     * @return ManagerRegistry
411 411
      */
412 412
     protected function getMockManagerRegistry()
413 413
     {
@@ -434,7 +434,7 @@  discard block
 block discarded – undo
434 434
     }
435 435
 
436 436
     /**
437
-     * @return EntitiesToIdsTransformer|\PHPUnit_Framework_MockObject_MockObject
437
+     * @return \PHPUnit_Framework_MockObject_MockObject
438 438
      */
439 439
     protected function getMockEntitiesToIdsTransformer()
440 440
     {
Please login to merge, or discard this patch.
src/Oro/Bundle/FormBundle/Tests/Unit/Form/Type/OroDateTimeTypeTest.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\FormBundle\Tests\Unit\Form\Type;
4 4
 
5 5
 use Oro\Bundle\FormBundle\Form\Type\OroDateTimeType;
6
-use Oro\Bundle\FormBundle\Form\Type\OroDateType;
7 6
 use Symfony\Component\Form\Extension\Core\Type\DateTimeType;
8 7
 use Symfony\Component\Form\FormView;
9 8
 use Symfony\Component\Form\Test\TypeTestCase;
Please login to merge, or discard this patch.
src/Oro/Bundle/FormBundle/Tests/Unit/Model/UpdateHandlerTest.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     }
77 77
 
78 78
     /**
79
-     * @return object
79
+     * @return \stdClass
80 80
      */
81 81
     protected function getObject()
82 82
     {
@@ -492,7 +492,7 @@  discard block
 block discarded – undo
492 492
 
493 493
     /**
494 494
      * @param \PHPUnit_Framework_MockObject_MockObject|Form $form
495
-     * @param object $entity
495
+     * @param \stdClass $entity
496 496
      * @param string $wid
497 497
      * @return array
498 498
      */
@@ -518,7 +518,7 @@  discard block
 block discarded – undo
518 518
 
519 519
     /**
520 520
      * @param FormInterface $form
521
-     * @param object $entity
521
+     * @param \stdClass $entity
522 522
      */
523 523
     protected function assertProcessEventsTriggered(FormInterface $form, $entity)
524 524
     {
@@ -533,7 +533,7 @@  discard block
 block discarded – undo
533 533
 
534 534
     /**
535 535
      * @param FormInterface $form
536
-     * @param object $entity
536
+     * @param \stdClass $entity
537 537
      */
538 538
     protected function assertProcessAfterEventsTriggered(FormInterface $form, $entity)
539 539
     {
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/FormBundle/Utils/FormUtils.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
      * Appends CSS class(es) to given form view
42 42
      *
43 43
      * @param FormView $view
44
-     * @param string|[]   $cssClass
44
+     * @param string|[]   $cssClasses
45 45
      */
46 46
     public static function appendClass(FormView $view, $cssClasses)
47 47
     {
Please login to merge, or discard this patch.
src/Oro/Bundle/HelpBundle/DependencyInjection/ApplicationConfiguration.php 1 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\HelpBundle\DependencyInjection;
4 4
 
5 5
 use Symfony\Component\Config\Definition\Builder\TreeBuilder;
6
-use Symfony\Component\Config\Definition\ConfigurationInterface;
7
-use Symfony\Component\Config\Definition\Exception\InvalidConfigurationException;
8 6
 
9 7
 class ApplicationConfiguration extends AbstractConfiguration
10 8
 {
Please login to merge, or discard this patch.
src/Oro/Bundle/ImapBundle/Connector/ImapConnector.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@
 block discarded – undo
137 137
     }
138 138
 
139 139
     /**
140
-     * @param null $query
140
+     * @param string $query
141 141
      *
142 142
      * @return mixed
143 143
      */
Please login to merge, or discard this patch.
src/Oro/Bundle/ImapBundle/Connector/Search/AbstractSearchStringManager.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
 
98 98
     /**
99 99
      * @param string $itemName The property name
100
-     * @param mixed $itemValue A constant the property value is compared
100
+     * @param string $itemValue A constant the property value is compared
101 101
      * @param int $match The match type. One of SearchQueryMatch::* values
102 102
      * @return string
103 103
      * @throws \InvalidArgumentException
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
     /**
157 157
      * Returns a string represents the given date in format required for search query criterion.
158 158
      *
159
-     * @param mixed $value
159
+     * @param \DateTime $value
160 160
      * @return string
161 161
      */
162 162
     abstract protected function formatDate($value);
Please login to merge, or discard this patch.
src/Oro/Bundle/ImapBundle/Controller/ConnectionController.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
129 129
     /**
130 130
      * @param int|null $id
131 131
      *
132
-     * @return Organization|null
132
+     * @return null|\Oro\Bundle\OrganizationBundle\Entity\OrganizationInterface
133 133
      */
134 134
     protected function getOrganization($id)
135 135
     {
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.