2021-05-02 12:46:55 +02:00
|
|
|
<?php
|
|
|
|
|
2021-05-09 20:15:43 +00:00
|
|
|
declare (strict_types=1);
|
2022-02-11 08:39:14 +00:00
|
|
|
namespace RectorPrefix20220211;
|
2021-05-02 12:46:55 +02:00
|
|
|
|
2021-05-14 09:53:43 +00:00
|
|
|
use Rector\Php81\Rector\Class_\MyCLabsClassToEnumRector;
|
2021-09-21 11:16:07 +00:00
|
|
|
use Rector\Php81\Rector\Class_\SpatieEnumClassToEnumRector;
|
2021-07-22 23:37:17 +00:00
|
|
|
use Rector\Php81\Rector\ClassConst\FinalizePublicClassConstantRector;
|
2021-11-13 16:23:20 +00:00
|
|
|
use Rector\Php81\Rector\ClassMethod\NewInInitializerRector;
|
2022-01-13 13:02:46 +00:00
|
|
|
use Rector\Php81\Rector\FuncCall\NullToStrictStringFuncCallArgRector;
|
2021-11-03 09:03:16 +00:00
|
|
|
use Rector\Php81\Rector\FuncCall\Php81ResourceReturnToObjectRector;
|
2021-11-14 12:07:09 +00:00
|
|
|
use Rector\Php81\Rector\FunctionLike\IntersectionTypesRector;
|
2021-05-14 09:53:43 +00:00
|
|
|
use Rector\Php81\Rector\MethodCall\MyCLabsMethodCallToEnumConstRector;
|
2021-08-02 09:44:00 +00:00
|
|
|
use Rector\Php81\Rector\Property\ReadOnlyPropertyRector;
|
2021-05-02 12:46:55 +02:00
|
|
|
use Rector\TypeDeclaration\Rector\ClassMethod\ReturnNeverTypeRector;
|
2021-06-02 10:21:10 +00:00
|
|
|
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
|
|
|
|
return static function (\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator $containerConfigurator) : void {
|
2021-05-02 12:46:55 +02:00
|
|
|
$services = $containerConfigurator->services();
|
2021-05-10 22:23:08 +00:00
|
|
|
$services->set(\Rector\TypeDeclaration\Rector\ClassMethod\ReturnNeverTypeRector::class);
|
2021-05-14 09:53:43 +00:00
|
|
|
$services->set(\Rector\Php81\Rector\Class_\MyCLabsClassToEnumRector::class);
|
|
|
|
$services->set(\Rector\Php81\Rector\MethodCall\MyCLabsMethodCallToEnumConstRector::class);
|
2021-07-22 23:37:17 +00:00
|
|
|
$services->set(\Rector\Php81\Rector\ClassConst\FinalizePublicClassConstantRector::class);
|
|
|
|
$services->set(\Rector\Php81\Rector\Property\ReadOnlyPropertyRector::class);
|
2021-09-21 11:16:07 +00:00
|
|
|
$services->set(\Rector\Php81\Rector\Class_\SpatieEnumClassToEnumRector::class);
|
2021-11-03 09:03:16 +00:00
|
|
|
$services->set(\Rector\Php81\Rector\FuncCall\Php81ResourceReturnToObjectRector::class);
|
2021-11-13 16:23:20 +00:00
|
|
|
$services->set(\Rector\Php81\Rector\ClassMethod\NewInInitializerRector::class);
|
2021-11-14 12:07:09 +00:00
|
|
|
$services->set(\Rector\Php81\Rector\FunctionLike\IntersectionTypesRector::class);
|
2022-01-13 13:02:46 +00:00
|
|
|
$services->set(\Rector\Php81\Rector\FuncCall\NullToStrictStringFuncCallArgRector::class);
|
2021-05-02 12:46:55 +02:00
|
|
|
};
|