From 4f96a23485c6521c412b7b23e1683600a1094cae Mon Sep 17 00:00:00 2001 From: Joshua Spence Date: Mon, 23 Jun 2014 01:56:57 +1000 Subject: [PATCH] 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 --- src/lint/linter/ArcanistXHPASTLinter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lint/linter/ArcanistXHPASTLinter.php b/src/lint/linter/ArcanistXHPASTLinter.php index 514f309c..995b36b2 100644 --- a/src/lint/linter/ArcanistXHPASTLinter.php +++ b/src/lint/linter/ArcanistXHPASTLinter.php @@ -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']}."); } -- 2.43.0