Skip to content
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

[Workflow] Deprecate InvalidTokenConfigurationException #40202

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.

@@ -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.

None yet

6 participants