mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-23 11:14:38 +01:00
* [Downgrade] Drop ChangePhpVersionInPlatformCheckRector as not useful, paltform check false is good enough * fixup! [Downgrade] Drop ChangePhpVersionInPlatformCheckRector as not useful, paltform check false is good enough
14 lines
548 B
PHP
14 lines
548 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Rector\DowngradePhp70\Rector\FunctionLike\DowngradeTypeParamDeclarationRector;
|
|
use Rector\DowngradePhp70\Rector\FunctionLike\DowngradeTypeReturnDeclarationRector;
|
|
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
|
|
|
|
return static function (ContainerConfigurator $containerConfigurator): void {
|
|
$services = $containerConfigurator->services();
|
|
$services->set(DowngradeTypeParamDeclarationRector::class);
|
|
$services->set(DowngradeTypeReturnDeclarationRector::class);
|
|
};
|