mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-26 00:32:41 +01:00
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
This commit is contained in:
parent
994163d9ca
commit
3629308f2f
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@
|
||||||
*/
|
*/
|
||||||
class ArcanistXHPASTLinter extends ArcanistLinter {
|
class ArcanistXHPASTLinter extends ArcanistLinter {
|
||||||
|
|
||||||
private $trees = array();
|
protected $trees = array();
|
||||||
|
|
||||||
const LINT_PHP_SYNTAX_ERROR = 1;
|
const LINT_PHP_SYNTAX_ERROR = 1;
|
||||||
const LINT_UNABLE_TO_PARSE = 2;
|
const LINT_UNABLE_TO_PARSE = 2;
|
||||||
|
|
Loading…
Reference in a new issue