@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Remove deprecated `maniphest.find` Conduit method

Summary: This method has been deprecated for a long time (see D2887 and D6336).

Test Plan:
```lang=bash
> echo '{}' | arc --conduit-uri=http://phabricator.local call-conduit 'maniphest.find'
Waiting for JSON parameters on stdin...
{"error":"ERR-CONDUIT-CALL","errorMessage":"ERR-CONDUIT-CALL: ","response":null}
```

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D11117

+1 -33
-2
src/__phutil_library_map__.php
··· 1005 1005 'ManiphestExcelDefaultFormat' => 'applications/maniphest/export/ManiphestExcelDefaultFormat.php', 1006 1006 'ManiphestExcelFormat' => 'applications/maniphest/export/ManiphestExcelFormat.php', 1007 1007 'ManiphestExportController' => 'applications/maniphest/controller/ManiphestExportController.php', 1008 - 'ManiphestFindConduitAPIMethod' => 'applications/maniphest/conduit/ManiphestFindConduitAPIMethod.php', 1009 1008 'ManiphestGetTaskTransactionsConduitAPIMethod' => 'applications/maniphest/conduit/ManiphestGetTaskTransactionsConduitAPIMethod.php', 1010 1009 'ManiphestHovercardEventListener' => 'applications/maniphest/event/ManiphestHovercardEventListener.php', 1011 1010 'ManiphestInfoConduitAPIMethod' => 'applications/maniphest/conduit/ManiphestInfoConduitAPIMethod.php', ··· 4116 4115 'ManiphestEditStatusCapability' => 'PhabricatorPolicyCapability', 4117 4116 'ManiphestExcelDefaultFormat' => 'ManiphestExcelFormat', 4118 4117 'ManiphestExportController' => 'ManiphestController', 4119 - 'ManiphestFindConduitAPIMethod' => 'ManiphestQueryConduitAPIMethod', 4120 4118 'ManiphestGetTaskTransactionsConduitAPIMethod' => 'ManiphestConduitAPIMethod', 4121 4119 'ManiphestHovercardEventListener' => 'PhabricatorEventListener', 4122 4120 'ManiphestInfoConduitAPIMethod' => 'ManiphestConduitAPIMethod',
-25
src/applications/maniphest/conduit/ManiphestFindConduitAPIMethod.php
··· 1 - <?php 2 - 3 - /** 4 - * @concrete-extensible 5 - */ 6 - final class ManiphestFindConduitAPIMethod 7 - extends ManiphestQueryConduitAPIMethod { 8 - 9 - public function getAPIMethodName() { 10 - return 'maniphest.find'; 11 - } 12 - 13 - public function getMethodStatus() { 14 - return self::METHOD_STATUS_DEPRECATED; 15 - } 16 - 17 - public function getMethodStatusDescription() { 18 - return "Renamed to 'maniphest.query'."; 19 - } 20 - 21 - public function getMethodDescription() { 22 - return 'Deprecated alias of maniphest.query'; 23 - } 24 - 25 - }
+1 -6
src/applications/maniphest/conduit/ManiphestQueryConduitAPIMethod.php
··· 1 1 <?php 2 2 3 - /** 4 - * TODO: Remove maniphest.find, then make this final. 5 - * 6 - * @concrete-extensible 7 - */ 8 - class ManiphestQueryConduitAPIMethod extends ManiphestConduitAPIMethod { 3 + final class ManiphestQueryConduitAPIMethod extends ManiphestConduitAPIMethod { 9 4 10 5 public function getAPIMethodName() { 11 6 return 'maniphest.query';