@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Common\Annotations\AnnotationReader; |
6 | 6 | use Doctrine\ORM\Mapping\Driver\AnnotationDriver; |
7 | - |
|
8 | 7 | use Oro\Bundle\EntityExtendBundle\Filter\DictionaryFilter; |
9 | 8 | use Oro\Bundle\EntityExtendBundle\Form\Type\DictionaryFilterType; |
10 | 9 | use Oro\Bundle\EntityExtendBundle\Tests\Unit\Filter\Fixtures\TestEnumValue; |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Common\Annotations\AnnotationReader; |
6 | 6 | use Doctrine\ORM\Mapping\Driver\AnnotationDriver; |
7 | - |
|
8 | 7 | use Oro\Bundle\EntityExtendBundle\Filter\MultiEnumFilter; |
9 | 8 | use Oro\Bundle\EntityExtendBundle\Form\Type\EnumFilterType; |
10 | 9 | use Oro\Bundle\EntityExtendBundle\Tests\Unit\Filter\Fixtures\TestEnumValue; |
@@ -11,7 +11,6 @@ |
||
11 | 11 | use Symfony\Component\Validator\Mapping\ClassMetadataFactory; |
12 | 12 | use Symfony\Component\Validator\Mapping\Loader\LoaderChain; |
13 | 13 | use Symfony\Component\Validator\Validator; |
14 | - |
|
15 | 14 | use Oro\Bundle\EntityConfigBundle\Config\Config; |
16 | 15 | use Oro\Bundle\EntityConfigBundle\Config\Id\EntityConfigId; |
17 | 16 | use Oro\Bundle\EntityConfigBundle\Form\Extension\ConfigExtension; |
@@ -10,7 +10,6 @@ |
||
10 | 10 | use Symfony\Component\Validator\Mapping\ClassMetadataFactory; |
11 | 11 | use Symfony\Component\Validator\Mapping\Loader\LoaderChain; |
12 | 12 | use Symfony\Component\Validator\Validator; |
13 | - |
|
14 | 13 | use Oro\Bundle\EntityExtendBundle\Tools\ExtendDbIdentifierNameGenerator; |
15 | 14 | use Oro\Bundle\EntityConfigBundle\Entity\EntityConfigModel; |
16 | 15 | use Oro\Bundle\EntityExtendBundle\Form\Type\EntityType; |
@@ -10,7 +10,6 @@ |
||
10 | 10 | use Symfony\Component\Validator\Mapping\ClassMetadataFactory; |
11 | 11 | use Symfony\Component\Validator\Mapping\Loader\LoaderChain; |
12 | 12 | use Symfony\Component\Validator\Validator; |
13 | - |
|
14 | 13 | use Oro\Bundle\EntityConfigBundle\Config\Id\FieldConfigId; |
15 | 14 | use Oro\Bundle\EntityExtendBundle\Form\Type\UniqueKeyCollectionType; |
16 | 15 | use Oro\Bundle\FormBundle\Form\Extension\DataBlockExtension; |
@@ -490,6 +490,11 @@ |
||
490 | 490 | ); |
491 | 491 | } |
492 | 492 | |
493 | + /** |
|
494 | + * @param string $className |
|
495 | + * @param string $fieldName |
|
496 | + * @param string $fieldType |
|
497 | + */ |
|
493 | 498 | protected function setExpectationForGetFields($className, $fieldName, $fieldType, array $extendFieldConfig = []) |
494 | 499 | { |
495 | 500 | $extendConfig = new Config(new FieldConfigId('extend', $className, $fieldName, $fieldType)); |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Common\Cache\ArrayCache; |
6 | 6 | use Doctrine\ORM\Mapping\ClassMetadata; |
7 | - |
|
8 | 7 | use Oro\Bundle\EntityExtendBundle\Mapping\ExtendClassMetadataFactory; |
9 | 8 | |
10 | 9 | class ExtendClassMetadataFactoryTest extends \PHPUnit_Framework_TestCase |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Oro\Bundle\EntityExtendBundle\Tests\Unit\Migration\Fixture; |
4 | 4 | |
5 | 5 | use Doctrine\Common\Persistence\ObjectManager; |
6 | - |
|
7 | 6 | use Oro\Bundle\EntityExtendBundle\Migration\Fixture\AbstractEnumFixture; |
8 | 7 | |
9 | 8 | class AbstractEnumFixtureTest extends \PHPUnit_Framework_TestCase |
@@ -7,7 +7,6 @@ |
||
7 | 7 | use Doctrine\DBAL\Schema\Schema; |
8 | 8 | use Doctrine\DBAL\Schema\Table; |
9 | 9 | use Doctrine\DBAL\Types\Type; |
10 | - |
|
11 | 10 | use Oro\Bundle\EntityExtendBundle\EntityConfig\ExtendScope; |
12 | 11 | use Oro\Bundle\EntityExtendBundle\Extend\FieldTypeHelper; |
13 | 12 | use Oro\Bundle\EntityExtendBundle\Migration\ExtendOptionsManager; |