mirror of
https://we.phorge.it/source/arcanist.git
synced 2025-02-13 23:38:33 +01:00
18 lines
380 B
PHP
18 lines
380 B
PHP
|
<?php
|
||
|
|
||
|
/**
|
||
|
* You can extend this class and set `lint.xhpast.switchhook` in your
|
||
|
* `.arcconfig` to have an opportunity to override results for linting `switch`
|
||
|
* statements.
|
||
|
*
|
||
|
* @group lint
|
||
|
*/
|
||
|
abstract class ArcanistXHPASTLintSwitchHook {
|
||
|
|
||
|
/**
|
||
|
* @return bool True if token safely ends the block.
|
||
|
*/
|
||
|
abstract public function checkSwitchToken(XHPASTToken $token);
|
||
|
|
||
|
}
|