Skip to content

Commit

Permalink
Merge pull request #61 from chives/dev
Browse files Browse the repository at this point in the history
Added deprecation notices about symfony extensions
  • Loading branch information
rn0 committed Jun 10, 2015
2 parents 528548d + 1aad2b5 commit 21fe165
Show file tree
Hide file tree
Showing 100 changed files with 38 additions and 4 deletions.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
/**
Expand Down
2 changes: 1 addition & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
>
<testsuites>
<testsuite name="FSi DataGrid Component">
<directory>tests/FSi/Component/DataGrid/Tests</directory>
<directory>tests</directory>
</testsuite>
</testsuites>
</phpunit>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 21fe165

Please sign in to comment.