mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-08 20:22:24 +00:00
7e1e20e9f2
17b86d4b77
[CodeQuality] Remove unnecessary check next return removed no SimplifyIfElseToTernaryRector (#2457)
13 lines
468 B
PHP
13 lines
468 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace RectorPrefix20220609;
|
|
|
|
use Rector\Config\RectorConfig;
|
|
use Rector\Symfony\Rector\ClassMethod\RemoveServiceFromSensioRouteRector;
|
|
use Rector\Symfony\Rector\ClassMethod\ReplaceSensioRouteAnnotationWithSymfonyRector;
|
|
return static function (RectorConfig $rectorConfig) : void {
|
|
$rectorConfig->rule(ReplaceSensioRouteAnnotationWithSymfonyRector::class);
|
|
$rectorConfig->rule(RemoveServiceFromSensioRouteRector::class);
|
|
};
|