Skip to content

Commit 383f218

Browse files
committed
[Notifier] Fix package name
1 parent 71d3d7f commit 383f218

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Exception/UnsupportedSchemeException.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class UnsupportedSchemeException extends LogicException
2222
private const SCHEME_TO_PACKAGE_MAP = [
2323
'allmysms' => [
2424
'class' => Bridge\AllMySms\AllMySmsTransportFactory::class,
25-
'package' => 'symfony/allmysms-notifier',
25+
'package' => 'symfony/all-my-sms-notifier',
2626
],
2727
'clickatell' => [
2828
'class' => Bridge\Clickatell\ClickatellTransportFactory::class,
@@ -54,7 +54,7 @@ class UnsupportedSchemeException extends LogicException
5454
],
5555
'gatewayapi' => [
5656
'class' => Bridge\GatewayApi\GatewayApiTransportFactory::class,
57-
'package' => 'symfony/gatewayapi-notifier',
57+
'package' => 'symfony/gateway-api-notifier',
5858
],
5959
'gitter' => [
6060
'class' => Bridge\Gitter\GitterTransportFactory::class,

Tests/Exception/UnsupportedSchemeExceptionTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,15 +109,15 @@ public function testMessageWhereSchemeIsPartOfSchemeToPackageMap(string $scheme,
109109

110110
public function messageWhereSchemeIsPartOfSchemeToPackageMapProvider(): \Generator
111111
{
112-
yield ['allmysms', 'symfony/allmysms-notifier'];
112+
yield ['allmysms', 'symfony/all-my-sms-notifier'];
113113
yield ['clickatell', 'symfony/clickatell-notifier'];
114114
yield ['discord', 'symfony/discord-notifier'];
115115
yield ['esendex', 'symfony/esendex-notifier'];
116116
yield ['fakechat', 'symfony/fake-chat-notifier'];
117117
yield ['fakesms', 'symfony/fake-sms-notifier'];
118118
yield ['firebase', 'symfony/firebase-notifier'];
119119
yield ['freemobile', 'symfony/free-mobile-notifier'];
120-
yield ['gatewayapi', 'symfony/gatewayapi-notifier'];
120+
yield ['gatewayapi', 'symfony/gateway-api-notifier'];
121121
yield ['gitter', 'symfony/gitter-notifier'];
122122
yield ['googlechat', 'symfony/google-chat-notifier'];
123123
yield ['infobip', 'symfony/infobip-notifier'];

0 commit comments

Comments
 (0)