Closed ddevsr closed 1 year ago
RemoveAnnotationRector
is implements ConfigurableRectorInterface
, you can configure:
<?php
declare(strict_types=1);
use Rector\Config\RectorConfig;
use Rector\DeadCode\Rector\ClassLike\RemoveAnnotationRector;
return static function (RectorConfig $rectorConfig): void {
$rectorConfig
->ruleWithConfiguration(RemoveAnnotationRector::class, ['method', 'JMS\DiExtraBundle\Annotation\InjectParams']);
};
or just remove the rule if you don't use it :)
Bug Report
vendor/bin/rector --version
)Rules
Debug
Expected Behaviour
Is related to
RemoveAnnotationRector
? i see on release 0.18.3 no one mentioned it at all