Skip to content

Commit c542e5d

Browse files
committed
Release PHP-Parser 2.0.0
1 parent a9074c7 commit c542e5d

File tree

4 files changed

+15
-6
lines changed

4 files changed

+15
-6
lines changed

CHANGELOG.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1-
Version 2.0.0-dev
2-
-----------------------
1+
Version 2.0.1-dev
2+
-----------------
3+
4+
Nothing yet.
5+
6+
Version 2.0.0 (2015-12-04)
7+
--------------------------
38

49
### Changed
510

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ PHP Parser
44
This is a PHP 5.2 to PHP 7.0 parser written in PHP. Its purpose is to simplify static code analysis and
55
manipulation.
66

7-
[**Documentation for version 1.x**][doc_1_x] (stable; for running on PHP >= 5.3; for parsing PHP 5.2 to PHP 5.6).
87

9-
[Documentation for version 2.x][doc_master] (beta; for running on PHP >= 5.4; for parsing PHP 5.2 to PHP 7.0).
8+
[**Documentation for version 2.x**][doc_master] (stable; for running on PHP >= 5.4; for parsing PHP 5.2 to PHP 7.0).
9+
10+
[Documentation for version 1.x][doc_1_x] (stable; for running on PHP >= 5.3; for parsing PHP 5.2 to PHP 5.6).
1011

1112
In a Nutshell
1213
-------------

UPGRADE-2.0.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,7 @@ deprecated. Instead `Name::concat()` and `Name->slice()` should be used.
6868
* The legacy node format has been removed. If you use custom nodes, they are now expected to
6969
implement a `getSubNodeNames()` method.
7070
* The default value for `Scalar` node constructors was removed. This means that something like
71-
`new LNumber()` should be replaced by `new LNumber(0)`.
71+
`new LNumber()` should be replaced by `new LNumber(0)`.
72+
* String parts of encapsed strings are now represented using `Scalar\EncapsStringPart` nodes, while
73+
previously raw strings were used. This affects the `parts` child of `Scalar\Encaps` and
74+
`Expr\ShellExec`.

doc/0_Introduction.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Introduction
22
============
33

4-
This project is a PHP 5.2 to PHP 5.6 parser **written in PHP itself**.
4+
This project is a PHP 5.2 to PHP 7.0 parser **written in PHP itself**.
55

66
What is this for?
77
-----------------

0 commit comments

Comments
 (0)