Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F22424743
ArcanistXHPASTLinterTestCase.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
517 B
Referenced Files
None
Subscribers
None
ArcanistXHPASTLinterTestCase.php
View Options
<?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
,
));
return
$this
->
executeTestsInDirectory
(
dirname
(
__FILE__
).
'/xhpast/'
,
$linter
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Nov 28, 04:11 (1 d, 6 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1219772
Default Alt Text
ArcanistXHPASTLinterTestCase.php (517 B)
Attached To
Mode
R118 Arcanist - fork
Attached
Detach File
Event Timeline