Skip to content

Commit

Permalink
qa: mark MsgPack, PythonPickle and Wddx as deprecated
Browse files Browse the repository at this point in the history
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
  • Loading branch information
boesing committed Jul 7, 2023
1 parent e1cc778 commit 62fbb69
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Adapter/MsgPack.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
1 change: 1 addition & 0 deletions src/Adapter/PythonPickle.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
* @link http://pickle-js.googlecode.com
* @see Phython3.1/Lib/pickle.py
* @see Phython3.1/Modules/_pickle.c
* @deprecated This serializer will get removed in v3.0.0. There is no replacement.
*/
class PythonPickle extends AbstractAdapter
{
Expand Down
3 changes: 3 additions & 0 deletions src/Adapter/PythonPickleOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
/**
Expand Down
1 change: 1 addition & 0 deletions src/Adapter/Wddx.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
/**
* @link http://www.infoloom.com/gcaconfs/WEB/chicago98/simeonov.HTM

Check failure on line 27 in src/Adapter/Wddx.php

View workflow job for this annotation

GitHub Actions / ci / QA Checks (PHPCodeSniffer [8.0, locked], ubuntu-latest, laminas/laminas-continuous-integration-ac...

Incorrect annotations group.
* @link http://en.wikipedia.org/wiki/WDDX
* @deprecated This serializer will get removed in v3.0.0. There is no replacement.
*/
class Wddx extends AbstractAdapter
{
Expand Down
3 changes: 3 additions & 0 deletions src/Adapter/WddxOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
/**
Expand Down

0 comments on commit 62fbb69

Please sign in to comment.