We're writing some Lint extensions for arcanist (see https://github.com/metno/arcanist-support), and where thinking it would be best to apply most of the same linters to it as are used on the core libphutil/arcanist project. Unfortunately, we're running into a problem with XHPast.
When I run arc lint (with xhpast enabled), I get the following error:
PHP Fatal error: Call to undefined method XHPASTNode::getChildrenOfType() in /usr/share/arcanist/src/lint/linter/ArcanistXHPASTLinter.php on line 2912
Any idea what might be going wrong? When I build xhpast (5.5.8/1e) with the build_xhpast.sh script, its tests fine.
Btw, speaking of code style, any Eclipse users at Phacility? Wondering if any of you might have a code style format for Eclipse PHP that you could share?