Completed
Push — 1.8 ( b7094f...f1162e )
by
unknown
83:38 queued 61:44
created
FormBundle/Tests/Unit/Form/DataTransformer/EntitiesToIdsTransformerTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 use Doctrine\ORM\Mapping\MappingException;
9 9
 use Doctrine\ORM\QueryBuilder;
10 10
 use Doctrine\ORM\AbstractQuery;
11
-
12 11
 use Oro\Bundle\FormBundle\Form\DataTransformer\EntitiesToIdsTransformer;
13 12
 
14 13
 class EntitiesToIdsTransformerTest extends \PHPUnit_Framework_TestCase
Please login to merge, or discard this patch.
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.
Oro/Bundle/FormBundle/Tests/Unit/Form/Extension/DataBlockExtensionTest.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 Oro\Bundle\FormBundle\Form\Extension\DataBlockExtension;
6 6
 use Symfony\Component\OptionsResolver\OptionsResolver;
7
-
8 7
 use Symfony\Component\Form\FormView;
9 8
 
10 9
 class DataBlockExtensionTest extends \PHPUnit_Framework_TestCase
Please login to merge, or discard this patch.
Bundle/FormBundle/Tests/Unit/Form/Extension/JsValidationExtensionTest.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 Symfony\Component\Form\FormView;
6 6
 use Symfony\Component\Form\FormInterface;
7 7
 use Symfony\Component\Validator\Constraints;
8
-
9 8
 use Oro\Bundle\FormBundle\Form\Extension\JsValidationExtension;
10 9
 
11 10
 class JsValidationExtensionTest extends \PHPUnit_Framework_TestCase
Please login to merge, or discard this patch.
src/Oro/Bundle/FormBundle/Tests/Unit/Form/Type/EntityChangesetTypeTest.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\FormBundle\Tests\Unit\Form\Type;
4 4
 
5 5
 use Doctrine\Common\Collections\ArrayCollection;
6
-
7 6
 use Symfony\Component\Form\Test\FormIntegrationTestCase;
8 7
 use Symfony\Component\OptionsResolver\OptionsResolverInterface;
9
-
10 8
 use Oro\Bundle\EntityBundle\ORM\DoctrineHelper;
11 9
 use Oro\Bundle\FormBundle\Form\Type\EntityChangesetType;
12 10
 
Please login to merge, or discard this patch.
src/Oro/Bundle/FormBundle/Tests/Unit/Form/Type/EntityIdentifierTypeTest.php 2 patches
Doc Comments   +2 added lines, -2 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
     {
Please login to merge, or discard this patch.
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.
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.
Oro/Bundle/FormBundle/Tests/Unit/Form/Type/OroEncodedPasswordTypeTest.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 Symfony\Component\Form\Test\FormIntegrationTestCase;
6
-
7 6
 use Oro\Bundle\FormBundle\Form\Type\OroEncodedPasswordType;
8 7
 use Oro\Bundle\SecurityBundle\Encoder\Mcrypt;
9 8
 
Please login to merge, or discard this patch.
Bundle/FormBundle/Tests/Unit/Form/Type/OroJquerySelect2HiddenTypeTest.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -362,7 +362,7 @@  discard block
 block discarded – undo
362 362
      * Create mock entity by id property name and value
363 363
      *
364 364
      * @param string $property
365
-     * @param mixed  $value
365
+     * @param integer  $value
366 366
      *
367 367
      * @return \PHPUnit_Framework_MockObject_MockObject
368 368
      */
@@ -440,7 +440,7 @@  discard block
 block discarded – undo
440 440
     }
441 441
 
442 442
     /**
443
-     * @return \PHPUnit_Framework_MockObject_MockObject
443
+     * @return OroJquerySelect2HiddenType
444 444
      */
445 445
     public function getMockFormType()
446 446
     {
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\FormBundle\Tests\Unit\Form\Type;
4 4
 
5 5
 use Doctrine\ORM\EntityManager;
6
-
7 6
 use Symfony\Component\Form\Test\FormIntegrationTestCase;
8
-
9 7
 use Oro\Bundle\EntityConfigBundle\Provider\ConfigProvider;
10 8
 use Oro\Bundle\FormBundle\Autocomplete\ConverterInterface;
11 9
 use Oro\Bundle\FormBundle\Autocomplete\SearchHandlerInterface;
Please login to merge, or discard this patch.