mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
DX: comment the examples in rule definition
As this is genearte error in both phpunits and php-cs-fixer
This commit is contained in:
parent
c2a734b30b
commit
3fb97c3945
@ -32,7 +32,7 @@ class ChillBundleAddFormDefaultDataOnExportFilterAggregatorRector extends Abstra
|
|||||||
{
|
{
|
||||||
return new RuleDefinition(
|
return new RuleDefinition(
|
||||||
'Add a getFormDefault data method on exports, filters and aggregators, filled with default data',
|
'Add a getFormDefault data method on exports, filters and aggregators, filled with default data',
|
||||||
[
|
[/*
|
||||||
<<<PHP
|
<<<PHP
|
||||||
use Chill\MainBundle\Export\FilterInterface;
|
use Chill\MainBundle\Export\FilterInterface;
|
||||||
use Chill\MainBundle\Form\Type\PickRollingDateType;
|
use Chill\MainBundle\Form\Type\PickRollingDateType;
|
||||||
@ -83,7 +83,7 @@ class MyClass implements FilterInterface
|
|||||||
return ['foo' => new RollingDate(RollingDate::T_TODAY), 'baz' => 'Castor'];
|
return ['foo' => new RollingDate(RollingDate::T_TODAY), 'baz' => 'Castor'];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
PHP
|
PHP */
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user