From d7968dd54fb69cca33e050dcedfd626b5d2d881b Mon Sep 17 00:00:00 2001 From: Lukasz Cybula Date: Wed, 10 Jun 2015 14:04:18 +0200 Subject: [PATCH 1/2] Added deprecation notices about symfony extensions --- .../DataGrid/Column/ColumnTypeExtensionInterface.php | 2 ++ .../DataGrid/Extension/Symfony/ColumnType/Action.php | 4 ++++ .../Symfony/ColumnTypeExtension/ActionColumnExtension.php | 4 ++++ .../Extension/Symfony/ColumnTypeExtension/FormExtension.php | 4 ++++ .../Extension/Symfony/ColumnTypeExtension/RowType.php | 4 ++++ .../Extension/Symfony/DependencyInjectionExtension.php | 4 ++++ .../Extension/Symfony/EventSubscriber/BindRequest.php | 4 ++++ .../Component/DataGrid/Extension/Symfony/FormExtension.php | 4 ++++ .../Component/DataGrid/Extension/Symfony/SymfonyExtension.php | 4 ++++ 9 files changed, 34 insertions(+) diff --git a/lib/FSi/Component/DataGrid/Column/ColumnTypeExtensionInterface.php b/lib/FSi/Component/DataGrid/Column/ColumnTypeExtensionInterface.php index b26aaba..170603d 100644 --- a/lib/FSi/Component/DataGrid/Column/ColumnTypeExtensionInterface.php +++ b/lib/FSi/Component/DataGrid/Column/ColumnTypeExtensionInterface.php @@ -16,6 +16,8 @@ interface ColumnTypeExtensionInterface /** * @param \FSi\Component\DataGrid\DataGridInterface $dataGrid * @return mixed + * + * @deprecated This method is deprecated since 1.2 because it is never called */ public function setDataGrid(DataGridInterface $dataGrid); diff --git a/lib/FSi/Component/DataGrid/Extension/Symfony/ColumnType/Action.php b/lib/FSi/Component/DataGrid/Extension/Symfony/ColumnType/Action.php index 81ee9cb..5999983 100644 --- a/lib/FSi/Component/DataGrid/Extension/Symfony/ColumnType/Action.php +++ b/lib/FSi/Component/DataGrid/Extension/Symfony/ColumnType/Action.php @@ -14,6 +14,10 @@ use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\OptionsResolver\OptionsResolver; +/** + * @deprecated This class is deprecated since version 1.2. Please use fsi/datagrid-bundle and its + * FSi\Bundle\DataGridBundle\DataGrid\Extension\Symfony\ColumnType\Action + */ class Action extends ColumnAbstractType { /** diff --git a/lib/FSi/Component/DataGrid/Extension/Symfony/ColumnTypeExtension/ActionColumnExtension.php b/lib/FSi/Component/DataGrid/Extension/Symfony/ColumnTypeExtension/ActionColumnExtension.php index f52cdbf..6a0128f 100644 --- a/lib/FSi/Component/DataGrid/Extension/Symfony/ColumnTypeExtension/ActionColumnExtension.php +++ b/lib/FSi/Component/DataGrid/Extension/Symfony/ColumnTypeExtension/ActionColumnExtension.php @@ -13,6 +13,10 @@ use FSi\Component\DataGrid\Column\ColumnAbstractTypeExtension; use Symfony\Component\Routing\RouterInterface; +/** + * @deprecated This class is deprecated since version 1.2. Please use fsi/datagrid-bundle and its + * FSi\Bundle\DataGridBundle\DataGrid\Extension\Symfony\ColumnTypeExtension\ActionColumnExtension + */ class ActionColumnExtension extends ColumnAbstractTypeExtension { /** diff --git a/lib/FSi/Component/DataGrid/Extension/Symfony/ColumnTypeExtension/FormExtension.php b/lib/FSi/Component/DataGrid/Extension/Symfony/ColumnTypeExtension/FormExtension.php index a705667..a99f034 100644 --- a/lib/FSi/Component/DataGrid/Extension/Symfony/ColumnTypeExtension/FormExtension.php +++ b/lib/FSi/Component/DataGrid/Extension/Symfony/ColumnTypeExtension/FormExtension.php @@ -17,6 +17,10 @@ use Symfony\Component\Form\FormFactoryInterface; use Symfony\Component\Form\FormInterface; +/** + * @deprecated This class is deprecated since version 1.2. Please use fsi/datagrid-bundle and its + * FSi\Bundle\DataGridBundle\DataGrid\Extension\Symfony\ColumnTypeExtension\FormExtension + */ class FormExtension extends ColumnAbstractTypeExtension { /** diff --git a/lib/FSi/Component/DataGrid/Extension/Symfony/ColumnTypeExtension/RowType.php b/lib/FSi/Component/DataGrid/Extension/Symfony/ColumnTypeExtension/RowType.php index 964e192..e635503 100644 --- a/lib/FSi/Component/DataGrid/Extension/Symfony/ColumnTypeExtension/RowType.php +++ b/lib/FSi/Component/DataGrid/Extension/Symfony/ColumnTypeExtension/RowType.php @@ -12,6 +12,10 @@ use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; +/** + * @deprecated This class is deprecated since version 1.2. Please use fsi/datagrid-bundle and its + * FSi\Bundle\DataGridBundle\Form\Type\RowType + */ class RowType extends AbstractType { /** diff --git a/lib/FSi/Component/DataGrid/Extension/Symfony/DependencyInjectionExtension.php b/lib/FSi/Component/DataGrid/Extension/Symfony/DependencyInjectionExtension.php index 016c3a2..4a1b347 100644 --- a/lib/FSi/Component/DataGrid/Extension/Symfony/DependencyInjectionExtension.php +++ b/lib/FSi/Component/DataGrid/Extension/Symfony/DependencyInjectionExtension.php @@ -12,6 +12,10 @@ use FSi\Component\DataGrid\DataGridAbstractExtension; use Symfony\Component\DependencyInjection\ContainerInterface; +/** + * @deprecated This class is deprecated since version 1.2. Please use fsi/datagrid-bundle and its + * FSi\Bundle\DataGridBundle\DataGrid\Extension\Symfony\DependencyInjectionExtension + */ class DependencyInjectionExtension extends DataGridAbstractExtension { /** diff --git a/lib/FSi/Component/DataGrid/Extension/Symfony/EventSubscriber/BindRequest.php b/lib/FSi/Component/DataGrid/Extension/Symfony/EventSubscriber/BindRequest.php index 43af775..5be41cf 100644 --- a/lib/FSi/Component/DataGrid/Extension/Symfony/EventSubscriber/BindRequest.php +++ b/lib/FSi/Component/DataGrid/Extension/Symfony/EventSubscriber/BindRequest.php @@ -15,6 +15,10 @@ use Symfony\Component\HttpFoundation\Request; use Symfony\Component\EventDispatcher\EventSubscriberInterface; +/** + * @deprecated This class is deprecated since version 1.2. Please use fsi/datagrid-bundle and its + * FSi\Bundle\DataGridBundle\DataGrid\Extension\Symfony\EventSubscriber\BindRequest + */ class BindRequest implements EventSubscriberInterface { /** diff --git a/lib/FSi/Component/DataGrid/Extension/Symfony/FormExtension.php b/lib/FSi/Component/DataGrid/Extension/Symfony/FormExtension.php index 5ab0ff7..3001395 100644 --- a/lib/FSi/Component/DataGrid/Extension/Symfony/FormExtension.php +++ b/lib/FSi/Component/DataGrid/Extension/Symfony/FormExtension.php @@ -12,6 +12,10 @@ use FSi\Component\DataGrid\DataGridAbstractExtension; use Symfony\Component\Form\FormFactoryInterface; +/** + * @deprecated This class is deprecated since version 1.2. Please use fsi/datagrid-bundle and its + * FSi\Bundle\DataGridBundle\DataGrid\Extension\Symfony\FormExtension + */ class FormExtension extends DataGridAbstractExtension { /** diff --git a/lib/FSi/Component/DataGrid/Extension/Symfony/SymfonyExtension.php b/lib/FSi/Component/DataGrid/Extension/Symfony/SymfonyExtension.php index e2f87b1..6fa8ca3 100644 --- a/lib/FSi/Component/DataGrid/Extension/Symfony/SymfonyExtension.php +++ b/lib/FSi/Component/DataGrid/Extension/Symfony/SymfonyExtension.php @@ -14,6 +14,10 @@ use FSi\Component\DataGrid\Extension\Symfony\ColumnType; use Symfony\Component\DependencyInjection\ContainerInterface; +/** + * @deprecated This class is deprecated since version 1.2. Please use fsi/datagrid-bundle and its + * FSi\Bundle\DataGridBundle\DataGrid\Extension\Symfony\RouterExtension + */ class SymfonyExtension extends DataGridAbstractExtension { /** From 1aad2b5ec34a1a8d71196b1ea592aa5fd5a1a4e6 Mon Sep 17 00:00:00 2001 From: Lukasz Cybula Date: Wed, 10 Jun 2015 14:28:07 +0200 Subject: [PATCH 2/2] Flatten directory structure --- composer.json | 6 +++--- lib/{FSi/Component/DataGrid => }/Column/CellView.php | 0 .../Component/DataGrid => }/Column/CellViewInterface.php | 0 .../Component/DataGrid => }/Column/ColumnAbstractType.php | 0 .../DataGrid => }/Column/ColumnAbstractTypeExtension.php | 0 .../DataGrid => }/Column/ColumnTypeExtensionInterface.php | 0 .../Component/DataGrid => }/Column/ColumnTypeInterface.php | 0 lib/{FSi/Component/DataGrid => }/Column/HeaderView.php | 0 .../Component/DataGrid => }/Column/HeaderViewInterface.php | 0 lib/{FSi/Component/DataGrid => }/Data/DataRowset.php | 0 .../Component/DataGrid => }/Data/DataRowsetInterface.php | 0 .../Component/DataGrid => }/Data/EntityIndexingStrategy.php | 0 .../DataGrid => }/Data/IndexingStrategyInterface.php | 0 lib/{FSi/Component/DataGrid => }/DataGrid.php | 0 .../Component/DataGrid => }/DataGridAbstractExtension.php | 0 lib/{FSi/Component/DataGrid => }/DataGridEvent.php | 0 lib/{FSi/Component/DataGrid => }/DataGridEventInterface.php | 0 lib/{FSi/Component/DataGrid => }/DataGridEvents.php | 0 .../Component/DataGrid => }/DataGridExtensionInterface.php | 0 lib/{FSi/Component/DataGrid => }/DataGridFactory.php | 0 .../Component/DataGrid => }/DataGridFactoryInterface.php | 0 lib/{FSi/Component/DataGrid => }/DataGridInterface.php | 0 lib/{FSi/Component/DataGrid => }/DataGridRowView.php | 0 .../Component/DataGrid => }/DataGridRowViewInterface.php | 0 lib/{FSi/Component/DataGrid => }/DataGridView.php | 0 lib/{FSi/Component/DataGrid => }/DataGridViewInterface.php | 0 lib/{FSi/Component/DataGrid => }/DataMapper/ChainMapper.php | 0 .../DataGrid => }/DataMapper/DataMapperInterface.php | 0 .../DataGrid => }/DataMapper/PropertyAccessorMapper.php | 0 .../Component/DataGrid => }/DataMapper/ReflectionMapper.php | 0 .../DataGrid => }/Exception/DataGridColumnException.php | 0 .../Component/DataGrid => }/Exception/DataGridException.php | 0 .../DataGrid => }/Exception/DataMappingException.php | 0 .../DataGrid => }/Exception/NotValidCollectionException.php | 0 .../DataGrid => }/Exception/UnexpectedTypeException.php | 0 .../DataGrid => }/Exception/UnknownOptionException.php | 0 .../DataGrid => }/Extension/Core/ColumnType/Action.php | 0 .../DataGrid => }/Extension/Core/ColumnType/Batch.php | 0 .../DataGrid => }/Extension/Core/ColumnType/Boolean.php | 0 .../DataGrid => }/Extension/Core/ColumnType/Collection.php | 0 .../DataGrid => }/Extension/Core/ColumnType/DateTime.php | 0 .../DataGrid => }/Extension/Core/ColumnType/Money.php | 0 .../DataGrid => }/Extension/Core/ColumnType/Number.php | 0 .../DataGrid => }/Extension/Core/ColumnType/Text.php | 0 .../ColumnTypeExtension/DefaultColumnOptionsExtension.php | 0 .../ValueFormatColumnOptionsExtension.php | 0 .../DataGrid => }/Extension/Core/CoreExtension.php | 0 .../Extension/Core/EventSubscriber/ColumnOrder.php | 0 .../DataGrid => }/Extension/Doctrine/ColumnType/Entity.php | 0 .../ValueFormatColumnOptionsExtension.php | 0 .../DataGrid => }/Extension/Doctrine/DoctrineExtension.php | 0 .../DataGrid => }/Extension/Gedmo/ColumnType/Tree.php | 0 .../Extension/Gedmo/GedmoDoctrineExtension.php | 0 .../DataGrid => }/Extension/Symfony/ColumnType/Action.php | 0 .../Symfony/ColumnTypeExtension/ActionColumnExtension.php | 0 .../Extension/Symfony/ColumnTypeExtension/FormExtension.php | 0 .../Extension/Symfony/ColumnTypeExtension/RowType.php | 0 .../Extension/Symfony/DependencyInjectionExtension.php | 0 .../Extension/Symfony/EventSubscriber/BindRequest.php | 0 .../DataGrid => }/Extension/Symfony/FormExtension.php | 0 .../DataGrid => }/Extension/Symfony/SymfonyExtension.php | 0 phpunit.xml.dist | 2 +- .../Component/DataGrid/Tests => }/Data/DataRowsetTest.php | 0 .../DataGrid/Tests => }/Data/EntityIndexingStrategyTest.php | 0 .../Component/DataGrid/Tests => }/DataGridFactoryTest.php | 0 .../Component/DataGrid/Tests => }/DataGridRowViewTest.php | 0 tests/{FSi/Component/DataGrid/Tests => }/DataGridTest.php | 0 .../{FSi/Component/DataGrid/Tests => }/DataGridViewTest.php | 0 .../DataGrid/Tests => }/DataMapper/ChainMapperTest.php | 0 .../DataGrid/Tests => }/DataMapper/ReflectionMapperTest.php | 0 .../Tests => }/Extension/Core/ColumnType/ActionTest.php | 0 .../Tests => }/Extension/Core/ColumnType/BooleanTest.php | 0 .../Tests => }/Extension/Core/ColumnType/CollectionTest.php | 0 .../Tests => }/Extension/Core/ColumnType/DateTimeTest.php | 0 .../Tests => }/Extension/Core/ColumnType/MoneyTest.php | 0 .../Tests => }/Extension/Core/ColumnType/NumberTest.php | 0 .../Tests => }/Extension/Core/ColumnType/TextTest.php | 0 .../DefaultColumnOptionsExtensionTest.php | 0 .../ValueFormatColumnOptionsExtensionTest.php | 0 .../Tests => }/Extension/Core/CoreExtensionTest.php | 0 .../Extension/Doctrine/ColumnType/EntityTypeTest.php | 0 .../ValueFormatColumnOptionsExtensionTest.php | 0 .../Tests => }/Extension/Doctrine/DoctrineExtensionTest.php | 0 .../Extension/Gedmo/ColumnType/Tree/TreeTypeTest.php | 0 .../Extension/Gedmo/GedmoDoctrineExtensionTest.php | 0 .../Tests => }/Extension/Symfony/ColumnType/ActionTest.php | 0 .../Symfony/ColumnTypeExtension/FormExtensionTest.php | 0 .../Extension/Symfony/EventSubscriber/BindRequestTest.php | 0 .../Tests => }/Extension/Symfony/FormExtensionTest.php | 0 .../Tests => }/Extension/Symfony/SymfonyExtensionTest.php | 0 .../DataGrid/Tests => }/Fixtures/ColumnType/FooType.php | 0 .../{FSi/Component/DataGrid/Tests => }/Fixtures/Entity.php | 0 .../DataGrid/Tests => }/Fixtures/EntityCategory.php | 0 .../DataGrid/Tests => }/Fixtures/EntityManagerMock.php | 0 .../Component/DataGrid/Tests => }/Fixtures/EntityMapper.php | 0 .../DataGrid/Tests => }/Fixtures/EntityRepositoryMock.php | 0 .../Component/DataGrid/Tests => }/Fixtures/EntityTree.php | 0 .../DataGrid/Tests => }/Fixtures/EventManagerMock.php | 0 .../Component/DataGrid/Tests => }/Fixtures/FooExtension.php | 0 .../DataGrid/Tests => }/Fixtures/GedmoTreeListenerMock.php | 0 100 files changed, 4 insertions(+), 4 deletions(-) rename lib/{FSi/Component/DataGrid => }/Column/CellView.php (100%) rename lib/{FSi/Component/DataGrid => }/Column/CellViewInterface.php (100%) rename lib/{FSi/Component/DataGrid => }/Column/ColumnAbstractType.php (100%) rename lib/{FSi/Component/DataGrid => }/Column/ColumnAbstractTypeExtension.php (100%) rename lib/{FSi/Component/DataGrid => }/Column/ColumnTypeExtensionInterface.php (100%) rename lib/{FSi/Component/DataGrid => }/Column/ColumnTypeInterface.php (100%) rename lib/{FSi/Component/DataGrid => }/Column/HeaderView.php (100%) rename lib/{FSi/Component/DataGrid => }/Column/HeaderViewInterface.php (100%) rename lib/{FSi/Component/DataGrid => }/Data/DataRowset.php (100%) rename lib/{FSi/Component/DataGrid => }/Data/DataRowsetInterface.php (100%) rename lib/{FSi/Component/DataGrid => }/Data/EntityIndexingStrategy.php (100%) rename lib/{FSi/Component/DataGrid => }/Data/IndexingStrategyInterface.php (100%) rename lib/{FSi/Component/DataGrid => }/DataGrid.php (100%) rename lib/{FSi/Component/DataGrid => }/DataGridAbstractExtension.php (100%) rename lib/{FSi/Component/DataGrid => }/DataGridEvent.php (100%) rename lib/{FSi/Component/DataGrid => }/DataGridEventInterface.php (100%) rename lib/{FSi/Component/DataGrid => }/DataGridEvents.php (100%) rename lib/{FSi/Component/DataGrid => }/DataGridExtensionInterface.php (100%) rename lib/{FSi/Component/DataGrid => }/DataGridFactory.php (100%) rename lib/{FSi/Component/DataGrid => }/DataGridFactoryInterface.php (100%) rename lib/{FSi/Component/DataGrid => }/DataGridInterface.php (100%) rename lib/{FSi/Component/DataGrid => }/DataGridRowView.php (100%) rename lib/{FSi/Component/DataGrid => }/DataGridRowViewInterface.php (100%) rename lib/{FSi/Component/DataGrid => }/DataGridView.php (100%) rename lib/{FSi/Component/DataGrid => }/DataGridViewInterface.php (100%) rename lib/{FSi/Component/DataGrid => }/DataMapper/ChainMapper.php (100%) rename lib/{FSi/Component/DataGrid => }/DataMapper/DataMapperInterface.php (100%) rename lib/{FSi/Component/DataGrid => }/DataMapper/PropertyAccessorMapper.php (100%) rename lib/{FSi/Component/DataGrid => }/DataMapper/ReflectionMapper.php (100%) rename lib/{FSi/Component/DataGrid => }/Exception/DataGridColumnException.php (100%) rename lib/{FSi/Component/DataGrid => }/Exception/DataGridException.php (100%) rename lib/{FSi/Component/DataGrid => }/Exception/DataMappingException.php (100%) rename lib/{FSi/Component/DataGrid => }/Exception/NotValidCollectionException.php (100%) rename lib/{FSi/Component/DataGrid => }/Exception/UnexpectedTypeException.php (100%) rename lib/{FSi/Component/DataGrid => }/Exception/UnknownOptionException.php (100%) rename lib/{FSi/Component/DataGrid => }/Extension/Core/ColumnType/Action.php (100%) rename lib/{FSi/Component/DataGrid => }/Extension/Core/ColumnType/Batch.php (100%) rename lib/{FSi/Component/DataGrid => }/Extension/Core/ColumnType/Boolean.php (100%) rename lib/{FSi/Component/DataGrid => }/Extension/Core/ColumnType/Collection.php (100%) rename lib/{FSi/Component/DataGrid => }/Extension/Core/ColumnType/DateTime.php (100%) rename lib/{FSi/Component/DataGrid => }/Extension/Core/ColumnType/Money.php (100%) rename lib/{FSi/Component/DataGrid => }/Extension/Core/ColumnType/Number.php (100%) rename lib/{FSi/Component/DataGrid => }/Extension/Core/ColumnType/Text.php (100%) rename lib/{FSi/Component/DataGrid => }/Extension/Core/ColumnTypeExtension/DefaultColumnOptionsExtension.php (100%) rename lib/{FSi/Component/DataGrid => }/Extension/Core/ColumnTypeExtension/ValueFormatColumnOptionsExtension.php (100%) rename lib/{FSi/Component/DataGrid => }/Extension/Core/CoreExtension.php (100%) rename lib/{FSi/Component/DataGrid => }/Extension/Core/EventSubscriber/ColumnOrder.php (100%) rename lib/{FSi/Component/DataGrid => }/Extension/Doctrine/ColumnType/Entity.php (100%) rename lib/{FSi/Component/DataGrid => }/Extension/Doctrine/ColumnTypeExtension/ValueFormatColumnOptionsExtension.php (100%) rename lib/{FSi/Component/DataGrid => }/Extension/Doctrine/DoctrineExtension.php (100%) rename lib/{FSi/Component/DataGrid => }/Extension/Gedmo/ColumnType/Tree.php (100%) rename lib/{FSi/Component/DataGrid => }/Extension/Gedmo/GedmoDoctrineExtension.php (100%) rename lib/{FSi/Component/DataGrid => }/Extension/Symfony/ColumnType/Action.php (100%) rename lib/{FSi/Component/DataGrid => }/Extension/Symfony/ColumnTypeExtension/ActionColumnExtension.php (100%) rename lib/{FSi/Component/DataGrid => }/Extension/Symfony/ColumnTypeExtension/FormExtension.php (100%) rename lib/{FSi/Component/DataGrid => }/Extension/Symfony/ColumnTypeExtension/RowType.php (100%) rename lib/{FSi/Component/DataGrid => }/Extension/Symfony/DependencyInjectionExtension.php (100%) rename lib/{FSi/Component/DataGrid => }/Extension/Symfony/EventSubscriber/BindRequest.php (100%) rename lib/{FSi/Component/DataGrid => }/Extension/Symfony/FormExtension.php (100%) rename lib/{FSi/Component/DataGrid => }/Extension/Symfony/SymfonyExtension.php (100%) rename tests/{FSi/Component/DataGrid/Tests => }/Data/DataRowsetTest.php (100%) rename tests/{FSi/Component/DataGrid/Tests => }/Data/EntityIndexingStrategyTest.php (100%) rename tests/{FSi/Component/DataGrid/Tests => }/DataGridFactoryTest.php (100%) rename tests/{FSi/Component/DataGrid/Tests => }/DataGridRowViewTest.php (100%) rename tests/{FSi/Component/DataGrid/Tests => }/DataGridTest.php (100%) rename tests/{FSi/Component/DataGrid/Tests => }/DataGridViewTest.php (100%) rename tests/{FSi/Component/DataGrid/Tests => }/DataMapper/ChainMapperTest.php (100%) rename tests/{FSi/Component/DataGrid/Tests => }/DataMapper/ReflectionMapperTest.php (100%) rename tests/{FSi/Component/DataGrid/Tests => }/Extension/Core/ColumnType/ActionTest.php (100%) rename tests/{FSi/Component/DataGrid/Tests => }/Extension/Core/ColumnType/BooleanTest.php (100%) rename tests/{FSi/Component/DataGrid/Tests => }/Extension/Core/ColumnType/CollectionTest.php (100%) rename tests/{FSi/Component/DataGrid/Tests => }/Extension/Core/ColumnType/DateTimeTest.php (100%) rename tests/{FSi/Component/DataGrid/Tests => }/Extension/Core/ColumnType/MoneyTest.php (100%) rename tests/{FSi/Component/DataGrid/Tests => }/Extension/Core/ColumnType/NumberTest.php (100%) rename tests/{FSi/Component/DataGrid/Tests => }/Extension/Core/ColumnType/TextTest.php (100%) rename tests/{FSi/Component/DataGrid/Tests => }/Extension/Core/ColumnTypeExtension/DefaultColumnOptionsExtensionTest.php (100%) rename tests/{FSi/Component/DataGrid/Tests => }/Extension/Core/ColumnTypeExtension/ValueFormatColumnOptionsExtensionTest.php (100%) rename tests/{FSi/Component/DataGrid/Tests => }/Extension/Core/CoreExtensionTest.php (100%) rename tests/{FSi/Component/DataGrid/Tests => }/Extension/Doctrine/ColumnType/EntityTypeTest.php (100%) rename tests/{FSi/Component/DataGrid/Tests => }/Extension/Doctrine/ColumnTypeExtension/ValueFormatColumnOptionsExtensionTest.php (100%) rename tests/{FSi/Component/DataGrid/Tests => }/Extension/Doctrine/DoctrineExtensionTest.php (100%) rename tests/{FSi/Component/DataGrid/Tests => }/Extension/Gedmo/ColumnType/Tree/TreeTypeTest.php (100%) rename tests/{FSi/Component/DataGrid/Tests => }/Extension/Gedmo/GedmoDoctrineExtensionTest.php (100%) rename tests/{FSi/Component/DataGrid/Tests => }/Extension/Symfony/ColumnType/ActionTest.php (100%) rename tests/{FSi/Component/DataGrid/Tests => }/Extension/Symfony/ColumnTypeExtension/FormExtensionTest.php (100%) rename tests/{FSi/Component/DataGrid/Tests => }/Extension/Symfony/EventSubscriber/BindRequestTest.php (100%) rename tests/{FSi/Component/DataGrid/Tests => }/Extension/Symfony/FormExtensionTest.php (100%) rename tests/{FSi/Component/DataGrid/Tests => }/Extension/Symfony/SymfonyExtensionTest.php (100%) rename tests/{FSi/Component/DataGrid/Tests => }/Fixtures/ColumnType/FooType.php (100%) rename tests/{FSi/Component/DataGrid/Tests => }/Fixtures/Entity.php (100%) rename tests/{FSi/Component/DataGrid/Tests => }/Fixtures/EntityCategory.php (100%) rename tests/{FSi/Component/DataGrid/Tests => }/Fixtures/EntityManagerMock.php (100%) rename tests/{FSi/Component/DataGrid/Tests => }/Fixtures/EntityMapper.php (100%) rename tests/{FSi/Component/DataGrid/Tests => }/Fixtures/EntityRepositoryMock.php (100%) rename tests/{FSi/Component/DataGrid/Tests => }/Fixtures/EntityTree.php (100%) rename tests/{FSi/Component/DataGrid/Tests => }/Fixtures/EventManagerMock.php (100%) rename tests/{FSi/Component/DataGrid/Tests => }/Fixtures/FooExtension.php (100%) rename tests/{FSi/Component/DataGrid/Tests => }/Fixtures/GedmoTreeListenerMock.php (100%) diff --git a/composer.json b/composer.json index bcb9e0f..24e083d 100644 --- a/composer.json +++ b/composer.json @@ -31,9 +31,9 @@ "phpunit/phpunit": "3.7.*" }, "autoload": { - "psr-0": { - "FSi\\Component\\DataGrid": "lib/", - "FSi\\Component\\DataGrid\\Tests": "tests/" + "psr-4": { + "FSi\\Component\\DataGrid\\": "lib/", + "FSi\\Component\\DataGrid\\Tests\\": "tests/" } }, "config": { diff --git a/lib/FSi/Component/DataGrid/Column/CellView.php b/lib/Column/CellView.php similarity index 100% rename from lib/FSi/Component/DataGrid/Column/CellView.php rename to lib/Column/CellView.php diff --git a/lib/FSi/Component/DataGrid/Column/CellViewInterface.php b/lib/Column/CellViewInterface.php similarity index 100% rename from lib/FSi/Component/DataGrid/Column/CellViewInterface.php rename to lib/Column/CellViewInterface.php diff --git a/lib/FSi/Component/DataGrid/Column/ColumnAbstractType.php b/lib/Column/ColumnAbstractType.php similarity index 100% rename from lib/FSi/Component/DataGrid/Column/ColumnAbstractType.php rename to lib/Column/ColumnAbstractType.php diff --git a/lib/FSi/Component/DataGrid/Column/ColumnAbstractTypeExtension.php b/lib/Column/ColumnAbstractTypeExtension.php similarity index 100% rename from lib/FSi/Component/DataGrid/Column/ColumnAbstractTypeExtension.php rename to lib/Column/ColumnAbstractTypeExtension.php diff --git a/lib/FSi/Component/DataGrid/Column/ColumnTypeExtensionInterface.php b/lib/Column/ColumnTypeExtensionInterface.php similarity index 100% rename from lib/FSi/Component/DataGrid/Column/ColumnTypeExtensionInterface.php rename to lib/Column/ColumnTypeExtensionInterface.php diff --git a/lib/FSi/Component/DataGrid/Column/ColumnTypeInterface.php b/lib/Column/ColumnTypeInterface.php similarity index 100% rename from lib/FSi/Component/DataGrid/Column/ColumnTypeInterface.php rename to lib/Column/ColumnTypeInterface.php diff --git a/lib/FSi/Component/DataGrid/Column/HeaderView.php b/lib/Column/HeaderView.php similarity index 100% rename from lib/FSi/Component/DataGrid/Column/HeaderView.php rename to lib/Column/HeaderView.php diff --git a/lib/FSi/Component/DataGrid/Column/HeaderViewInterface.php b/lib/Column/HeaderViewInterface.php similarity index 100% rename from lib/FSi/Component/DataGrid/Column/HeaderViewInterface.php rename to lib/Column/HeaderViewInterface.php diff --git a/lib/FSi/Component/DataGrid/Data/DataRowset.php b/lib/Data/DataRowset.php similarity index 100% rename from lib/FSi/Component/DataGrid/Data/DataRowset.php rename to lib/Data/DataRowset.php diff --git a/lib/FSi/Component/DataGrid/Data/DataRowsetInterface.php b/lib/Data/DataRowsetInterface.php similarity index 100% rename from lib/FSi/Component/DataGrid/Data/DataRowsetInterface.php rename to lib/Data/DataRowsetInterface.php diff --git a/lib/FSi/Component/DataGrid/Data/EntityIndexingStrategy.php b/lib/Data/EntityIndexingStrategy.php similarity index 100% rename from lib/FSi/Component/DataGrid/Data/EntityIndexingStrategy.php rename to lib/Data/EntityIndexingStrategy.php diff --git a/lib/FSi/Component/DataGrid/Data/IndexingStrategyInterface.php b/lib/Data/IndexingStrategyInterface.php similarity index 100% rename from lib/FSi/Component/DataGrid/Data/IndexingStrategyInterface.php rename to lib/Data/IndexingStrategyInterface.php diff --git a/lib/FSi/Component/DataGrid/DataGrid.php b/lib/DataGrid.php similarity index 100% rename from lib/FSi/Component/DataGrid/DataGrid.php rename to lib/DataGrid.php diff --git a/lib/FSi/Component/DataGrid/DataGridAbstractExtension.php b/lib/DataGridAbstractExtension.php similarity index 100% rename from lib/FSi/Component/DataGrid/DataGridAbstractExtension.php rename to lib/DataGridAbstractExtension.php diff --git a/lib/FSi/Component/DataGrid/DataGridEvent.php b/lib/DataGridEvent.php similarity index 100% rename from lib/FSi/Component/DataGrid/DataGridEvent.php rename to lib/DataGridEvent.php diff --git a/lib/FSi/Component/DataGrid/DataGridEventInterface.php b/lib/DataGridEventInterface.php similarity index 100% rename from lib/FSi/Component/DataGrid/DataGridEventInterface.php rename to lib/DataGridEventInterface.php diff --git a/lib/FSi/Component/DataGrid/DataGridEvents.php b/lib/DataGridEvents.php similarity index 100% rename from lib/FSi/Component/DataGrid/DataGridEvents.php rename to lib/DataGridEvents.php diff --git a/lib/FSi/Component/DataGrid/DataGridExtensionInterface.php b/lib/DataGridExtensionInterface.php similarity index 100% rename from lib/FSi/Component/DataGrid/DataGridExtensionInterface.php rename to lib/DataGridExtensionInterface.php diff --git a/lib/FSi/Component/DataGrid/DataGridFactory.php b/lib/DataGridFactory.php similarity index 100% rename from lib/FSi/Component/DataGrid/DataGridFactory.php rename to lib/DataGridFactory.php diff --git a/lib/FSi/Component/DataGrid/DataGridFactoryInterface.php b/lib/DataGridFactoryInterface.php similarity index 100% rename from lib/FSi/Component/DataGrid/DataGridFactoryInterface.php rename to lib/DataGridFactoryInterface.php diff --git a/lib/FSi/Component/DataGrid/DataGridInterface.php b/lib/DataGridInterface.php similarity index 100% rename from lib/FSi/Component/DataGrid/DataGridInterface.php rename to lib/DataGridInterface.php diff --git a/lib/FSi/Component/DataGrid/DataGridRowView.php b/lib/DataGridRowView.php similarity index 100% rename from lib/FSi/Component/DataGrid/DataGridRowView.php rename to lib/DataGridRowView.php diff --git a/lib/FSi/Component/DataGrid/DataGridRowViewInterface.php b/lib/DataGridRowViewInterface.php similarity index 100% rename from lib/FSi/Component/DataGrid/DataGridRowViewInterface.php rename to lib/DataGridRowViewInterface.php diff --git a/lib/FSi/Component/DataGrid/DataGridView.php b/lib/DataGridView.php similarity index 100% rename from lib/FSi/Component/DataGrid/DataGridView.php rename to lib/DataGridView.php diff --git a/lib/FSi/Component/DataGrid/DataGridViewInterface.php b/lib/DataGridViewInterface.php similarity index 100% rename from lib/FSi/Component/DataGrid/DataGridViewInterface.php rename to lib/DataGridViewInterface.php diff --git a/lib/FSi/Component/DataGrid/DataMapper/ChainMapper.php b/lib/DataMapper/ChainMapper.php similarity index 100% rename from lib/FSi/Component/DataGrid/DataMapper/ChainMapper.php rename to lib/DataMapper/ChainMapper.php diff --git a/lib/FSi/Component/DataGrid/DataMapper/DataMapperInterface.php b/lib/DataMapper/DataMapperInterface.php similarity index 100% rename from lib/FSi/Component/DataGrid/DataMapper/DataMapperInterface.php rename to lib/DataMapper/DataMapperInterface.php diff --git a/lib/FSi/Component/DataGrid/DataMapper/PropertyAccessorMapper.php b/lib/DataMapper/PropertyAccessorMapper.php similarity index 100% rename from lib/FSi/Component/DataGrid/DataMapper/PropertyAccessorMapper.php rename to lib/DataMapper/PropertyAccessorMapper.php diff --git a/lib/FSi/Component/DataGrid/DataMapper/ReflectionMapper.php b/lib/DataMapper/ReflectionMapper.php similarity index 100% rename from lib/FSi/Component/DataGrid/DataMapper/ReflectionMapper.php rename to lib/DataMapper/ReflectionMapper.php diff --git a/lib/FSi/Component/DataGrid/Exception/DataGridColumnException.php b/lib/Exception/DataGridColumnException.php similarity index 100% rename from lib/FSi/Component/DataGrid/Exception/DataGridColumnException.php rename to lib/Exception/DataGridColumnException.php diff --git a/lib/FSi/Component/DataGrid/Exception/DataGridException.php b/lib/Exception/DataGridException.php similarity index 100% rename from lib/FSi/Component/DataGrid/Exception/DataGridException.php rename to lib/Exception/DataGridException.php diff --git a/lib/FSi/Component/DataGrid/Exception/DataMappingException.php b/lib/Exception/DataMappingException.php similarity index 100% rename from lib/FSi/Component/DataGrid/Exception/DataMappingException.php rename to lib/Exception/DataMappingException.php diff --git a/lib/FSi/Component/DataGrid/Exception/NotValidCollectionException.php b/lib/Exception/NotValidCollectionException.php similarity index 100% rename from lib/FSi/Component/DataGrid/Exception/NotValidCollectionException.php rename to lib/Exception/NotValidCollectionException.php diff --git a/lib/FSi/Component/DataGrid/Exception/UnexpectedTypeException.php b/lib/Exception/UnexpectedTypeException.php similarity index 100% rename from lib/FSi/Component/DataGrid/Exception/UnexpectedTypeException.php rename to lib/Exception/UnexpectedTypeException.php diff --git a/lib/FSi/Component/DataGrid/Exception/UnknownOptionException.php b/lib/Exception/UnknownOptionException.php similarity index 100% rename from lib/FSi/Component/DataGrid/Exception/UnknownOptionException.php rename to lib/Exception/UnknownOptionException.php diff --git a/lib/FSi/Component/DataGrid/Extension/Core/ColumnType/Action.php b/lib/Extension/Core/ColumnType/Action.php similarity index 100% rename from lib/FSi/Component/DataGrid/Extension/Core/ColumnType/Action.php rename to lib/Extension/Core/ColumnType/Action.php diff --git a/lib/FSi/Component/DataGrid/Extension/Core/ColumnType/Batch.php b/lib/Extension/Core/ColumnType/Batch.php similarity index 100% rename from lib/FSi/Component/DataGrid/Extension/Core/ColumnType/Batch.php rename to lib/Extension/Core/ColumnType/Batch.php diff --git a/lib/FSi/Component/DataGrid/Extension/Core/ColumnType/Boolean.php b/lib/Extension/Core/ColumnType/Boolean.php similarity index 100% rename from lib/FSi/Component/DataGrid/Extension/Core/ColumnType/Boolean.php rename to lib/Extension/Core/ColumnType/Boolean.php diff --git a/lib/FSi/Component/DataGrid/Extension/Core/ColumnType/Collection.php b/lib/Extension/Core/ColumnType/Collection.php similarity index 100% rename from lib/FSi/Component/DataGrid/Extension/Core/ColumnType/Collection.php rename to lib/Extension/Core/ColumnType/Collection.php diff --git a/lib/FSi/Component/DataGrid/Extension/Core/ColumnType/DateTime.php b/lib/Extension/Core/ColumnType/DateTime.php similarity index 100% rename from lib/FSi/Component/DataGrid/Extension/Core/ColumnType/DateTime.php rename to lib/Extension/Core/ColumnType/DateTime.php diff --git a/lib/FSi/Component/DataGrid/Extension/Core/ColumnType/Money.php b/lib/Extension/Core/ColumnType/Money.php similarity index 100% rename from lib/FSi/Component/DataGrid/Extension/Core/ColumnType/Money.php rename to lib/Extension/Core/ColumnType/Money.php diff --git a/lib/FSi/Component/DataGrid/Extension/Core/ColumnType/Number.php b/lib/Extension/Core/ColumnType/Number.php similarity index 100% rename from lib/FSi/Component/DataGrid/Extension/Core/ColumnType/Number.php rename to lib/Extension/Core/ColumnType/Number.php diff --git a/lib/FSi/Component/DataGrid/Extension/Core/ColumnType/Text.php b/lib/Extension/Core/ColumnType/Text.php similarity index 100% rename from lib/FSi/Component/DataGrid/Extension/Core/ColumnType/Text.php rename to lib/Extension/Core/ColumnType/Text.php diff --git a/lib/FSi/Component/DataGrid/Extension/Core/ColumnTypeExtension/DefaultColumnOptionsExtension.php b/lib/Extension/Core/ColumnTypeExtension/DefaultColumnOptionsExtension.php similarity index 100% rename from lib/FSi/Component/DataGrid/Extension/Core/ColumnTypeExtension/DefaultColumnOptionsExtension.php rename to lib/Extension/Core/ColumnTypeExtension/DefaultColumnOptionsExtension.php diff --git a/lib/FSi/Component/DataGrid/Extension/Core/ColumnTypeExtension/ValueFormatColumnOptionsExtension.php b/lib/Extension/Core/ColumnTypeExtension/ValueFormatColumnOptionsExtension.php similarity index 100% rename from lib/FSi/Component/DataGrid/Extension/Core/ColumnTypeExtension/ValueFormatColumnOptionsExtension.php rename to lib/Extension/Core/ColumnTypeExtension/ValueFormatColumnOptionsExtension.php diff --git a/lib/FSi/Component/DataGrid/Extension/Core/CoreExtension.php b/lib/Extension/Core/CoreExtension.php similarity index 100% rename from lib/FSi/Component/DataGrid/Extension/Core/CoreExtension.php rename to lib/Extension/Core/CoreExtension.php diff --git a/lib/FSi/Component/DataGrid/Extension/Core/EventSubscriber/ColumnOrder.php b/lib/Extension/Core/EventSubscriber/ColumnOrder.php similarity index 100% rename from lib/FSi/Component/DataGrid/Extension/Core/EventSubscriber/ColumnOrder.php rename to lib/Extension/Core/EventSubscriber/ColumnOrder.php diff --git a/lib/FSi/Component/DataGrid/Extension/Doctrine/ColumnType/Entity.php b/lib/Extension/Doctrine/ColumnType/Entity.php similarity index 100% rename from lib/FSi/Component/DataGrid/Extension/Doctrine/ColumnType/Entity.php rename to lib/Extension/Doctrine/ColumnType/Entity.php diff --git a/lib/FSi/Component/DataGrid/Extension/Doctrine/ColumnTypeExtension/ValueFormatColumnOptionsExtension.php b/lib/Extension/Doctrine/ColumnTypeExtension/ValueFormatColumnOptionsExtension.php similarity index 100% rename from lib/FSi/Component/DataGrid/Extension/Doctrine/ColumnTypeExtension/ValueFormatColumnOptionsExtension.php rename to lib/Extension/Doctrine/ColumnTypeExtension/ValueFormatColumnOptionsExtension.php diff --git a/lib/FSi/Component/DataGrid/Extension/Doctrine/DoctrineExtension.php b/lib/Extension/Doctrine/DoctrineExtension.php similarity index 100% rename from lib/FSi/Component/DataGrid/Extension/Doctrine/DoctrineExtension.php rename to lib/Extension/Doctrine/DoctrineExtension.php diff --git a/lib/FSi/Component/DataGrid/Extension/Gedmo/ColumnType/Tree.php b/lib/Extension/Gedmo/ColumnType/Tree.php similarity index 100% rename from lib/FSi/Component/DataGrid/Extension/Gedmo/ColumnType/Tree.php rename to lib/Extension/Gedmo/ColumnType/Tree.php diff --git a/lib/FSi/Component/DataGrid/Extension/Gedmo/GedmoDoctrineExtension.php b/lib/Extension/Gedmo/GedmoDoctrineExtension.php similarity index 100% rename from lib/FSi/Component/DataGrid/Extension/Gedmo/GedmoDoctrineExtension.php rename to lib/Extension/Gedmo/GedmoDoctrineExtension.php diff --git a/lib/FSi/Component/DataGrid/Extension/Symfony/ColumnType/Action.php b/lib/Extension/Symfony/ColumnType/Action.php similarity index 100% rename from lib/FSi/Component/DataGrid/Extension/Symfony/ColumnType/Action.php rename to lib/Extension/Symfony/ColumnType/Action.php diff --git a/lib/FSi/Component/DataGrid/Extension/Symfony/ColumnTypeExtension/ActionColumnExtension.php b/lib/Extension/Symfony/ColumnTypeExtension/ActionColumnExtension.php similarity index 100% rename from lib/FSi/Component/DataGrid/Extension/Symfony/ColumnTypeExtension/ActionColumnExtension.php rename to lib/Extension/Symfony/ColumnTypeExtension/ActionColumnExtension.php diff --git a/lib/FSi/Component/DataGrid/Extension/Symfony/ColumnTypeExtension/FormExtension.php b/lib/Extension/Symfony/ColumnTypeExtension/FormExtension.php similarity index 100% rename from lib/FSi/Component/DataGrid/Extension/Symfony/ColumnTypeExtension/FormExtension.php rename to lib/Extension/Symfony/ColumnTypeExtension/FormExtension.php diff --git a/lib/FSi/Component/DataGrid/Extension/Symfony/ColumnTypeExtension/RowType.php b/lib/Extension/Symfony/ColumnTypeExtension/RowType.php similarity index 100% rename from lib/FSi/Component/DataGrid/Extension/Symfony/ColumnTypeExtension/RowType.php rename to lib/Extension/Symfony/ColumnTypeExtension/RowType.php diff --git a/lib/FSi/Component/DataGrid/Extension/Symfony/DependencyInjectionExtension.php b/lib/Extension/Symfony/DependencyInjectionExtension.php similarity index 100% rename from lib/FSi/Component/DataGrid/Extension/Symfony/DependencyInjectionExtension.php rename to lib/Extension/Symfony/DependencyInjectionExtension.php diff --git a/lib/FSi/Component/DataGrid/Extension/Symfony/EventSubscriber/BindRequest.php b/lib/Extension/Symfony/EventSubscriber/BindRequest.php similarity index 100% rename from lib/FSi/Component/DataGrid/Extension/Symfony/EventSubscriber/BindRequest.php rename to lib/Extension/Symfony/EventSubscriber/BindRequest.php diff --git a/lib/FSi/Component/DataGrid/Extension/Symfony/FormExtension.php b/lib/Extension/Symfony/FormExtension.php similarity index 100% rename from lib/FSi/Component/DataGrid/Extension/Symfony/FormExtension.php rename to lib/Extension/Symfony/FormExtension.php diff --git a/lib/FSi/Component/DataGrid/Extension/Symfony/SymfonyExtension.php b/lib/Extension/Symfony/SymfonyExtension.php similarity index 100% rename from lib/FSi/Component/DataGrid/Extension/Symfony/SymfonyExtension.php rename to lib/Extension/Symfony/SymfonyExtension.php diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 35dd920..dc3ba8e 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -11,7 +11,7 @@ > - tests/FSi/Component/DataGrid/Tests + tests diff --git a/tests/FSi/Component/DataGrid/Tests/Data/DataRowsetTest.php b/tests/Data/DataRowsetTest.php similarity index 100% rename from tests/FSi/Component/DataGrid/Tests/Data/DataRowsetTest.php rename to tests/Data/DataRowsetTest.php diff --git a/tests/FSi/Component/DataGrid/Tests/Data/EntityIndexingStrategyTest.php b/tests/Data/EntityIndexingStrategyTest.php similarity index 100% rename from tests/FSi/Component/DataGrid/Tests/Data/EntityIndexingStrategyTest.php rename to tests/Data/EntityIndexingStrategyTest.php diff --git a/tests/FSi/Component/DataGrid/Tests/DataGridFactoryTest.php b/tests/DataGridFactoryTest.php similarity index 100% rename from tests/FSi/Component/DataGrid/Tests/DataGridFactoryTest.php rename to tests/DataGridFactoryTest.php diff --git a/tests/FSi/Component/DataGrid/Tests/DataGridRowViewTest.php b/tests/DataGridRowViewTest.php similarity index 100% rename from tests/FSi/Component/DataGrid/Tests/DataGridRowViewTest.php rename to tests/DataGridRowViewTest.php diff --git a/tests/FSi/Component/DataGrid/Tests/DataGridTest.php b/tests/DataGridTest.php similarity index 100% rename from tests/FSi/Component/DataGrid/Tests/DataGridTest.php rename to tests/DataGridTest.php diff --git a/tests/FSi/Component/DataGrid/Tests/DataGridViewTest.php b/tests/DataGridViewTest.php similarity index 100% rename from tests/FSi/Component/DataGrid/Tests/DataGridViewTest.php rename to tests/DataGridViewTest.php diff --git a/tests/FSi/Component/DataGrid/Tests/DataMapper/ChainMapperTest.php b/tests/DataMapper/ChainMapperTest.php similarity index 100% rename from tests/FSi/Component/DataGrid/Tests/DataMapper/ChainMapperTest.php rename to tests/DataMapper/ChainMapperTest.php diff --git a/tests/FSi/Component/DataGrid/Tests/DataMapper/ReflectionMapperTest.php b/tests/DataMapper/ReflectionMapperTest.php similarity index 100% rename from tests/FSi/Component/DataGrid/Tests/DataMapper/ReflectionMapperTest.php rename to tests/DataMapper/ReflectionMapperTest.php diff --git a/tests/FSi/Component/DataGrid/Tests/Extension/Core/ColumnType/ActionTest.php b/tests/Extension/Core/ColumnType/ActionTest.php similarity index 100% rename from tests/FSi/Component/DataGrid/Tests/Extension/Core/ColumnType/ActionTest.php rename to tests/Extension/Core/ColumnType/ActionTest.php diff --git a/tests/FSi/Component/DataGrid/Tests/Extension/Core/ColumnType/BooleanTest.php b/tests/Extension/Core/ColumnType/BooleanTest.php similarity index 100% rename from tests/FSi/Component/DataGrid/Tests/Extension/Core/ColumnType/BooleanTest.php rename to tests/Extension/Core/ColumnType/BooleanTest.php diff --git a/tests/FSi/Component/DataGrid/Tests/Extension/Core/ColumnType/CollectionTest.php b/tests/Extension/Core/ColumnType/CollectionTest.php similarity index 100% rename from tests/FSi/Component/DataGrid/Tests/Extension/Core/ColumnType/CollectionTest.php rename to tests/Extension/Core/ColumnType/CollectionTest.php diff --git a/tests/FSi/Component/DataGrid/Tests/Extension/Core/ColumnType/DateTimeTest.php b/tests/Extension/Core/ColumnType/DateTimeTest.php similarity index 100% rename from tests/FSi/Component/DataGrid/Tests/Extension/Core/ColumnType/DateTimeTest.php rename to tests/Extension/Core/ColumnType/DateTimeTest.php diff --git a/tests/FSi/Component/DataGrid/Tests/Extension/Core/ColumnType/MoneyTest.php b/tests/Extension/Core/ColumnType/MoneyTest.php similarity index 100% rename from tests/FSi/Component/DataGrid/Tests/Extension/Core/ColumnType/MoneyTest.php rename to tests/Extension/Core/ColumnType/MoneyTest.php diff --git a/tests/FSi/Component/DataGrid/Tests/Extension/Core/ColumnType/NumberTest.php b/tests/Extension/Core/ColumnType/NumberTest.php similarity index 100% rename from tests/FSi/Component/DataGrid/Tests/Extension/Core/ColumnType/NumberTest.php rename to tests/Extension/Core/ColumnType/NumberTest.php diff --git a/tests/FSi/Component/DataGrid/Tests/Extension/Core/ColumnType/TextTest.php b/tests/Extension/Core/ColumnType/TextTest.php similarity index 100% rename from tests/FSi/Component/DataGrid/Tests/Extension/Core/ColumnType/TextTest.php rename to tests/Extension/Core/ColumnType/TextTest.php diff --git a/tests/FSi/Component/DataGrid/Tests/Extension/Core/ColumnTypeExtension/DefaultColumnOptionsExtensionTest.php b/tests/Extension/Core/ColumnTypeExtension/DefaultColumnOptionsExtensionTest.php similarity index 100% rename from tests/FSi/Component/DataGrid/Tests/Extension/Core/ColumnTypeExtension/DefaultColumnOptionsExtensionTest.php rename to tests/Extension/Core/ColumnTypeExtension/DefaultColumnOptionsExtensionTest.php diff --git a/tests/FSi/Component/DataGrid/Tests/Extension/Core/ColumnTypeExtension/ValueFormatColumnOptionsExtensionTest.php b/tests/Extension/Core/ColumnTypeExtension/ValueFormatColumnOptionsExtensionTest.php similarity index 100% rename from tests/FSi/Component/DataGrid/Tests/Extension/Core/ColumnTypeExtension/ValueFormatColumnOptionsExtensionTest.php rename to tests/Extension/Core/ColumnTypeExtension/ValueFormatColumnOptionsExtensionTest.php diff --git a/tests/FSi/Component/DataGrid/Tests/Extension/Core/CoreExtensionTest.php b/tests/Extension/Core/CoreExtensionTest.php similarity index 100% rename from tests/FSi/Component/DataGrid/Tests/Extension/Core/CoreExtensionTest.php rename to tests/Extension/Core/CoreExtensionTest.php diff --git a/tests/FSi/Component/DataGrid/Tests/Extension/Doctrine/ColumnType/EntityTypeTest.php b/tests/Extension/Doctrine/ColumnType/EntityTypeTest.php similarity index 100% rename from tests/FSi/Component/DataGrid/Tests/Extension/Doctrine/ColumnType/EntityTypeTest.php rename to tests/Extension/Doctrine/ColumnType/EntityTypeTest.php diff --git a/tests/FSi/Component/DataGrid/Tests/Extension/Doctrine/ColumnTypeExtension/ValueFormatColumnOptionsExtensionTest.php b/tests/Extension/Doctrine/ColumnTypeExtension/ValueFormatColumnOptionsExtensionTest.php similarity index 100% rename from tests/FSi/Component/DataGrid/Tests/Extension/Doctrine/ColumnTypeExtension/ValueFormatColumnOptionsExtensionTest.php rename to tests/Extension/Doctrine/ColumnTypeExtension/ValueFormatColumnOptionsExtensionTest.php diff --git a/tests/FSi/Component/DataGrid/Tests/Extension/Doctrine/DoctrineExtensionTest.php b/tests/Extension/Doctrine/DoctrineExtensionTest.php similarity index 100% rename from tests/FSi/Component/DataGrid/Tests/Extension/Doctrine/DoctrineExtensionTest.php rename to tests/Extension/Doctrine/DoctrineExtensionTest.php diff --git a/tests/FSi/Component/DataGrid/Tests/Extension/Gedmo/ColumnType/Tree/TreeTypeTest.php b/tests/Extension/Gedmo/ColumnType/Tree/TreeTypeTest.php similarity index 100% rename from tests/FSi/Component/DataGrid/Tests/Extension/Gedmo/ColumnType/Tree/TreeTypeTest.php rename to tests/Extension/Gedmo/ColumnType/Tree/TreeTypeTest.php diff --git a/tests/FSi/Component/DataGrid/Tests/Extension/Gedmo/GedmoDoctrineExtensionTest.php b/tests/Extension/Gedmo/GedmoDoctrineExtensionTest.php similarity index 100% rename from tests/FSi/Component/DataGrid/Tests/Extension/Gedmo/GedmoDoctrineExtensionTest.php rename to tests/Extension/Gedmo/GedmoDoctrineExtensionTest.php diff --git a/tests/FSi/Component/DataGrid/Tests/Extension/Symfony/ColumnType/ActionTest.php b/tests/Extension/Symfony/ColumnType/ActionTest.php similarity index 100% rename from tests/FSi/Component/DataGrid/Tests/Extension/Symfony/ColumnType/ActionTest.php rename to tests/Extension/Symfony/ColumnType/ActionTest.php diff --git a/tests/FSi/Component/DataGrid/Tests/Extension/Symfony/ColumnTypeExtension/FormExtensionTest.php b/tests/Extension/Symfony/ColumnTypeExtension/FormExtensionTest.php similarity index 100% rename from tests/FSi/Component/DataGrid/Tests/Extension/Symfony/ColumnTypeExtension/FormExtensionTest.php rename to tests/Extension/Symfony/ColumnTypeExtension/FormExtensionTest.php diff --git a/tests/FSi/Component/DataGrid/Tests/Extension/Symfony/EventSubscriber/BindRequestTest.php b/tests/Extension/Symfony/EventSubscriber/BindRequestTest.php similarity index 100% rename from tests/FSi/Component/DataGrid/Tests/Extension/Symfony/EventSubscriber/BindRequestTest.php rename to tests/Extension/Symfony/EventSubscriber/BindRequestTest.php diff --git a/tests/FSi/Component/DataGrid/Tests/Extension/Symfony/FormExtensionTest.php b/tests/Extension/Symfony/FormExtensionTest.php similarity index 100% rename from tests/FSi/Component/DataGrid/Tests/Extension/Symfony/FormExtensionTest.php rename to tests/Extension/Symfony/FormExtensionTest.php diff --git a/tests/FSi/Component/DataGrid/Tests/Extension/Symfony/SymfonyExtensionTest.php b/tests/Extension/Symfony/SymfonyExtensionTest.php similarity index 100% rename from tests/FSi/Component/DataGrid/Tests/Extension/Symfony/SymfonyExtensionTest.php rename to tests/Extension/Symfony/SymfonyExtensionTest.php diff --git a/tests/FSi/Component/DataGrid/Tests/Fixtures/ColumnType/FooType.php b/tests/Fixtures/ColumnType/FooType.php similarity index 100% rename from tests/FSi/Component/DataGrid/Tests/Fixtures/ColumnType/FooType.php rename to tests/Fixtures/ColumnType/FooType.php diff --git a/tests/FSi/Component/DataGrid/Tests/Fixtures/Entity.php b/tests/Fixtures/Entity.php similarity index 100% rename from tests/FSi/Component/DataGrid/Tests/Fixtures/Entity.php rename to tests/Fixtures/Entity.php diff --git a/tests/FSi/Component/DataGrid/Tests/Fixtures/EntityCategory.php b/tests/Fixtures/EntityCategory.php similarity index 100% rename from tests/FSi/Component/DataGrid/Tests/Fixtures/EntityCategory.php rename to tests/Fixtures/EntityCategory.php diff --git a/tests/FSi/Component/DataGrid/Tests/Fixtures/EntityManagerMock.php b/tests/Fixtures/EntityManagerMock.php similarity index 100% rename from tests/FSi/Component/DataGrid/Tests/Fixtures/EntityManagerMock.php rename to tests/Fixtures/EntityManagerMock.php diff --git a/tests/FSi/Component/DataGrid/Tests/Fixtures/EntityMapper.php b/tests/Fixtures/EntityMapper.php similarity index 100% rename from tests/FSi/Component/DataGrid/Tests/Fixtures/EntityMapper.php rename to tests/Fixtures/EntityMapper.php diff --git a/tests/FSi/Component/DataGrid/Tests/Fixtures/EntityRepositoryMock.php b/tests/Fixtures/EntityRepositoryMock.php similarity index 100% rename from tests/FSi/Component/DataGrid/Tests/Fixtures/EntityRepositoryMock.php rename to tests/Fixtures/EntityRepositoryMock.php diff --git a/tests/FSi/Component/DataGrid/Tests/Fixtures/EntityTree.php b/tests/Fixtures/EntityTree.php similarity index 100% rename from tests/FSi/Component/DataGrid/Tests/Fixtures/EntityTree.php rename to tests/Fixtures/EntityTree.php diff --git a/tests/FSi/Component/DataGrid/Tests/Fixtures/EventManagerMock.php b/tests/Fixtures/EventManagerMock.php similarity index 100% rename from tests/FSi/Component/DataGrid/Tests/Fixtures/EventManagerMock.php rename to tests/Fixtures/EventManagerMock.php diff --git a/tests/FSi/Component/DataGrid/Tests/Fixtures/FooExtension.php b/tests/Fixtures/FooExtension.php similarity index 100% rename from tests/FSi/Component/DataGrid/Tests/Fixtures/FooExtension.php rename to tests/Fixtures/FooExtension.php diff --git a/tests/FSi/Component/DataGrid/Tests/Fixtures/GedmoTreeListenerMock.php b/tests/Fixtures/GedmoTreeListenerMock.php similarity index 100% rename from tests/FSi/Component/DataGrid/Tests/Fixtures/GedmoTreeListenerMock.php rename to tests/Fixtures/GedmoTreeListenerMock.php