From d0f90f08a8e15b0f5a2c9dd08fa36e71ac9d7dcf Mon Sep 17 00:00:00 2001 From: mattamon Date: Fri, 1 Mar 2024 08:57:41 +0100 Subject: [PATCH] Remove unsued constant --- src/State/Token/PutProcessor.php | 2 -- tests/Unit/Resources/Token/PostProcessorTest.php | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/State/Token/PutProcessor.php b/src/State/Token/PutProcessor.php index a3b441d1b..8e12e0c6f 100644 --- a/src/State/Token/PutProcessor.php +++ b/src/State/Token/PutProcessor.php @@ -30,8 +30,6 @@ */ final class PutProcessor implements ProcessorInterface { - private const TOKEN_TTL = 3600; - private const OPERATION_URI_TEMPLATE = '/token/refresh'; public function __construct( diff --git a/tests/Unit/Resources/Token/PostProcessorTest.php b/tests/Unit/Resources/Token/PostProcessorTest.php index 983799733..1eeae4434 100644 --- a/tests/Unit/Resources/Token/PostProcessorTest.php +++ b/tests/Unit/Resources/Token/PostProcessorTest.php @@ -10,6 +10,9 @@ use Symfony\Component\PasswordHasher\Hasher\UserPasswordHasherInterface; use Symfony\Component\Security\Csrf\TokenGenerator\TokenGeneratorInterface; +/** + * @internal + */ final class PostProcessorTest extends Unit { private const TOKEN_TTL = 3600;