Deprecate XML serializer

This commit is contained in:
Nikita Popov 2017-02-03 22:52:16 +01:00
parent d287c167bc
commit 42f046ec19
4 changed files with 12 additions and 0 deletions

View File

@ -2,6 +2,9 @@
namespace PhpParser;
/**
* @deprecated
*/
interface Serializer
{
/**

View File

@ -7,6 +7,9 @@ use PhpParser\Node;
use PhpParser\Serializer;
use XMLWriter;
/**
* @deprecated
*/
class XML implements Serializer
{
protected $writer;

View File

@ -2,6 +2,9 @@
namespace PhpParser;
/**
* @deprecated
*/
interface Unserializer
{
/**

View File

@ -6,6 +6,9 @@ use DomainException;
use PhpParser\Unserializer;
use XMLReader;
/**
* @deprecated
*/
class XML implements Unserializer
{
protected $reader;