From 73be1d45d10de0b714197c33cd4b7d48fe904103 Mon Sep 17 00:00:00 2001 From: Dawid Parafinski Date: Fri, 30 Aug 2024 09:22:47 +0200 Subject: [PATCH] IBX-8535: Deprecate RequestParser and implementations --- src/lib/RequestParser.php | 2 ++ src/lib/RequestParser/EzPublish.php | 2 ++ src/lib/RequestParser/Pattern.php | 2 ++ 3 files changed, 6 insertions(+) diff --git a/src/lib/RequestParser.php b/src/lib/RequestParser.php index 9c22b6fd7..e42c9fb83 100644 --- a/src/lib/RequestParser.php +++ b/src/lib/RequestParser.php @@ -8,6 +8,8 @@ /** * Interface for Request parsers. + * @deprecated 4.6.11 + * use \Ibexa\Contracts\Rest\UriParser\UriParserInterface and \Symfony\Component\Routing\RouterInterface instead */ interface RequestParser { diff --git a/src/lib/RequestParser/EzPublish.php b/src/lib/RequestParser/EzPublish.php index dd95997ae..99dca92b2 100644 --- a/src/lib/RequestParser/EzPublish.php +++ b/src/lib/RequestParser/EzPublish.php @@ -7,6 +7,8 @@ namespace Ibexa\Rest\RequestParser; /** + * @deprecated 4.6.11, and will be removed in the next major release. + * * Pattern based Request parser pre-configured for Ibexa. */ class EzPublish extends Pattern diff --git a/src/lib/RequestParser/Pattern.php b/src/lib/RequestParser/Pattern.php index c7806c77d..11803fca9 100644 --- a/src/lib/RequestParser/Pattern.php +++ b/src/lib/RequestParser/Pattern.php @@ -10,6 +10,8 @@ use Ibexa\Rest\RequestParser; /** + * @deprecated 4.6.11, and will be removed in the next major release. + * * Pattern based Request parser. * * Handles 2 types of patterns to be used in an URL: