From 5bd49f80cafe8b1439c26456b617542879fa26b7 Mon Sep 17 00:00:00 2001 From: George Steel Date: Tue, 2 Jul 2024 08:31:36 +0100 Subject: [PATCH] Deprecate `TranslatorInterface` in favour of the interface shipped by `laminas/laminas-translator` Signed-off-by: George Steel --- psalm-baseline.xml | 21 ++++++++++++++++++++- src/Translator/TranslatorInterface.php | 3 +++ 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 25f9b6c5..1be39584 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -1,5 +1,5 @@ - + @@ -332,6 +332,9 @@ + + + @@ -444,6 +447,10 @@ + + + + @@ -453,6 +460,13 @@ + + + + + + + @@ -575,6 +589,11 @@ + + + + + diff --git a/src/Translator/TranslatorInterface.php b/src/Translator/TranslatorInterface.php index fae0a992..e47d7913 100644 --- a/src/Translator/TranslatorInterface.php +++ b/src/Translator/TranslatorInterface.php @@ -6,6 +6,9 @@ /** * Translator interface. + * + * @deprecated Since 2.27.0 The translator interface is now in a separate package `laminas/laminas-translator` and this + * interface should be replaced by `Laminas\Translator\TranslatorInterface` */ interface TranslatorInterface extends Translator {