Skip to content

Commit 798fe05

Browse files
committed
[Workflow] Deprecate InvalidTokenConfigurationException
1 parent 1d035c9 commit 798fe05

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

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

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)