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:
commit
1b94d88a28
@ -93,3 +93,8 @@ Uid
|
||||
---
|
||||
|
||||
* Replaced `UuidV1::getTime()`, `UuidV6::getTime()` and `Ulid::getTime()` by `UuidV1::getDateTime()`, `UuidV6::getDateTime()` and `Ulid::getDateTime()`
|
||||
|
||||
Workflow
|
||||
--------
|
||||
|
||||
* Deprecate `InvalidTokenConfigurationException`
|
||||
|
@ -263,6 +263,11 @@ Validator
|
||||
->addDefaultDoctrineAnnotationReader();
|
||||
```
|
||||
|
||||
Workflow
|
||||
--------
|
||||
|
||||
* Remove `InvalidTokenConfigurationException`
|
||||
|
||||
Yaml
|
||||
----
|
||||
|
||||
|
@ -1,6 +1,11 @@
|
||||
CHANGELOG
|
||||
=========
|
||||
|
||||
5.3
|
||||
---
|
||||
|
||||
* Deprecate `InvalidTokenConfigurationException`
|
||||
|
||||
5.2.0
|
||||
-----
|
||||
|
||||
|
@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user