@@ -8,7 +8,6 @@ |
||
8 | 8 | use Doctrine\DBAL\Schema\Schema; |
9 | 9 | use Doctrine\ORM\EntityManagerInterface; |
10 | 10 | use Doctrine\DBAL\Platforms\MySqlPlatform; |
11 | - |
|
12 | 11 | use Oro\Bundle\EntityExtendBundle\Tools\SaveSchemaTool; |
13 | 12 | |
14 | 13 | class SaveSchemaToolTest extends \PHPUnit_Framework_TestCase |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Oro\Bundle\EntityExtendBundle\Tests\Unit\Twig; |
4 | 4 | |
5 | 5 | use Symfony\Component\EventDispatcher\EventDispatcherInterface; |
6 | - |
|
7 | 6 | use Oro\Bundle\EntityConfigBundle\Config\ConfigInterface; |
8 | 7 | use Oro\Bundle\EntityConfigBundle\Config\ConfigManager; |
9 | 8 | use Oro\Bundle\EntityConfigBundle\Config\Id\FieldConfigId; |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Oro\Bundle\EntityExtendBundle\Tools; |
4 | 4 | |
5 | 5 | use Doctrine\Common\Inflector\Inflector; |
6 | - |
|
7 | 6 | use Oro\Bundle\EntityConfigBundle\Config\ConfigInterface; |
8 | 7 | use Oro\Bundle\EntityConfigBundle\Config\Id\FieldConfigId; |
9 | 8 | use Oro\Bundle\EntityExtendBundle\EntityConfig\ExtendScope; |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Symfony\Component\Validator\Constraint; |
6 | 6 | use Symfony\Component\Validator\ConstraintValidator; |
7 | - |
|
8 | 7 | use Oro\Bundle\UIBundle\Tools\ArrayUtils; |
9 | 8 | |
10 | 9 | class UniqueKeysValidator extends ConstraintValidator |
@@ -3,15 +3,11 @@ |
||
3 | 3 | namespace Oro\Bundle\EntityMergeBundle\Controller; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManager; |
6 | - |
|
7 | 6 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
8 | 7 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
9 | - |
|
10 | 8 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
11 | -use Symfony\Component\Validator\Constraint; |
|
12 | 9 | use Symfony\Component\Validator\ConstraintViolation; |
13 | 10 | use Symfony\Component\Validator\ValidatorInterface; |
14 | - |
|
15 | 11 | use Oro\Bundle\EntityMergeBundle\Exception\ValidationException; |
16 | 12 | use Oro\Bundle\DataGridBundle\Extension\MassAction\MassActionDispatcher; |
17 | 13 | use Oro\Bundle\EntityMergeBundle\Data\EntityData; |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Oro\Bundle\EntityMergeBundle\DataGrid\Extension\MassAction; |
4 | 4 | |
5 | 5 | use Symfony\Component\Translation\TranslatorInterface; |
6 | - |
|
7 | 6 | use Oro\Bundle\DataGridBundle\Extension\Action\ActionConfiguration; |
8 | 7 | use Oro\Bundle\DataGridBundle\Extension\MassAction\Actions\AbstractMassAction; |
9 | 8 | use Oro\Bundle\EntityMergeBundle\Metadata\MetadataRegistry; |
@@ -6,9 +6,7 @@ |
||
6 | 6 | use Doctrine\ORM\EntityRepository; |
7 | 7 | use Doctrine\ORM\Mapping\ClassMetadata; |
8 | 8 | use Doctrine\Common\Util\ClassUtils as DoctrineClassUtils; |
9 | - |
|
10 | 9 | use Symfony\Component\Security\Core\Util\ClassUtils; |
11 | - |
|
12 | 10 | use Oro\Bundle\EntityMergeBundle\Exception\InvalidArgumentException; |
13 | 11 | |
14 | 12 | class DoctrineHelper |
@@ -15,7 +15,7 @@ discard block |
||
15 | 15 | protected $propertyAccessor; |
16 | 16 | |
17 | 17 | /** |
18 | - * @return PropertyAccessor |
|
18 | + * @return string |
|
19 | 19 | */ |
20 | 20 | public function getName() |
21 | 21 | { |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | * |
28 | 28 | * @param string $entity |
29 | 29 | * @param FieldMetadata $metadata |
30 | - * @return string |
|
30 | + * @return boolean |
|
31 | 31 | */ |
32 | 32 | public function supports($entity, FieldMetadata $metadata) |
33 | 33 | { |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Symfony\Component\PropertyAccess\PropertyAccess; |
6 | 6 | use Symfony\Component\PropertyAccess\PropertyAccessor; |
7 | - |
|
8 | 7 | use Oro\Bundle\EntityMergeBundle\Metadata\FieldMetadata; |
9 | 8 | |
10 | 9 | class DefaultAccessor implements AccessorInterface |
@@ -65,7 +65,7 @@ |
||
65 | 65 | * |
66 | 66 | * @param string $entity |
67 | 67 | * @param FieldMetadata $metadata |
68 | - * @return string |
|
68 | + * @return boolean |
|
69 | 69 | */ |
70 | 70 | public function supports($entity, FieldMetadata $metadata) |
71 | 71 | { |