Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Workflow] Deprecate InvalidTokenConfigurationException #40202

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 15, 2021

Conversation

chalasr
Copy link
Member

@chalasr chalasr commented Feb 15, 2021

Q A
Branch? 5.x
Bug fix? no
New feature? no
Deprecations? yes
Tickets -
License MIT
Doc PR -

@fabpot
Copy link
Member

fabpot commented Feb 15, 2021

Thank you @chalasr.

@fabpot fabpot merged commit 1b94d88 into symfony:5.x Feb 15, 2021
@chalasr chalasr deleted the deprecate-wf-ex branch February 15, 2021 17:44
@@ -11,10 +11,14 @@

namespace Symfony\Component\Workflow\Exception;

trigger_deprecation('symfony/workflow', '5.3', sprintf('The "%s" class is deprecated.', InvalidTokenConfigurationException::class));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While checking the doc issue for this (symfony/symfony-docs#14987) I found this PR. I think we should always include an alternative in the deprecation messages.

If the developer sees just this message -> "The InvalidTokenConfigurationException class is deprecated." they don't know what to do. OK, it's deprecated but ... is there a new class that replaces it? Is this gone for good without an alternative?

Thanks!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes it's gone. This exception is not thrown anymore by symfony.

@fabpot fabpot mentioned this pull request Apr 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.