Add UPGRADE-4.0 stub

This commit is contained in:
Nikita Popov 2017-01-19 21:03:46 +01:00
parent 0c9c8d58ab
commit 5ff2519e1e
2 changed files with 12 additions and 1 deletions

View File

@ -7,9 +7,9 @@ cache:
- $HOME/.composer/cache
php:
- 5.5
- 5.6
- 7.0
- 7.1
- nightly
- hhvm

11
UPGRADE-4.0.md Normal file
View File

@ -0,0 +1,11 @@
Upgrading from PHP-Parser 3.x to 4.0
====================================
### PHP version requirements
PHP-Parser now requires PHP 5.6 or newer to run. It is however still possible to *parse* PHP 5.2-5.5
source code, while running on a newer version.
### Removed functionality
* Removed `type` subnode on `Class`, `ClassMethod` and `Property` nodes. Use `flags` instead.