Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F3282701
ArcanistTestXHPASTLintSwitchHook.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
340 B
Referenced Files
None
Subscribers
None
ArcanistTestXHPASTLintSwitchHook.php
View Options
<?php
final
class
ArcanistTestXHPASTLintSwitchHook
extends
ArcanistXHPASTLintSwitchHook
{
public
function
checkSwitchToken
(
XHPASTToken
$token
)
{
if
(
$token
->
getTypeName
(
)
==
'T_STRING'
)
{
switch
(
strtolower
(
$token
->
getValue
(
)
)
)
{
case
'throw_exception'
:
return
true
;
}
}
return
false
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, Mar 24, 10:07 (4 w, 21 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1116214
Default Alt Text
ArcanistTestXHPASTLintSwitchHook.php (340 B)
Attached To
Mode
rARC Arcanist
Attached
Detach File
Event Timeline
Log In to Comment