From 4940a849eafd897ff8a280019b5b9c5adfa842c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20B=C3=B6sing?= <2189546+boesing@users.noreply.github.com> Date: Sat, 8 Jul 2023 00:20:26 +0200 Subject: [PATCH] qa: mark `MsgPack`, `PythonPickle` and `Wddx` as deprecated MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com> --- src/Adapter/MsgPack.php | 3 +++ src/Adapter/PythonPickle.php | 2 ++ src/Adapter/PythonPickleOptions.php | 3 +++ src/Adapter/Wddx.php | 2 ++ src/Adapter/WddxOptions.php | 3 +++ 5 files changed, 13 insertions(+) diff --git a/src/Adapter/MsgPack.php b/src/Adapter/MsgPack.php index 08d0d42..c2ceb38 100644 --- a/src/Adapter/MsgPack.php +++ b/src/Adapter/MsgPack.php @@ -16,6 +16,9 @@ use function msgpack_serialize; use function msgpack_unserialize; +/** + * @deprecated This serializer will get removed in v3.0.0. There is no replacement. + */ class MsgPack extends AbstractAdapter { /** @var string Serialized 0 value */ diff --git a/src/Adapter/PythonPickle.php b/src/Adapter/PythonPickle.php index cf7b5a8..a5f4065 100644 --- a/src/Adapter/PythonPickle.php +++ b/src/Adapter/PythonPickle.php @@ -48,6 +48,8 @@ use function unpack; /** + * @deprecated This serializer will get removed in v3.0.0. There is no replacement. + * * @link http://www.python.org * @link http://pickle-js.googlecode.com * @see Phython3.1/Lib/pickle.py diff --git a/src/Adapter/PythonPickleOptions.php b/src/Adapter/PythonPickleOptions.php index 9de38ea..f6426a3 100644 --- a/src/Adapter/PythonPickleOptions.php +++ b/src/Adapter/PythonPickleOptions.php @@ -10,6 +10,9 @@ use Laminas\Serializer\Exception; +/** + * @deprecated This serializer will get removed in v3.0.0. There is no replacement. + */ class PythonPickleOptions extends AdapterOptions { /** diff --git a/src/Adapter/Wddx.php b/src/Adapter/Wddx.php index cc8f52a..3a91254 100644 --- a/src/Adapter/Wddx.php +++ b/src/Adapter/Wddx.php @@ -24,6 +24,8 @@ use const XML_DOCUMENT_TYPE_NODE; /** + * @deprecated This serializer will get removed in v3.0.0. There is no replacement. + * * @link http://www.infoloom.com/gcaconfs/WEB/chicago98/simeonov.HTM * @link http://en.wikipedia.org/wiki/WDDX */ diff --git a/src/Adapter/WddxOptions.php b/src/Adapter/WddxOptions.php index 1d35036..aec63ee 100644 --- a/src/Adapter/WddxOptions.php +++ b/src/Adapter/WddxOptions.php @@ -8,6 +8,9 @@ namespace Laminas\Serializer\Adapter; +/** + * @deprecated This serializer will get removed in v3.0.0. There is no replacement. + */ class WddxOptions extends AdapterOptions { /**