]> khamidou — GitHub mirrors - arcanist.git/commit
Move the "ragged classtree edge" linter rule to `ArcanistPhutilXHPASTLinter`.
authorJoshua Spence <josh@joshuaspence.com>
Tue, 17 Jun 2014 15:28:40 +0000 (01:28 +1000)
committerJoshua Spence <josh@joshuaspence.com>
Tue, 17 Jun 2014 15:28:40 +0000 (01:28 +1000)
commit473c6d89d78e7044187aa69374402bba186edd40
tree378862540b4a14661c56649509d52abe61aa0101
parent3810cdbbccffe96de054ac8a661fe0dea9557d0e
Move the "ragged classtree edge" linter rule to `ArcanistPhutilXHPASTLinter`.

Summary: This linter rule is very specific to the Phabricator and it is unlikely that it is being used elsewhere. We should move it to `ArcanistPhutilXHPASTLinter`, where other Phabricator-specific linting code lives.

Test Plan: Moved the corresponding test case.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D9590
src/lint/linter/ArcanistPhutilXHPASTLinter.php
src/lint/linter/ArcanistXHPASTLinter.php
src/lint/linter/__tests__/ArcanistXHPASTLinterTestCase.php
src/lint/linter/__tests__/phlxhp/ragged-classtree-edges.lint-test [moved from src/lint/linter/__tests__/xhpast/ragged-classtree-edges.lint-test with 100% similarity]