mirror of
https://we.phorge.it/source/arcanist.git
synced 2025-02-16 00:38:37 +01:00
Summary: All base classes should extend from `Phobject` or some other classes. See D13275 for some explanation. Test Plan: `arc unit` Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D13281
14 lines
369 B
PHP
14 lines
369 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.
|
|
*/
|
|
abstract class ArcanistXHPASTLintSwitchHook extends Phobject {
|
|
|
|
/**
|
|
* @return bool True if token safely ends the block.
|
|
*/
|
|
abstract public function checkSwitchToken(XHPASTToken $token);
|
|
|
|
}
|