mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 08:52:39 +01:00
Utilize PhutilMethodNotImplementedException
Summary: Depends on D9992. Utilize the `PhutilMethodNotImplementedException` class. Test Plan: N/A Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D10000
This commit is contained in:
parent
254542237a
commit
8999a1c1ea
7 changed files with 20 additions and 16 deletions
|
@ -180,7 +180,7 @@ abstract class PhabricatorAuthProvider {
|
|||
protected function renderLoginForm(
|
||||
AphrontRequest $request,
|
||||
$mode) {
|
||||
throw new Exception('Not implemented!');
|
||||
throw new PhutilMethodNotImplementedException();
|
||||
}
|
||||
|
||||
public function createProviders() {
|
||||
|
@ -295,7 +295,7 @@ abstract class PhabricatorAuthProvider {
|
|||
}
|
||||
|
||||
public function getDefaultExternalAccount() {
|
||||
throw new Exception('Not implemented!');
|
||||
throw new PhutilMethodNotImplementedException();
|
||||
}
|
||||
|
||||
public function getLoginOrder() {
|
||||
|
|
|
@ -67,11 +67,13 @@ final class DifferentialChangesetOneUpRenderer
|
|||
return null;
|
||||
}
|
||||
|
||||
public function renderFileChange($old_file = null,
|
||||
$new_file = null,
|
||||
$id = 0,
|
||||
$vs = 0) {
|
||||
throw new Exception('Not implemented!');
|
||||
public function renderFileChange(
|
||||
$old_file = null,
|
||||
$new_file = null,
|
||||
$id = 0,
|
||||
$vs = 0) {
|
||||
|
||||
throw new PhutilMethodNotImplementedException();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -76,11 +76,13 @@ abstract class DifferentialChangesetTestRenderer
|
|||
}
|
||||
|
||||
|
||||
public function renderFileChange($old_file = null,
|
||||
$new_file = null,
|
||||
$id = 0,
|
||||
$vs = 0) {
|
||||
throw new Exception('Not implemented!');
|
||||
public function renderFileChange(
|
||||
$old_file = null,
|
||||
$new_file = null,
|
||||
$id = 0,
|
||||
$vs = 0) {
|
||||
|
||||
throw new PhutilMethodNotImplementedException();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -135,7 +135,7 @@ abstract class PhabricatorPHIDType {
|
|||
public function loadNamedObjects(
|
||||
PhabricatorObjectQuery $query,
|
||||
array $names) {
|
||||
throw new Exception('Not implemented!');
|
||||
throw new PhutilMethodNotImplementedException();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -244,7 +244,7 @@ abstract class PhabricatorApplicationSearchEngine {
|
|||
}
|
||||
|
||||
protected function getApplicationClassName() {
|
||||
throw new Exception(pht('Not implemented for this SearchEngine yet!'));
|
||||
throw new PhutilMethodNotImplementedException();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -327,7 +327,7 @@ abstract class PhabricatorApplicationTransactionEditor
|
|||
protected function applyInitialEffects(
|
||||
PhabricatorLiskDAO $object,
|
||||
array $xactions) {
|
||||
throw new Exception('Not implemented.');
|
||||
throw new PhutilMethodNotImplementedException();
|
||||
}
|
||||
|
||||
private function applyInternalEffects(
|
||||
|
|
|
@ -76,7 +76,7 @@ abstract class PhabricatorApplicationTransaction
|
|||
}
|
||||
|
||||
public function getApplicationTransactionCommentObject() {
|
||||
throw new Exception('Not implemented!');
|
||||
throw new PhutilMethodNotImplementedException();
|
||||
}
|
||||
|
||||
public function getApplicationTransactionViewObject() {
|
||||
|
|
Loading…
Reference in a new issue