8000 feature #40202 [Workflow] Deprecate InvalidTokenConfigurationExceptio… · symfony/symfony@1b94d88 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1b94d88

Browse files
committed
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 ------- 6ed7591 [Workflow] Deprecate InvalidTokenConfigurationException
2 parents 35a1558 + 6ed7591 commit 1b94d88

File tree

4 files changed

+19
-0
lines changed

4 files changed

+19
-0
lines changed

UPGRADE-5.3.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,8 @@ Uid
9393
---
9494

9595
* Replaced `UuidV1::getTime()`, `UuidV6::getTime()` and `Ulid::getTime()` by `UuidV1::getDateTime()`, `UuidV6::getDateTime()` and `Ulid::getDateTime()`
96+
97+
Workflow
98+
--------
99+
100+
* Deprecate `InvalidTokenConfigurationException`

UPGRADE-6.0.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,11 @@ Validator
263263
->addDefaultDoctrineAnnotationReader();
264264
```
265265

266+
Workflow
267+
--------
268+
269+
* Remove `InvalidTokenConfigurationException`
270+
266271
Yaml
267272
----
268273

src/Symfony/Component/Workflow/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
CHANGELOG
22
=========
33

4+
5.3
5+
---
6+
7+
* Deprecate `InvalidTokenConfigurationException`
8+
49
5.2.0
510
-----
611

src/Symfony/Component/Workflow/Exception/InvalidTokenConfigurationException.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,14 @@
1111

1212
namespace Symfony\Component\Workflow\Exception;
1313

14+
trigger_deprecation('symfony/workflow', '5.3', sprintf('The "%s" class is deprecated.', InvalidTokenConfigurationException::class));
15+
1416
/**
1517
* Thrown by GuardListener when there is no token set, but guards are placed on a transition.
1618
*
1719
* @author Matt Johnson <matj1985@gmail.com>
20+
*
21+
* @deprecated since Symfony 5.3
1822
*/
1923
class InvalidTokenConfigurationException extends LogicException
2024
{

0 commit comments

Comments
 (0)
0