mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-25 00:53:48 +00:00
change FilterInterface::describeAction signature to include context
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace Utils\Rector\Tests\ChillBundleAddFormDefaultDataOnExportFilterAggregatorRector\Fixture;
|
||||
|
||||
use Chill\MainBundle\Export\ExportGenerationContext;
|
||||
use Chill\MainBundle\Export\FilterInterface;
|
||||
use Chill\MainBundle\Form\Type\PickRollingDateType;
|
||||
use Chill\MainBundle\Service\RollingDate\RollingDate;
|
||||
@@ -11,7 +12,7 @@ use Symfony\Component\Form\FormBuilderInterface;
|
||||
|
||||
class MyClass implements FilterInterface
|
||||
{
|
||||
public function describeAction($data, $format = 'string')
|
||||
public function describeAction($data, ExportGenerationContext $context, $format = 'string')
|
||||
{
|
||||
// TODO: Implement describeAction() method.
|
||||
}
|
||||
@@ -57,6 +58,7 @@ class MyClass implements FilterInterface
|
||||
|
||||
namespace Utils\Rector\Tests\ChillBundleAddFormDefaultDataOnExportFilterAggregatorRector\Fixture;
|
||||
|
||||
use Chill\MainBundle\Export\ExportGenerationContext;
|
||||
use Chill\MainBundle\Export\FilterInterface;
|
||||
use Chill\MainBundle\Form\Type\PickRollingDateType;
|
||||
use Chill\MainBundle\Service\RollingDate\RollingDate;
|
||||
@@ -66,7 +68,7 @@ use Symfony\Component\Form\FormBuilderInterface;
|
||||
|
||||
class MyClass implements FilterInterface
|
||||
{
|
||||
public function describeAction($data, $format = 'string')
|
||||
public function describeAction($data, ExportGenerationContext $context, $format = 'string')
|
||||
{
|
||||
// TODO: Implement describeAction() method.
|
||||
}
|
||||
|
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace Utils\Rector\Tests\ChillBundleAddFormDefaultDataOnExportFilterAggregatorRector\Fixture;
|
||||
|
||||
use Chill\MainBundle\Export\ExportGenerationContext;
|
||||
use Chill\MainBundle\Export\FilterInterface;
|
||||
use Chill\MainBundle\Form\Type\PickRollingDateType;
|
||||
use Chill\MainBundle\Service\RollingDate\RollingDate;
|
||||
@@ -11,7 +12,7 @@ use Symfony\Component\Form\FormBuilderInterface;
|
||||
|
||||
class MyClass implements FilterInterface
|
||||
{
|
||||
public function describeAction($data, $format = 'string')
|
||||
public function describeAction($data, ExportGenerationContext $context, $format = 'string')
|
||||
{
|
||||
// TODO: Implement describeAction() method.
|
||||
}
|
||||
@@ -55,6 +56,7 @@ class MyClass implements FilterInterface
|
||||
|
||||
namespace Utils\Rector\Tests\ChillBundleAddFormDefaultDataOnExportFilterAggregatorRector\Fixture;
|
||||
|
||||
use Chill\MainBundle\Export\ExportGenerationContext;
|
||||
use Chill\MainBundle\Export\FilterInterface;
|
||||
use Chill\MainBundle\Form\Type\PickRollingDateType;
|
||||
use Chill\MainBundle\Service\RollingDate\RollingDate;
|
||||
@@ -64,7 +66,7 @@ use Symfony\Component\Form\FormBuilderInterface;
|
||||
|
||||
class MyClass implements FilterInterface
|
||||
{
|
||||
public function describeAction($data, $format = 'string')
|
||||
public function describeAction($data, ExportGenerationContext $context, $format = 'string')
|
||||
{
|
||||
// TODO: Implement describeAction() method.
|
||||
}
|
||||
|
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace Utils\Rector\Tests\ChillBundleAddFormDefaultDataOnExportFilterAggregatorRector\Fixture;
|
||||
|
||||
use Chill\MainBundle\Export\ExportGenerationContext;
|
||||
use Chill\MainBundle\Export\FilterInterface;
|
||||
use Chill\MainBundle\Form\Type\PickRollingDateType;
|
||||
use Chill\MainBundle\Service\RollingDate\RollingDate;
|
||||
@@ -11,7 +12,7 @@ use Symfony\Component\Form\FormBuilderInterface;
|
||||
|
||||
class MyClass implements FilterInterface
|
||||
{
|
||||
public function describeAction($data, $format = 'string')
|
||||
public function describeAction($data, ExportGenerationContext $context, $format = 'string')
|
||||
{
|
||||
// TODO: Implement describeAction() method.
|
||||
}
|
||||
@@ -53,6 +54,7 @@ class MyClass implements FilterInterface
|
||||
|
||||
namespace Utils\Rector\Tests\ChillBundleAddFormDefaultDataOnExportFilterAggregatorRector\Fixture;
|
||||
|
||||
use Chill\MainBundle\Export\ExportGenerationContext;
|
||||
use Chill\MainBundle\Export\FilterInterface;
|
||||
use Chill\MainBundle\Form\Type\PickRollingDateType;
|
||||
use Chill\MainBundle\Service\RollingDate\RollingDate;
|
||||
@@ -62,7 +64,7 @@ use Symfony\Component\Form\FormBuilderInterface;
|
||||
|
||||
class MyClass implements FilterInterface
|
||||
{
|
||||
public function describeAction($data, $format = 'string')
|
||||
public function describeAction($data, ExportGenerationContext $context, $format = 'string')
|
||||
{
|
||||
// TODO: Implement describeAction() method.
|
||||
}
|
||||
|
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace Utils\Rector\Tests\ChillBundleAddFormDefaultDataOnExportFilterAggregatorRector\Fixture;
|
||||
|
||||
use Chill\MainBundle\Export\ExportGenerationContext;
|
||||
use Chill\MainBundle\Export\FilterInterface;
|
||||
use Chill\MainBundle\Form\Type\PickRollingDateType;
|
||||
use Chill\MainBundle\Service\RollingDate\RollingDate;
|
||||
@@ -10,7 +11,7 @@ use Symfony\Component\Form\FormBuilderInterface;
|
||||
|
||||
class MyClass implements FilterInterface
|
||||
{
|
||||
public function describeAction($data, $format = 'string')
|
||||
public function describeAction($data, ExportGenerationContext $context, $format = 'string')
|
||||
{
|
||||
// TODO: Implement describeAction() method.
|
||||
}
|
||||
@@ -49,6 +50,7 @@ class MyClass implements FilterInterface
|
||||
|
||||
namespace Utils\Rector\Tests\ChillBundleAddFormDefaultDataOnExportFilterAggregatorRector\Fixture;
|
||||
|
||||
use Chill\MainBundle\Export\ExportGenerationContext;
|
||||
use Chill\MainBundle\Export\FilterInterface;
|
||||
use Chill\MainBundle\Form\Type\PickRollingDateType;
|
||||
use Chill\MainBundle\Service\RollingDate\RollingDate;
|
||||
@@ -57,7 +59,7 @@ use Symfony\Component\Form\FormBuilderInterface;
|
||||
|
||||
class MyClass implements FilterInterface
|
||||
{
|
||||
public function describeAction($data, $format = 'string')
|
||||
public function describeAction($data, ExportGenerationContext $context, $format = 'string')
|
||||
{
|
||||
// TODO: Implement describeAction() method.
|
||||
}
|
||||
|
@@ -2,13 +2,14 @@
|
||||
|
||||
namespace Utils\Rector\Tests\ChillBundleAddFormDefaultDataOnExportFilterAggregatorRector\Fixture;
|
||||
|
||||
use Chill\MainBundle\Export\ExportGenerationContext;
|
||||
use Chill\MainBundle\Export\FilterInterface;
|
||||
use Doctrine\ORM\QueryBuilder;
|
||||
use Symfony\Component\Form\FormBuilderInterface;
|
||||
|
||||
class MyClass implements FilterInterface
|
||||
{
|
||||
public function describeAction($data, $format = 'string')
|
||||
public function describeAction($data, ExportGenerationContext $context, $format = 'string')
|
||||
{
|
||||
// TODO: Implement describeAction() method.
|
||||
}
|
||||
@@ -44,13 +45,14 @@ class MyClass implements FilterInterface
|
||||
|
||||
namespace Utils\Rector\Tests\ChillBundleAddFormDefaultDataOnExportFilterAggregatorRector\Fixture;
|
||||
|
||||
use Chill\MainBundle\Export\ExportGenerationContext;
|
||||
use Chill\MainBundle\Export\FilterInterface;
|
||||
use Doctrine\ORM\QueryBuilder;
|
||||
use Symfony\Component\Form\FormBuilderInterface;
|
||||
|
||||
class MyClass implements FilterInterface
|
||||
{
|
||||
public function describeAction($data, $format = 'string')
|
||||
public function describeAction($data, ExportGenerationContext $context, $format = 'string')
|
||||
{
|
||||
// TODO: Implement describeAction() method.
|
||||
}
|
||||
|
@@ -2,13 +2,14 @@
|
||||
|
||||
namespace Utils\Rector\Tests\ChillBundleAddFormDefaultDataOnExportFilterAggregatorRector\Fixture;
|
||||
|
||||
use Chill\MainBundle\Export\ExportGenerationContext;
|
||||
use Chill\MainBundle\Export\FilterInterface;
|
||||
use Doctrine\ORM\QueryBuilder;
|
||||
use Symfony\Component\Form\FormBuilderInterface;
|
||||
|
||||
class MyClass implements FilterInterface
|
||||
{
|
||||
public function describeAction($data, $format = 'string')
|
||||
public function describeAction($data, ExportGenerationContext $context, $format = 'string')
|
||||
{
|
||||
// TODO: Implement describeAction() method.
|
||||
}
|
||||
|
@@ -29,7 +29,7 @@ class MyFilter implements FilterInterface
|
||||
return [];
|
||||
}
|
||||
|
||||
public function describeAction($data, $format = 'string')
|
||||
public function describeAction($data, \Chill\MainBundle\Export\ExportGenerationContext $context, $format = 'string')
|
||||
{
|
||||
return [];
|
||||
}
|
||||
@@ -96,7 +96,7 @@ class MyFilter implements FilterInterface
|
||||
return [];
|
||||
}
|
||||
|
||||
public function describeAction($data, $format = 'string')
|
||||
public function describeAction($data, \Chill\MainBundle\Export\ExportGenerationContext $context, $format = 'string')
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
@@ -32,7 +32,7 @@ class MyFilter implements FilterInterface
|
||||
return [];
|
||||
}
|
||||
|
||||
public function describeAction($data, $format = 'string')
|
||||
public function describeAction($data, \Chill\MainBundle\Export\ExportGenerationContext $context, $format = 'string')
|
||||
{
|
||||
return [];
|
||||
}
|
||||
@@ -102,7 +102,7 @@ class MyFilter implements FilterInterface
|
||||
return [];
|
||||
}
|
||||
|
||||
public function describeAction($data, $format = 'string')
|
||||
public function describeAction($data, \Chill\MainBundle\Export\ExportGenerationContext $context, $format = 'string')
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
@@ -24,7 +24,7 @@ class MyFilter implements FilterInterface
|
||||
return [];
|
||||
}
|
||||
|
||||
public function describeAction($data, $format = 'string')
|
||||
public function describeAction($data, \Chill\MainBundle\Export\ExportGenerationContext $context, $format = 'string')
|
||||
{
|
||||
return [];
|
||||
}
|
||||
@@ -85,7 +85,7 @@ class MyFilter implements FilterInterface
|
||||
return [];
|
||||
}
|
||||
|
||||
public function describeAction($data, $format = 'string')
|
||||
public function describeAction($data, \Chill\MainBundle\Export\ExportGenerationContext $context, $format = 'string')
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
@@ -33,7 +33,7 @@ class MyFilterUpdated implements FilterInterface
|
||||
return 1;
|
||||
}
|
||||
|
||||
public function describeAction($data, $format = 'string')
|
||||
public function describeAction($data, \Chill\MainBundle\Export\ExportGenerationContext $context, $format = 'string')
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
Reference in New Issue
Block a user