mirror of
https://we.phorge.it/source/arcanist.git
synced 2025-01-10 23:01:04 +01:00
Remove some unused methods from ArcanistLinter
Summary: These methods are unused. Test Plan: N/A Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D14065
This commit is contained in:
parent
baf5eb8a87
commit
d12bcdc683
1 changed files with 0 additions and 33 deletions
|
@ -197,39 +197,6 @@ abstract class ArcanistLinter extends Phobject {
|
|||
}
|
||||
|
||||
|
||||
/**
|
||||
* Obsolete hook which was invoked before a path was linted.
|
||||
*
|
||||
* WARNING: This is an obsolete hook which is not called. If you maintain
|
||||
* a linter which relies on it, update to use @{method:lintPath} instead.
|
||||
*
|
||||
* @task exec
|
||||
*/
|
||||
final public function willLintPath($path) {
|
||||
// TODO: Remove this method after some time. In the meantime, the "final"
|
||||
// will fatal subclasses which implement this hook and point at the API
|
||||
// change so maintainers get fewer surprises.
|
||||
throw new PhutilMethodNotImplementedException();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Obsolete hook which was invoked after linters ran.
|
||||
*
|
||||
* WARNING: This is an obsolete hook which is not called. If you maintain
|
||||
* a linter which relies on it, update to use @{method:didLintPaths} instead.
|
||||
*
|
||||
* @return void
|
||||
* @task exec
|
||||
*/
|
||||
final public function didRunLinters() {
|
||||
// TODO: Remove this method after some time. In the meantime, the "final"
|
||||
// will fatal subclasses which implement this hook and point at the API
|
||||
// change so maintainers get fewer surprises.
|
||||
throw new PhutilMethodNotImplementedException();
|
||||
}
|
||||
|
||||
|
||||
public function getLinterPriority() {
|
||||
return 1.0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue