feature #40202 [Workflow] Deprecate InvalidTokenConfigurationException (chalasr)

This PR was merged into the 5.3-dev branch.

Discussion
----------

[Workflow] Deprecate InvalidTokenConfigurationException

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

Commits
-------

6ed759189d [Workflow] Deprecate InvalidTokenConfigurationException
This commit is contained in:
Fabien Potencier 2021-02-15 18:16:52 +01:00
commit 1b94d88a28
4 changed files with 19 additions and 0 deletions

View File

@ -93,3 +93,8 @@ Uid
---
* Replaced `UuidV1::getTime()`, `UuidV6::getTime()` and `Ulid::getTime()` by `UuidV1::getDateTime()`, `UuidV6::getDateTime()` and `Ulid::getDateTime()`
Workflow
--------
* Deprecate `InvalidTokenConfigurationException`

View File

@ -263,6 +263,11 @@ Validator
->addDefaultDoctrineAnnotationReader();
```
Workflow
--------
* Remove `InvalidTokenConfigurationException`
Yaml
----

View File

@ -1,6 +1,11 @@
CHANGELOG
=========
5.3
---
* Deprecate `InvalidTokenConfigurationException`
5.2.0
-----

View File

@ -11,10 +11,14 @@
namespace Symfony\Component\Workflow\Exception;
trigger_deprecation('symfony/workflow', '5.3', sprintf('The "%s" class is deprecated.', InvalidTokenConfigurationException::class));
/**
* Thrown by GuardListener when there is no token set, but guards are placed on a transition.
*
* @author Matt Johnson <matj1985@gmail.com>
*
* @deprecated since Symfony 5.3
*/
class InvalidTokenConfigurationException extends LogicException
{