Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F22390264
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
610 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
,
));
$working_copy
=
ArcanistWorkingCopyIdentity
::
newFromPath
(
__FILE__
);
return
$this
->
executeTestsInDirectory
(
dirname
(
__FILE__
).
'/xhpast/'
,
$linter
,
$working_copy
);
}
}
File Metadata
Details
Attached
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)
Attached To
Mode
R118 Arcanist - fork
Attached
Detach File
Event Timeline