From 5b027d0415c7034200c3510a185c0eb13d522a81 Mon Sep 17 00:00:00 2001 From: Alex Karajos Date: Fri, 16 Aug 2024 11:55:08 +0300 Subject: [PATCH] Deprecate `SessionIdentifierAwareInterface` for removal in v2.0 (#61) --- psalm-baseline.xml | 13 +++++++++++++ src/SessionIdentifierAwareInterface.php | 4 ++++ 2 files changed, 17 insertions(+) diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 6ef2312..9c1b45b 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -5,12 +5,20 @@ generateCacheHeaders + + + LazySession + + __construct + + Session + null|bool|int|float|string|array @@ -18,6 +26,11 @@ json_decode(json_encode($value, JSON_PRESERVE_ZERO_FRACTION), true) + + + + + provideCacheHeaderValues diff --git a/src/SessionIdentifierAwareInterface.php b/src/SessionIdentifierAwareInterface.php index 2805677..a8632a0 100644 --- a/src/SessionIdentifierAwareInterface.php +++ b/src/SessionIdentifierAwareInterface.php @@ -4,6 +4,10 @@ namespace Mezzio\Session; +/** + * @deprecated This interface will be removed in version 2.0 of this component. + * The method getId() has been added to SessionInterface. + */ interface SessionIdentifierAwareInterface { /**