Skip to content

Commit

Permalink
Merge pull request #28 from boesing/qa/deprecation-of-niche-adapters
Browse files Browse the repository at this point in the history
Deprecation of `MsgPack`, `PythonPickle` and `Wddx`
  • Loading branch information
boesing authored Jul 7, 2023
2 parents 05fa1e0 + 4940a84 commit 8ca1b46
Show file tree
Hide file tree
Showing 5 changed files with 13 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
2 changes: 2 additions & 0 deletions src/Adapter/PythonPickle.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
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
2 changes: 2 additions & 0 deletions src/Adapter/Wddx.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
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 8ca1b46

Please sign in to comment.