Ref T4334. Adds support for: traits; yield; short array syntax; callable; finally.
Details
Details
- Reviewers
btrahan Firehed - Maniphest Tasks
- T4334: Support PHP5.4+ syntax in XHPAST
- Commits
- rPHU86d651f9c929: Mostly align parser to PHP 5.5.8
Unit tests. Attempted to use PHPAST web view to verify I didn't build the trees wrong.
{F103626}
Generally, these changes are difficult to verify by inspection, and errors only become clear once the tree is in use. So probably not everything is quite correct, but it should be relatively close.
Diff Detail
Diff Detail
- Branch
- ast9
- Lint
Lint Warnings Severity Location Code Message Warning support/xhpast/parser.y:564 TXT3 Line Too Long - Unit
Tests Passed