1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-19 13:22:42 +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:
Joshua Spence 2014-07-22 01:47:00 +10:00
parent 254542237a
commit 8999a1c1ea
7 changed files with 20 additions and 16 deletions

View file

@ -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() {

View file

@ -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();
}
}

View file

@ -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();
}
}

View file

@ -135,7 +135,7 @@ abstract class PhabricatorPHIDType {
public function loadNamedObjects(
PhabricatorObjectQuery $query,
array $names) {
throw new Exception('Not implemented!');
throw new PhutilMethodNotImplementedException();
}

View file

@ -244,7 +244,7 @@ abstract class PhabricatorApplicationSearchEngine {
}
protected function getApplicationClassName() {
throw new Exception(pht('Not implemented for this SearchEngine yet!'));
throw new PhutilMethodNotImplementedException();
}

View file

@ -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(

View file

@ -76,7 +76,7 @@ abstract class PhabricatorApplicationTransaction
}
public function getApplicationTransactionCommentObject() {
throw new Exception('Not implemented!');
throw new PhutilMethodNotImplementedException();
}
public function getApplicationTransactionViewObject() {