Page MenuHomePhabricator
Diviner Arcanist Tech Docs ArcanistXHPASTLintSwitchHook

abstract class ArcanistXHPASTLintSwitchHook
Arcanist Technical Documentation (Lint)

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.