1
0
Fork 0
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:
Bob Trahan 2012-09-21 14:59:04 -07:00
parent d7edc1021d
commit baa64a5c83

View file

@ -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".