1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-25 16:22:42 +01:00

Minor fix for the ArcanistXHPASTLinter.

Summary: This `LINT_PHP_53_FEATURES` should have been replaced with `LINT_PHP_COMPATIBILITY` in D9576.

Test Plan: Ran `arc unit`.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D9655
This commit is contained in:
Joshua Spence 2014-06-23 01:56:57 +10:00
parent 990027e3e0
commit 4f96a23485

View file

@ -467,7 +467,7 @@ final class ArcanistXHPASTLinter extends ArcanistBaseXHPASTLinter {
if ($version && version_compare($version['min'], $this->version, '>')) { if ($version && version_compare($version['min'], $this->version, '>')) {
$this->raiseLintAtNode( $this->raiseLintAtNode(
$node, $node,
self::LINT_PHP_53_FEATURES, self::LINT_PHP_COMPATIBILITY,
"This codebase targets PHP {$this->version}, but `{$name}` was not ". "This codebase targets PHP {$this->version}, but `{$name}` was not ".
"introduced until PHP {$version['min']}."); "introduced until PHP {$version['min']}.");
} }