1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-25 06:50:55 +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( protected function renderLoginForm(
AphrontRequest $request, AphrontRequest $request,
$mode) { $mode) {
throw new Exception('Not implemented!'); throw new PhutilMethodNotImplementedException();
} }
public function createProviders() { public function createProviders() {
@ -295,7 +295,7 @@ abstract class PhabricatorAuthProvider {
} }
public function getDefaultExternalAccount() { public function getDefaultExternalAccount() {
throw new Exception('Not implemented!'); throw new PhutilMethodNotImplementedException();
} }
public function getLoginOrder() { public function getLoginOrder() {

View file

@ -67,11 +67,13 @@ final class DifferentialChangesetOneUpRenderer
return null; return null;
} }
public function renderFileChange($old_file = null, public function renderFileChange(
$old_file = null,
$new_file = null, $new_file = null,
$id = 0, $id = 0,
$vs = 0) { $vs = 0) {
throw new Exception('Not implemented!');
throw new PhutilMethodNotImplementedException();
} }
} }

View file

@ -76,11 +76,13 @@ abstract class DifferentialChangesetTestRenderer
} }
public function renderFileChange($old_file = null, public function renderFileChange(
$old_file = null,
$new_file = null, $new_file = null,
$id = 0, $id = 0,
$vs = 0) { $vs = 0) {
throw new Exception('Not implemented!');
throw new PhutilMethodNotImplementedException();
} }
} }

View file

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

View file

@ -244,7 +244,7 @@ abstract class PhabricatorApplicationSearchEngine {
} }
protected function getApplicationClassName() { 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( protected function applyInitialEffects(
PhabricatorLiskDAO $object, PhabricatorLiskDAO $object,
array $xactions) { array $xactions) {
throw new Exception('Not implemented.'); throw new PhutilMethodNotImplementedException();
} }
private function applyInternalEffects( private function applyInternalEffects(

View file

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