Page MenuHomePhabricator
Diviner libphutil Tech Docs ArcanistXHPASTLintSwitchHook

abstract class ArcanistXHPASTLintSwitchHook
libphutil Technical Documentation ()

You can extend this class and set xhpast.switchhook in your .arclint to have an opportunity to override results for linting switch statements.

Methods

abstract public function checkSwitchToken($token)

This method is not documented.
Parameters
XHPASTToken$token
Return
boolTrue if token safely ends the block.