]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Remove Phabricator reference from the linter description of `ArcanistXHPASTLinter`
authorJoshua Spence <josh@joshuaspence.com>
Fri, 11 Jul 2014 15:25:51 +0000 (01:25 +1000)
committerJoshua Spence <josh@joshuaspence.com>
Fri, 11 Jul 2014 15:25:51 +0000 (01:25 +1000)
Summary: The `ArcanistXHPASTLinter` is no longer //too// specific to Phabricator (Phabricator-specific XHPAST lints generally live in `ArcanistPhutilXHPASTLinter`) and //should// be better suited for general purpose usage.

Test Plan: N/A

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D9892

src/lint/linter/ArcanistXHPASTLinter.php

index 70208ebcda97e799bd700afe3bb954d2ae6bedda..663465564b37ab831ae54347845ab6ff55c2bb56 100644 (file)
@@ -56,11 +56,7 @@ final class ArcanistXHPASTLinter extends ArcanistBaseXHPASTLinter {
   }
 
   public function getInfoDescription() {
-    return pht(
-      'Use XHPAST to enforce Phabricator coding conventions on PHP source '.
-      'files. This linter is intended for use in Phabricator libraries and '.
-      'extensions, and enforces some Phabricator-specific style rules. It '.
-      'may not work well for general PHP source.');
+    return pht('Use XHPAST to enforce coding conventions on PHP source files.');
   }
 
   public function getLintNameMap() {