From 6aa72e37242bb3b13705682e9283f337a8808fb9 Mon Sep 17 00:00:00 2001 From: Dawid Parafinski Date: Fri, 30 Aug 2024 09:22:47 +0200 Subject: [PATCH 1/2] IBX-8535: Deprecate RequestParser and implementations --- src/lib/RequestParser.php | 3 +++ src/lib/RequestParser/EzPublish.php | 2 ++ src/lib/RequestParser/Pattern.php | 2 ++ 3 files changed, 7 insertions(+) diff --git a/src/lib/RequestParser.php b/src/lib/RequestParser.php index 9c22b6fd7..ce1d4730a 100644 --- a/src/lib/RequestParser.php +++ b/src/lib/RequestParser.php @@ -8,6 +8,9 @@ /** * 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: From 5d0ddbc48a1fca64286f5d36f77a02f6ee413a44 Mon Sep 17 00:00:00 2001 From: Dawid Parafinski Date: Tue, 3 Sep 2024 10:04:45 +0200 Subject: [PATCH 2/2] Changed deprecation doc --- src/lib/RequestParser.php | 3 +-- src/lib/RequestParser/EzPublish.php | 2 +- src/lib/RequestParser/Pattern.php | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/lib/RequestParser.php b/src/lib/RequestParser.php index ce1d4730a..479dc1434 100644 --- a/src/lib/RequestParser.php +++ b/src/lib/RequestParser.php @@ -9,8 +9,7 @@ /** * Interface for Request parsers. * - * @deprecated 4.6.11 - * use \Ibexa\Contracts\Rest\UriParser\UriParserInterface and \Symfony\Component\Routing\RouterInterface instead + * @deprecated 4.6.11 The \Ibexa\Rest\RequestParser is deprecated, will be removed in 5.0.0. 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 99dca92b2..eaea6d988 100644 --- a/src/lib/RequestParser/EzPublish.php +++ b/src/lib/RequestParser/EzPublish.php @@ -7,7 +7,7 @@ namespace Ibexa\Rest\RequestParser; /** - * @deprecated 4.6.11, and will be removed in the next major release. + * @deprecated 4.6.11 The \Ibexa\Rest\RequestParser\EzPublish is deprecated, will be removed in 5.0.0. * * Pattern based Request parser pre-configured for Ibexa. */ diff --git a/src/lib/RequestParser/Pattern.php b/src/lib/RequestParser/Pattern.php index 11803fca9..fe62edd92 100644 --- a/src/lib/RequestParser/Pattern.php +++ b/src/lib/RequestParser/Pattern.php @@ -10,7 +10,7 @@ use Ibexa\Rest\RequestParser; /** - * @deprecated 4.6.11, and will be removed in the next major release. + * @deprecated 4.6.11 The \Ibexa\Rest\RequestParser\Pattern is deprecated, will be removed in 5.0.0. * * Pattern based Request parser. *