rector/config/set/php81.php
Tomas Votruba 1a63f1a06c Updated Rector to commit 6fe5a9f4f1757893d30fb91cf07659395b73676b
6fe5a9f4f1 [Downgrade PHP 7.3] Add DowngradeIsCountableRector (#128)
2021-05-31 09:35:19 +00:00

16 lines
852 B
PHP

<?php
declare (strict_types=1);
namespace RectorPrefix20210531;
use Rector\Php81\Rector\Class_\MyCLabsClassToEnumRector;
use Rector\Php81\Rector\MethodCall\MyCLabsMethodCallToEnumConstRector;
use Rector\TypeDeclaration\Rector\ClassMethod\ReturnNeverTypeRector;
use RectorPrefix20210531\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
return static function (\RectorPrefix20210531\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator $containerConfigurator) : void {
$services = $containerConfigurator->services();
$services->set(\Rector\TypeDeclaration\Rector\ClassMethod\ReturnNeverTypeRector::class);
$services->set(\Rector\Php81\Rector\Class_\MyCLabsClassToEnumRector::class);
$services->set(\Rector\Php81\Rector\MethodCall\MyCLabsMethodCallToEnumConstRector::class);
};