Page MenuHomeSealhub

ArcanistXHPASTLinterTestCase.php
No OneTemporary

Authored By
Unknown
Size
610 B
Referenced Files
None
Subscribers
None

ArcanistXHPASTLinterTestCase.php

<?php
/**
* Tests for @{class:ArcanistXHPASTLinter}.
*
* @group testcase
*/
final class ArcanistXHPASTLinterTestCase
extends ArcanistArcanistLinterTestCase {
public function testXHPASTLint() {
$linter = new ArcanistXHPASTLinter();
$linter->setCustomSeverityMap(
array(
ArcanistXHPASTLinter::LINT_RAGGED_CLASSTREE_EDGE
=> ArcanistLintSeverity::SEVERITY_WARNING,
));
$working_copy = ArcanistWorkingCopyIdentity::newFromPath(__FILE__);
return $this->executeTestsInDirectory(
dirname(__FILE__).'/xhpast/',
$linter,
$working_copy);
}
}

File Metadata

Mime Type
text/x-php
Expires
Fri, Nov 27, 15:27 (22 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1228954
Default Alt Text
ArcanistXHPASTLinterTestCase.php (610 B)

Event Timeline