mirror of
https://github.com/rectorphp/rector.git
synced 2024-05-28 23:10:51 +00:00
66cc09e8b6
d118ae38e2
Use phpstan-deprecation-rules (#3330)
14 lines
560 B
PHP
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);
|
|
};
|