mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-22 23:02:41 +01:00
fix a bug in ArcanistXHPLinter
Summary: $param is null here. it should be $node. Test Plan: arc lint no longer barfed on me! Reviewers: vrana, epriestley Reviewed By: vrana CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D3540
This commit is contained in:
parent
d7edc1021d
commit
baa64a5c83
1 changed files with 1 additions and 1 deletions
|
@ -450,7 +450,7 @@ final class ArcanistXHPASTLinter extends ArcanistLinter {
|
|||
}
|
||||
} else if ($windows_version !== null) {
|
||||
$this->raiseLintAtNode(
|
||||
$param,
|
||||
$node,
|
||||
self::LINT_PHP_53_FEATURES,
|
||||
"This codebase targets PHP 5.2.3, but `{$name}()` is not available ".
|
||||
"on Windows".
|
||||
|
|
Loading…
Reference in a new issue