rector/vendor/rector/extension-installer/rector.php
2023-02-02 09:24:12 +00:00

14 lines
560 B
PHP

<?php
declare (strict_types=1);
namespace RectorPrefix202302;
use Rector\Php74\Rector\Property\TypedPropertyRector;
use Rector\Php80\Rector\Class_\ClassPropertyAssignToConstructorPromotionRector;
use RectorPrefix202302\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
return static function (ContainerConfigurator $containerConfigurator) : void {
$services = $containerConfigurator->services();
$services->set(TypedPropertyRector::class);
$services->set(ClassPropertyAssignToConstructorPromotionRector::class);
};