]> khamidou — GitHub mirrors - arcanist.git/commit
Enable override ArcanistXHPASTLinter
authorJason Ge <jungejason@fb.com>
Tue, 29 Nov 2011 06:15:06 +0000 (22:15 -0800)
committerJason Ge <jungejason@fb.com>
Wed, 30 Nov 2011 00:23:14 +0000 (16:23 -0800)
commit3629308f2faa5d212d4b57737181525761146f71
treeb5b1077b187627fb7b228ccb5fa29b831791ff60
parent994163d9ca9190b67e3ae5d66bd1ce179660c492
Enable override ArcanistXHPASTLinter

Summary:
add method setXHPASTTreeForPath() so that a child class of
ArcanistXHPASTLinter can set the tree easily.

Test Plan: wrote a subclass of ArcanistXHPASTLinter and it worked.

Reviewers: pad, epriestley

Reviewed By: pad

CC: aran, pad, jungejason
Differential Revision: 1134
src/lint/linter/xhpast/ArcanistXHPASTLinter.php