1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2025-02-13 23:38:33 +01:00
phorge-arcanist/src/lint/linter/xhpast/ArcanistXHPASTLintSwitchHook.php

18 lines
380 B
PHP
Raw Normal View History

<?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);
}