mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-20 23:18:20 +01:00
17 lines
492 B
PHP
17 lines
492 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Rector\Renaming\Rector\Class_\RenameClassRector;
|
|
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
|
|
|
|
return static function (ContainerConfigurator $containerConfigurator): void {
|
|
$services = $containerConfigurator->services();
|
|
|
|
$services->set(RenameClassRector::class)
|
|
->arg('$oldToNewClasses', [
|
|
# swiftmailer 60
|
|
'Swift_Mime_Message' => 'Swift_Mime_SimpleMessage',
|
|
]);
|
|
};
|