Skip to content

Commit 8121983

Browse files
committed
Merge branch '5.4' into 6.0
* 5.4: [Notifier] Fix package name [Notifier] Fix package name Bump Symfony version to 5.4.0 Update VERSION for 5.4.0-BETA2 Update CHANGELOG for 5.4.0-BETA2
2 parents 1e1376e + 3ea1ad0 commit 8121983

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,
@@ -58,7 +58,7 @@ class UnsupportedSchemeException extends LogicException
5858
],
5959
'gatewayapi' => [
6060
'class' => Bridge\GatewayApi\GatewayApiTransportFactory::class,
61-
'package' => 'symfony/gatewayapi-notifier',
61+
'package' => 'symfony/gateway-api-notifier',
6262
],
6363
'gitter' => [
6464
'class' => Bridge\Gitter\GitterTransportFactory::class,

Tests/Exception/UnsupportedSchemeExceptionTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public function testMessageWhereSchemeIsPartOfSchemeToPackageMap(string $scheme,
127127

128128
public function messageWhereSchemeIsPartOfSchemeToPackageMapProvider(): \Generator
129129
{
130-
yield ['allmysms', 'symfony/allmysms-notifier'];
130+
yield ['allmysms', 'symfony/all-my-sms-notifier'];
131131
yield ['sns', 'symfony/amazon-sns-notifier'];
132132
yield ['clickatell', 'symfony/clickatell-notifier'];
133133
yield ['discord', 'symfony/discord-notifier'];
@@ -136,7 +136,7 @@ public function messageWhereSchemeIsPartOfSchemeToPackageMapProvider(): \Generat
136136
yield ['fakesms', 'symfony/fake-sms-notifier'];
137137
yield ['firebase', 'symfony/firebase-notifier'];
138138
yield ['freemobile', 'symfony/free-mobile-notifier'];
139-
yield ['gatewayapi', 'symfony/gatewayapi-notifier'];
139+
yield ['gatewayapi', 'symfony/gateway-api-notifier'];
140140
yield ['gitter', 'symfony/gitter-notifier'];
141141
yield ['googlechat', 'symfony/google-chat-notifier'];
142142
yield ['infobip', 'symfony/infobip-notifier'];

0 commit comments

Comments
 (0)