1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2025-02-10 05:48:29 +01:00
phorge-arcanist/src/lint/linter/xhpast/ArcanistXHPASTLintSwitchHook.php

17 lines
370 B
PHP
Raw Normal View History

<?php
/**
* You can extend this class and set `xhpast.switchhook` in your `.arclint`
* 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);
}