Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F22397664
ArcanistPhutilXHPASTLinterTestCase.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
596 B
Referenced Files
None
Subscribers
None
ArcanistPhutilXHPASTLinterTestCase.php
View Options
<?php
/**
* @group testcase
*/
final
class
ArcanistPhutilXHPASTLinterTestCase
extends
ArcanistArcanistLinterTestCase
{
public
function
testPhutilXHPASTLint
()
{
$linter
=
new
ArcanistPhutilXHPASTLinter
();
$linter
->
setXHPASTLinter
(
new
ArcanistXHPASTLinter
());
$linter
->
setDeprecatedFunctions
(
array
(
'deprecated_function'
=>
'This function is most likely deprecated.'
,
));
$working_copy
=
ArcanistWorkingCopyIdentity
::
newFromPath
(
__FILE__
);
return
$this
->
executeTestsInDirectory
(
dirname
(
__FILE__
).
'/phlxhp/'
,
$linter
,
$working_copy
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Fri, Nov 27, 17:14 (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1229199
Default Alt Text
ArcanistPhutilXHPASTLinterTestCase.php (596 B)
Attached To
Mode
R118 Arcanist - fork
Attached
Detach File
Event Timeline