@@ -2402,42 +2402,42 @@ private function registerNotifierConfiguration(array $config, ContainerBuilder $
2402
2402
2403
2403
$ classToServices = [
2404
2404
AllMySmsTransportFactory::class => 'notifier.transport_factory.all-my-sms ' ,
2405
- AmazonSnsTransportFactory::class => 'notifier.transport_factory.amazonsns ' ,
2405
+ AmazonSnsTransportFactory::class => 'notifier.transport_factory.amazon-sns ' ,
2406
2406
ClickatellTransportFactory::class => 'notifier.transport_factory.clickatell ' ,
2407
2407
DiscordTransportFactory::class => 'notifier.transport_factory.discord ' ,
2408
2408
EsendexTransportFactory::class => 'notifier.transport_factory.esendex ' ,
2409
2409
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 ' ,
2412
2412
FirebaseTransportFactory::class => 'notifier.transport_factory.firebase ' ,
2413
- FreeMobileTransportFactory::class => 'notifier.transport_factory.freemobile ' ,
2413
+ FreeMobileTransportFactory::class => 'notifier.transport_factory.free-mobile ' ,
2414
2414
GatewayApiTransportFactory::class => 'notifier.transport_factory.gateway-api ' ,
2415
2415
GitterTransportFactory::class => 'notifier.transport_factory.gitter ' ,
2416
- GoogleChatTransportFactory::class => 'notifier.transport_factory.googlechat ' ,
2416
+ GoogleChatTransportFactory::class => 'notifier.transport_factory.google-chat ' ,
2417
2417
InfobipTransportFactory::class => 'notifier.transport_factory.infobip ' ,
2418
2418
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 ' ,
2421
2421
MailjetNotifierTransportFactory::class => 'notifier.transport_factory.mailjet ' ,
2422
2422
MattermostTransportFactory::class => 'notifier.transport_factory.mattermost ' ,
2423
2423
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 ' ,
2427
2427
MobytTransportFactory::class => 'notifier.transport_factory.mobyt ' ,
2428
2428
NexmoTransportFactory::class => 'notifier.transport_factory.nexmo ' ,
2429
2429
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 ' ,
2433
2433
SendinblueNotifierTransportFactory::class => 'notifier.transport_factory.sendinblue ' ,
2434
2434
SinchTransportFactory::class => 'notifier.transport_factory.sinch ' ,
2435
2435
SlackTransportFactory::class => 'notifier.transport_factory.slack ' ,
2436
2436
Sms77TransportFactory::class => 'notifier.transport_factory.sms77 ' ,
2437
2437
SmsapiTransportFactory::class => 'notifier.transport_factory.smsapi ' ,
2438
- SmsBiurasTransportFactory::class => 'notifier.transport_factory.smsbiuras ' ,
2438
+ SmsBiurasTransportFactory::class => 'notifier.transport_factory.sms-biuras ' ,
2439
2439
SmscTransportFactory::class => 'notifier.transport_factory.smsc ' ,
2440
- SpotHitTransportFactory::class => 'notifier.transport_factory.spothit ' ,
2440
+ SpotHitTransportFactory::class => 'notifier.transport_factory.spot-hit ' ,
2441
2441
TelegramTransportFactory::class => 'notifier.transport_factory.telegram ' ,
2442
2442
TelnyxTransportFactory::class => 'notifier.transport_factory.telnyx ' ,
2443
2443
TurboSmsTransport::class => 'notifier.transport_factory.turbo-sms ' ,
@@ -2449,24 +2449,7 @@ private function registerNotifierConfiguration(array $config, ContainerBuilder $
2449
2449
$ parentPackages = ['symfony/framework-bundle ' , 'symfony/notifier ' ];
2450
2450
2451
2451
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. ' ));
2470
2453
2471
2454
if (!ContainerBuilder::willBeAvailable (sprintf ('symfony/%s-notifier ' , $ package ), $ class , $ parentPackages )) {
2472
2455
$ container ->removeDefinition ($ service );
0 commit comments