This is a major release that supports all of the syntax used in Drupal 8 with namespaces and anonymous functions, and improves the API versioning for better support by projects that rely on this library.
Features
========
Parsing and rewriting
---------------------
Add support for all PHP 5.3 language items including namespace expressions and anonymous functions.
Revise the object representation of grammar structure for greater consistency.
Enhance alternative syntax parsing with conditional, for, and foreach statements.
Implement parsing of template files with a mixture of PHP and HTML syntax.
Rewrite array parsing and rewriting to handle multiple preservation settings and generate more consistent grammar structure.
Enhance whitespace preservation options for parsing and rewriting.
Allow for one-line conditional with no braces.
Allow for comments and whitespace in statement headers, lists, and expressions.
Allow for no braces with a single statement body (for, foreach).
Add support for nop blocks (consisting of only a semicolon).
Improve pretty printing by increasing the indent after first newline when preserve newline is enabled.
Implement a detached or nested body (enclosed by curly braces).
Add support for include() in expressions (e.g. function call parameters).
Change default output of PGPClass items with an empty body (remove space between braces).