rector/config/set/swiftmailer60.php
2020-07-21 00:46:53 +02:00

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',
]);
};