DX: comment the examples in rule definition

As this is genearte error in both phpunits and php-cs-fixer
This commit is contained in:
Julien Fastré 2023-06-16 14:07:49 +02:00
parent c2a734b30b
commit 3fb97c3945
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB

View File

@ -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 */
] ]
); );
} }