Skip to content

Commit d66a235

Browse files
committed
[Notifier] Fix changelog
1 parent f778142 commit d66a235

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/Symfony/Component/Notifier/CHANGELOG.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,20 @@ CHANGELOG
44
5.1.0
55
-----
66

7-
* The `EmailRecipientInterface` with `getEmail():string` methods was introduced.
7+
* The `EmailRecipientInterface` and `RecipientInterface` were introduced.
88
* Added `email` and and `phone` properties to `Recipient`.
9-
* The `Recipient` now implements `EmailRecipientInterface` and `SmsRecipientInterface`.
10-
* The `NoRecipient` now implements `EmailRecipientInterface` and `SmsRecipientInterface`.
11-
* [BC BREAK] Changed the type-hint of the `$recipient` argument in the `as*Message()` of the `EmailNotificationInterface` and `SmsNotificationInterface` to `EmailRecipientInterface` and `SmsRecipientInterface`.
9+
* [BC BREAK] Changed the type-hint of the `$recipient` argument in the `as*Message()`
10+
of the `EmailNotificationInterface` and `SmsNotificationInterface` to `EmailRecipientInterface`
11+
and `SmsRecipientInterface`.
1212
* [BC BREAK] Removed the `AdminRecipient`.
13-
* The `RecipientInterface` was introduced.
1413
* The `EmailRecipientInterface` and `SmsRecipientInterface` now extend the `RecipientInterface`.
15-
* The `EmailRecipient` and `SmsRecipient` was introduced
16-
* [BC BREAK] Changed the type-hint of the `$recipient` argument in `NotifierInterface::send()`, `Notifier::getChannels()`, `ChannelInterface::notifiy()` and `ChannelInterface::supports()` to `RecipientInterface`.
14+
* The `EmailRecipient` and `SmsRecipient` were introduced.
15+
* [BC BREAK] Changed the type-hint of the `$recipient` argument in `NotifierInterface::send()`,
16+
`Notifier::getChannels()`, `ChannelInterface::notifiy()` and `ChannelInterface::supports()` to
17+
`RecipientInterface`.
1718
* Changed `EmailChannel` to only support recipients which implement the `EmailRecipientInterface`.
1819
* Changed `SmsChannel` to only support recipients which implement the `SmsRecipientInterface`.
19-
* Added the Mattermost notifier bridge
20+
* Added the Mattermost notifier bridge.
2021
* [BC BREAK] The `ChatMessage::fromNotification()` method's `$recipient` and `$transport`
2122
arguments were removed.
2223
* [BC BREAK] The `EmailMessage::fromNotification()` and `SmsMessage::fromNotification()`

src/Symfony/Component/Notifier/Tests/Recipient/RecipientTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
use PHPUnit\Framework\TestCase;
1515
use Symfony\Component\Notifier\Exception\InvalidArgumentException;
16-
use Symfony\Component\Notifier\Recipient\EmailRecipient;
1716
use Symfony\Component\Notifier\Recipient\Recipient;
1817

1918
/**

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy