mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-24 03:35:01 +01:00
dc6bd9680c
[e2e] Handle Parent Property empty missing Scope on StaticCallToMethodCallRector+RenameClassRector (#2396)
13 lines
553 B
PHP
13 lines
553 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace RectorPrefix20220531;
|
|
|
|
use Rector\Config\RectorConfig;
|
|
use Rector\Symfony\Rector\ClassMethod\RemoveServiceFromSensioRouteRector;
|
|
use Rector\Symfony\Rector\ClassMethod\ReplaceSensioRouteAnnotationWithSymfonyRector;
|
|
return static function (\Rector\Config\RectorConfig $rectorConfig) : void {
|
|
$rectorConfig->rule(\Rector\Symfony\Rector\ClassMethod\ReplaceSensioRouteAnnotationWithSymfonyRector::class);
|
|
$rectorConfig->rule(\Rector\Symfony\Rector\ClassMethod\RemoveServiceFromSensioRouteRector::class);
|
|
};
|