mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-21 22:32:41 +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:
parent
990027e3e0
commit
4f96a23485
1 changed files with 1 additions and 1 deletions
|
@ -467,7 +467,7 @@ final class ArcanistXHPASTLinter extends ArcanistBaseXHPASTLinter {
|
|||
if ($version && version_compare($version['min'], $this->version, '>')) {
|
||||
$this->raiseLintAtNode(
|
||||
$node,
|
||||
self::LINT_PHP_53_FEATURES,
|
||||
self::LINT_PHP_COMPATIBILITY,
|
||||
"This codebase targets PHP {$this->version}, but `{$name}` was not ".
|
||||
"introduced until PHP {$version['min']}.");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue