Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F22391278
ArcanistTestXHPASTLintSwitchHook.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
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
Fri, Nov 27, 15:37 (1 d, 3 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1212501
Default Alt Text
ArcanistTestXHPASTLintSwitchHook.php (340 B)
Attached To
Mode
R118 Arcanist - fork
Attached
Detach File
Event Timeline