Release PHP-Parser 2.0.0

This commit is contained in:
Nikita Popov 2015-12-04 16:26:27 +01:00
parent a9074c7444
commit c542e5d86a
4 changed files with 15 additions and 6 deletions

View File

@ -1,5 +1,10 @@
Version 2.0.0-dev Version 2.0.1-dev
----------------------- -----------------
Nothing yet.
Version 2.0.0 (2015-12-04)
--------------------------
### Changed ### Changed

View File

@ -4,9 +4,10 @@ PHP Parser
This is a PHP 5.2 to PHP 7.0 parser written in PHP. Its purpose is to simplify static code analysis and This is a PHP 5.2 to PHP 7.0 parser written in PHP. Its purpose is to simplify static code analysis and
manipulation. manipulation.
[**Documentation for version 1.x**][doc_1_x] (stable; for running on PHP >= 5.3; for parsing PHP 5.2 to PHP 5.6).
[Documentation for version 2.x][doc_master] (beta; for running on PHP >= 5.4; for parsing PHP 5.2 to PHP 7.0). [**Documentation for version 2.x**][doc_master] (stable; for running on PHP >= 5.4; for parsing PHP 5.2 to PHP 7.0).
[Documentation for version 1.x][doc_1_x] (stable; for running on PHP >= 5.3; for parsing PHP 5.2 to PHP 5.6).
In a Nutshell In a Nutshell
------------- -------------

View File

@ -69,3 +69,6 @@ deprecated. Instead `Name::concat()` and `Name->slice()` should be used.
implement a `getSubNodeNames()` method. implement a `getSubNodeNames()` method.
* The default value for `Scalar` node constructors was removed. This means that something like * The default value for `Scalar` node constructors was removed. This means that something like
`new LNumber()` should be replaced by `new LNumber(0)`. `new LNumber()` should be replaced by `new LNumber(0)`.
* String parts of encapsed strings are now represented using `Scalar\EncapsStringPart` nodes, while
previously raw strings were used. This affects the `parts` child of `Scalar\Encaps` and
`Expr\ShellExec`.

View File

@ -1,7 +1,7 @@
Introduction Introduction
============ ============
This project is a PHP 5.2 to PHP 5.6 parser **written in PHP itself**. This project is a PHP 5.2 to PHP 7.0 parser **written in PHP itself**.
What is this for? What is this for?
----------------- -----------------