Page MenuHomeSealhub

ArcanistXHPASTLintTestSwitchHook.php
No OneTemporary

Authored By
Unknown
Size
340 B
Referenced Files
None
Subscribers
None

ArcanistXHPASTLintTestSwitchHook.php

<?php
final class ArcanistXHPASTLintTestSwitchHook
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

Mime Type
text/x-php
Expires
Fri, Nov 27, 18:33 (1 d, 2 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1208996
Default Alt Text
ArcanistXHPASTLintTestSwitchHook.php (340 B)

Event Timeline