mirror of
https://we.phorge.it/source/arcanist.git
synced 2025-01-26 14:38:18 +01:00
d826bf65c6
Summary: Just some minor cleaning up, including: - Removing old annotations for Diviner. - Renaming some `lint-test` files so that the directory name bears a closer resemblance to that of the linter. - Remove some useless `return` statements. Test Plan: `arc unit`. Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D9096
20 lines
436 B
PHP
20 lines
436 B
PHP
<?php
|
|
|
|
final class ArcanistXHPASTLinterTestCase
|
|
extends ArcanistArcanistLinterTestCase {
|
|
|
|
public function testXHPASTLint() {
|
|
$linter = new ArcanistXHPASTLinter();
|
|
|
|
$linter->setCustomSeverityMap(
|
|
array(
|
|
ArcanistXHPASTLinter::LINT_RAGGED_CLASSTREE_EDGE
|
|
=> ArcanistLintSeverity::SEVERITY_WARNING,
|
|
));
|
|
|
|
$this->executeTestsInDirectory(
|
|
dirname(__FILE__).'/xhpast/',
|
|
$linter);
|
|
}
|
|
|
|
}
|