diff --git a/src/applications/auth/provider/PhabricatorAuthProvider.php b/src/applications/auth/provider/PhabricatorAuthProvider.php --- a/src/applications/auth/provider/PhabricatorAuthProvider.php +++ b/src/applications/auth/provider/PhabricatorAuthProvider.php @@ -180,7 +180,7 @@ protected function renderLoginForm( AphrontRequest $request, $mode) { - throw new Exception('Not implemented!'); + throw new PhutilMethodNotImplementedException(); } public function createProviders() { @@ -295,7 +295,7 @@ } public function getDefaultExternalAccount() { - throw new Exception('Not implemented!'); + throw new PhutilMethodNotImplementedException(); } public function getLoginOrder() { diff --git a/src/applications/differential/render/DifferentialChangesetOneUpRenderer.php b/src/applications/differential/render/DifferentialChangesetOneUpRenderer.php --- a/src/applications/differential/render/DifferentialChangesetOneUpRenderer.php +++ b/src/applications/differential/render/DifferentialChangesetOneUpRenderer.php @@ -67,11 +67,13 @@ 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(); } } diff --git a/src/applications/differential/render/DifferentialChangesetTestRenderer.php b/src/applications/differential/render/DifferentialChangesetTestRenderer.php --- a/src/applications/differential/render/DifferentialChangesetTestRenderer.php +++ b/src/applications/differential/render/DifferentialChangesetTestRenderer.php @@ -76,11 +76,13 @@ } - 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(); } } diff --git a/src/applications/phid/type/PhabricatorPHIDType.php b/src/applications/phid/type/PhabricatorPHIDType.php --- a/src/applications/phid/type/PhabricatorPHIDType.php +++ b/src/applications/phid/type/PhabricatorPHIDType.php @@ -135,7 +135,7 @@ public function loadNamedObjects( PhabricatorObjectQuery $query, array $names) { - throw new Exception('Not implemented!'); + throw new PhutilMethodNotImplementedException(); } diff --git a/src/applications/search/engine/PhabricatorApplicationSearchEngine.php b/src/applications/search/engine/PhabricatorApplicationSearchEngine.php --- a/src/applications/search/engine/PhabricatorApplicationSearchEngine.php +++ b/src/applications/search/engine/PhabricatorApplicationSearchEngine.php @@ -244,7 +244,7 @@ } protected function getApplicationClassName() { - throw new Exception(pht('Not implemented for this SearchEngine yet!')); + throw new PhutilMethodNotImplementedException(); } diff --git a/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php b/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php --- a/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php +++ b/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php @@ -327,7 +327,7 @@ protected function applyInitialEffects( PhabricatorLiskDAO $object, array $xactions) { - throw new Exception('Not implemented.'); + throw new PhutilMethodNotImplementedException(); } private function applyInternalEffects( diff --git a/src/applications/transactions/storage/PhabricatorApplicationTransaction.php b/src/applications/transactions/storage/PhabricatorApplicationTransaction.php --- a/src/applications/transactions/storage/PhabricatorApplicationTransaction.php +++ b/src/applications/transactions/storage/PhabricatorApplicationTransaction.php @@ -76,7 +76,7 @@ } public function getApplicationTransactionCommentObject() { - throw new Exception('Not implemented!'); + throw new PhutilMethodNotImplementedException(); } public function getApplicationTransactionViewObject() {