mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-24 11:44:14 +01:00
ebd4c3fee6
[Renaming] Skip renaming method call on RenameMethodRector when both old and new exists, which implements interface as config (#2276)
11 lines
358 B
PHP
11 lines
358 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace RectorPrefix20220511;
|
|
|
|
use Rector\Config\RectorConfig;
|
|
use Rector\Symfony\Rector\ClassMethod\TemplateAnnotationToThisRenderRector;
|
|
return static function (\Rector\Config\RectorConfig $rectorConfig) : void {
|
|
$rectorConfig->rule(\Rector\Symfony\Rector\ClassMethod\TemplateAnnotationToThisRenderRector::class);
|
|
};
|