Use PhutilXHPASTBinary methods

Summary: Use `PhutilXHPASTBinary` methods instead of `xhpast_parse` functions. Depends on D11517.

Test Plan: N/A, this is a direct swap.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D11612
This commit is contained in:
Joshua Spence
2015-02-03 06:59:15 +11:00
parent 37e534c5f8
commit 7982b23eb4
4 changed files with 4 additions and 4 deletions

View File

@@ -11,7 +11,7 @@ final class PhabricatorXHPASTViewRunController
if ($request->isFormPost()) {
$source = $request->getStr('source');
$future = xhpast_get_parser_future($source);
$future = PhutilXHPASTBinary::getParserFuture($source);
$resolved = $future->resolve();
// This is just to let it throw exceptions if stuff is broken.