mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-11 19:15:10 +01:00
16 lines
682 B
PHP
16 lines
682 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Rector\DowngradePhp74\Rector\ArrowFunction\ArrowFunctionToAnonymousFunctionRector;
|
|
use Rector\DowngradePhp74\Rector\Coalesce\DowngradeNullCoalescingOperatorRector;
|
|
use Rector\DowngradePhp74\Rector\Property\DowngradeTypedPropertyRector;
|
|
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
|
|
|
|
return static function (ContainerConfigurator $containerConfigurator): void {
|
|
$services = $containerConfigurator->services();
|
|
$services->set(DowngradeTypedPropertyRector::class);
|
|
$services->set(ArrowFunctionToAnonymousFunctionRector::class);
|
|
$services->set(DowngradeNullCoalescingOperatorRector::class);
|
|
};
|