This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/Notifier/Bridge
Fabien Potencier 2235be0864 feature #36516 [Notifier] Throw an exception when the Slack DSN is not valid (fabpot)
This PR was merged into the 5.1-dev branch.

Discussion
----------

[Notifier] Throw an exception when the Slack DSN is not valid

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | yes-ish
| New feature?  | yes-ish <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tickets       | n/a <!-- prefix each issue number with "Fix #", if any -->
| License       | MIT
| Doc PR        | n/a

Improved errors in case of a DSN issue.
+ proper error for the Slack DSN when path is empty (will help catch when people haven't updated their Slack DSN for 5.1).

Commits
-------

6b1a64a642 [Notifier] Throw an exception when the Slack DSN is not valid
2020-04-21 15:48:22 +02:00
..
Firebase Fix wrong version in composer.json 2020-04-21 15:43:00 +02:00
FreeMobile feature #36516 [Notifier] Throw an exception when the Slack DSN is not valid (fabpot) 2020-04-21 15:48:22 +02:00
Mattermost Leverage PHP8's get_debug_type() 2020-03-16 17:46:21 +01:00
Nexmo [Notifier] Mark the component as experimental in 5.1 2020-04-21 13:50:35 +02:00
OvhCloud Leverage PHP8's get_debug_type() 2020-03-16 17:46:21 +01:00
RocketChat Leverage PHP8's get_debug_type() 2020-03-16 17:46:21 +01:00
Sinch Leverage PHP8's get_debug_type() 2020-03-16 17:46:21 +01:00
Slack [Notifier] Throw an exception when the Slack DSN is not valid 2020-04-21 15:15:11 +02:00
Telegram [Notifier] Throw an exception when the Slack DSN is not valid 2020-04-21 15:15:11 +02:00
Twilio [Notifier] Mark the component as experimental in 5.1 2020-04-21 13:50:35 +02:00