Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F3282299
ArcanistBaseXHPASTLinter.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
602 B
Referenced Files
None
Subscribers
None
ArcanistBaseXHPASTLinter.php
View Options
<?php
/**
* @group linter
*/
abstract
class
ArcanistBaseXHPASTLinter
extends
ArcanistFutureLinter
{
protected
function
raiseLintAtToken
(
XHPASTToken
$token
,
$code
,
$desc
,
$replace
=
null
)
{
return
$this
->
raiseLintAtOffset
(
$token
->
getOffset
(
)
,
$code
,
$desc
,
$token
->
getValue
(
)
,
$replace
)
;
}
protected
function
raiseLintAtNode
(
XHPASTNode
$node
,
$code
,
$desc
,
$replace
=
null
)
{
return
$this
->
raiseLintAtOffset
(
$node
->
getOffset
(
)
,
$code
,
$desc
,
$node
->
getConcreteString
(
)
,
$replace
)
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, Mar 24, 06:54 (1 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1241609
Default Alt Text
ArcanistBaseXHPASTLinter.php (602 B)
Attached To
Mode
rARC Arcanist
Attached
Detach File
Event Timeline
Log In to Comment