@@ -2402,42 +2402,42 @@ private function registerNotifierConfiguration(array $config, ContainerBuilder $
24022402
24032403 $ classToServices = [
24042404 AllMySmsTransportFactory::class => 'notifier.transport_factory.all-my-sms ' ,
2405- AmazonSnsTransportFactory::class => 'notifier.transport_factory.amazonsns ' ,
2405+ AmazonSnsTransportFactory::class => 'notifier.transport_factory.amazon-sns ' ,
24062406 ClickatellTransportFactory::class => 'notifier.transport_factory.clickatell ' ,
24072407 DiscordTransportFactory::class => 'notifier.transport_factory.discord ' ,
24082408 EsendexTransportFactory::class => 'notifier.transport_factory.esendex ' ,
24092409 ExpoTransportFactory::class => 'notifier.transport_factory.expo ' ,
2410- FakeChatTransportFactory::class => 'notifier.transport_factory.fakechat ' ,
2411- FakeSmsTransportFactory::class => 'notifier.transport_factory.fakesms ' ,
2410+ FakeChatTransportFactory::class => 'notifier.transport_factory.fake-chat ' ,
2411+ FakeSmsTransportFactory::class => 'notifier.transport_factory.fake-sms ' ,
24122412 FirebaseTransportFactory::class => 'notifier.transport_factory.firebase ' ,
2413- FreeMobileTransportFactory::class => 'notifier.transport_factory.freemobile ' ,
2413+ FreeMobileTransportFactory::class => 'notifier.transport_factory.free-mobile ' ,
24142414 GatewayApiTransportFactory::class => 'notifier.transport_factory.gateway-api ' ,
24152415 GitterTransportFactory::class => 'notifier.transport_factory.gitter ' ,
2416- GoogleChatTransportFactory::class => 'notifier.transport_factory.googlechat ' ,
2416+ GoogleChatTransportFactory::class => 'notifier.transport_factory.google-chat ' ,
24172417 InfobipTransportFactory::class => 'notifier.transport_factory.infobip ' ,
24182418 IqsmsTransportFactory::class => 'notifier.transport_factory.iqsms ' ,
2419- LightSmsTransportFactory::class => 'notifier.transport_factory.lightsms ' ,
2420- LinkedInTransportFactory::class => 'notifier.transport_factory.linkedin ' ,
2419+ LightSmsTransportFactory::class => 'notifier.transport_factory.light-sms ' ,
2420+ LinkedInTransportFactory::class => 'notifier.transport_factory.linked-in ' ,
24212421 MailjetNotifierTransportFactory::class => 'notifier.transport_factory.mailjet ' ,
24222422 MattermostTransportFactory::class => 'notifier.transport_factory.mattermost ' ,
24232423 MercureTransportFactory::class => 'notifier.transport_factory.mercure ' ,
2424- MessageBirdTransport::class => 'notifier.transport_factory.messagebird ' ,
2425- MessageMediaTransportFactory::class => 'notifier.transport_factory.messagemedia ' ,
2426- MicrosoftTeamsTransportFactory::class => 'notifier.transport_factory.microsoftteams ' ,
2424+ MessageBirdTransport::class => 'notifier.transport_factory.message-bird ' ,
2425+ MessageMediaTransportFactory::class => 'notifier.transport_factory.message-media ' ,
2426+ MicrosoftTeamsTransportFactory::class => 'notifier.transport_factory.microsoft-teams ' ,
24272427 MobytTransportFactory::class => 'notifier.transport_factory.mobyt ' ,
24282428 NexmoTransportFactory::class => 'notifier.transport_factory.nexmo ' ,
24292429 OctopushTransportFactory::class => 'notifier.transport_factory.octopush ' ,
2430- OneSignalTransportFactory::class => 'notifier.transport_factory.onesignal ' ,
2431- OvhCloudTransportFactory::class => 'notifier.transport_factory.ovhcloud ' ,
2432- RocketChatTransportFactory::class => 'notifier.transport_factory.rocketchat ' ,
2430+ OneSignalTransportFactory::class => 'notifier.transport_factory.one-signal ' ,
2431+ OvhCloudTransportFactory::class => 'notifier.transport_factory.ovh-cloud ' ,
2432+ RocketChatTransportFactory::class => 'notifier.transport_factory.rocket-chat ' ,
24332433 SendinblueNotifierTransportFactory::class => 'notifier.transport_factory.sendinblue ' ,
24342434 SinchTransportFactory::class => 'notifier.transport_factory.sinch ' ,
24352435 SlackTransportFactory::class => 'notifier.transport_factory.slack ' ,
24362436 Sms77TransportFactory::class => 'notifier.transport_factory.sms77 ' ,
24372437 SmsapiTransportFactory::class => 'notifier.transport_factory.smsapi ' ,
2438- SmsBiurasTransportFactory::class => 'notifier.transport_factory.smsbiuras ' ,
2438+ SmsBiurasTransportFactory::class => 'notifier.transport_factory.sms-biuras ' ,
24392439 SmscTransportFactory::class => 'notifier.transport_factory.smsc ' ,
2440- SpotHitTransportFactory::class => 'notifier.transport_factory.spothit ' ,
2440+ SpotHitTransportFactory::class => 'notifier.transport_factory.spot-hit ' ,
24412441 TelegramTransportFactory::class => 'notifier.transport_factory.telegram ' ,
24422442 TelnyxTransportFactory::class => 'notifier.transport_factory.telnyx ' ,
24432443 TurboSmsTransport::class => 'notifier.transport_factory.turbo-sms ' ,
@@ -2449,24 +2449,7 @@ private function registerNotifierConfiguration(array $config, ContainerBuilder $
24492449 $ parentPackages = ['symfony/framework-bundle ' , 'symfony/notifier ' ];
24502450
24512451 foreach ($ classToServices as $ class => $ service ) {
2452- switch ($ package = substr ($ service , \strlen ('notifier.transport_factory. ' ))) {
2453- case 'amazonsns ' : $ package = 'amazon-sns ' ; break ;
2454- case 'fakechat ' : $ package = 'fake-chat ' ; break ;
2455- case 'fakesms ' : $ package = 'fake-sms ' ; break ;
2456- case 'freemobile ' : $ package = 'free-mobile ' ; break ;
2457- case 'googlechat ' : $ package = 'google-chat ' ; break ;
2458- case 'lightsms ' : $ package = 'light-sms ' ; break ;
2459- case 'linkedin ' : $ package = 'linked-in ' ; break ;
2460- case 'messagebird ' : $ package = 'message-bird ' ; break ;
2461- case 'messagemedia ' : $ package = 'message-media ' ; break ;
2462- case 'microsoftteams ' : $ package = 'microsoft-teams ' ; break ;
2463- case 'onesignal ' : $ package = 'one-signal ' ; break ;
2464- case 'ovhcloud ' : $ package = 'ovh-cloud ' ; break ;
2465- case 'rocketchat ' : $ package = 'rocket-chat ' ; break ;
2466- case 'smsbiuras ' : $ package = 'sms-biuras ' ; break ;
2467- case 'spothit ' : $ package = 'spot-hit ' ; break ;
2468- case 'turbosms ' : $ package = 'turbo-sms ' ; break ;
2469- }
2452+ $ package = substr ($ service , \strlen ('notifier.transport_factory. ' ));
24702453
24712454 if (!ContainerBuilder::willBeAvailable (sprintf ('symfony/%s-notifier ' , $ package ), $ class , $ parentPackages )) {
24722455 $ container ->removeDefinition ($ service );
0 commit comments