mirror of
https://we.phorge.it/source/arcanist.git
synced 2025-02-09 13:28:28 +01:00
Summary: Various tidying up of linting code. Test Plan: `arc lint` and `arc unit` still pass. Reviewers: chad, epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D9625
16 lines
370 B
PHP
16 lines
370 B
PHP
<?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);
|
|
|
|
}
|