TysonAndre / php-parser-to-php-ast

Abandoned. Supports only PHPParser 3. convert PHPParser\Node to \ast\Node. See https://github.com/TysonAndre/tolerant-php-parser-to-php-ast/ for better error tolerance.
MIT License
1 stars 2 forks source link

Expand the test suite to include (The failures found) by syntax checking php-src's phpt tests #4

Closed TysonAndre closed 7 years ago

TysonAndre commented 7 years ago

php-ast's test suites are not comprehensive, and only cover major changes to the extension.

TysonAndre commented 7 years ago

Expanded this to errors found syntax checking phan and phan's tests

TysonAndre commented 7 years ago

A lot of this has been finished.

https://github.com/TysonAndre/php-parser-to-php-ast/issues/11 and https://github.com/TysonAndre/php-parser-to-php-ast/issues/10 are edge cases.

TysonAndre commented 7 years ago

Finished this. Noticed that goto, labels, doc comment on declares, etc. weren't tested, as well as some flags