Remove @group annotations
				
					
				
			Summary: I'm pretty sure that `@group` annotations are useless now... see D9855. Also fixed various other minor issues. Test Plan: Eye-ball it. Reviewers: #blessed_reviewers, epriestley, chad Reviewed By: #blessed_reviewers, epriestley Subscribers: epriestley, Korvin, hach-que Differential Revision: https://secure.phabricator.com/D9859
This commit is contained in:
		| @@ -798,7 +798,7 @@ return array( | |||||||
|     // '#/autobuilt/#', |     // '#/autobuilt/#', | ||||||
|   ), |   ), | ||||||
|  |  | ||||||
|   // If you set this to true, users can accept their own revisions.  This action |   // If you set this to true, users can accept their own revisions. This action | ||||||
|   // is disabled by default because it's most likely not a behavior you want, |   // is disabled by default because it's most likely not a behavior you want, | ||||||
|   // but it proves useful if you are working alone on a project and want to make |   // but it proves useful if you are working alone on a project and want to make | ||||||
|   // use of all of differential's features. |   // use of all of differential's features. | ||||||
| @@ -817,7 +817,7 @@ return array( | |||||||
|  |  | ||||||
|   // If you set this to true, any user can reopen a revision so long as it has |   // If you set this to true, any user can reopen a revision so long as it has | ||||||
|   // been closed.  This can be useful if a revision is accidentally closed or |   // been closed.  This can be useful if a revision is accidentally closed or | ||||||
|   // if a developer changes his or her mind after closing a revision.  If it is |   // if a developer changes his or her mind after closing a revision. If it is | ||||||
|   // false, reopening is not allowed. |   // false, reopening is not allowed. | ||||||
|   'differential.allow-reopen' => false, |   'differential.allow-reopen' => false, | ||||||
|  |  | ||||||
|   | |||||||
| @@ -27,8 +27,6 @@ use Balanced\Card; | |||||||
|  *     <li>$BALANCED_URL_ROOT If set applies to \Balanced\Settings::$url_root. |  *     <li>$BALANCED_URL_ROOT If set applies to \Balanced\Settings::$url_root. | ||||||
|  *     <li>$BALANCED_API_KEY If set applies to \Balanced\Settings::$api_key. |  *     <li>$BALANCED_API_KEY If set applies to \Balanced\Settings::$api_key. | ||||||
|  * </ul> |  * </ul> | ||||||
|  * |  | ||||||
|  * @group suite |  | ||||||
|  */ |  */ | ||||||
| class SuiteTest extends \PHPUnit_Framework_TestCase | class SuiteTest extends \PHPUnit_Framework_TestCase | ||||||
| { | { | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group aphront |  | ||||||
|  */ |  | ||||||
| abstract class AphrontController extends Phobject { | abstract class AphrontController extends Phobject { | ||||||
|  |  | ||||||
|   private $request; |   private $request; | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group aphront |  | ||||||
|  */ |  | ||||||
| final class AphrontURIMapper { | final class AphrontURIMapper { | ||||||
|  |  | ||||||
|   private $map; |   private $map; | ||||||
| @@ -49,4 +46,5 @@ final class AphrontURIMapper { | |||||||
|  |  | ||||||
|     return array(null, null); |     return array(null, null); | ||||||
|   } |   } | ||||||
|  |  | ||||||
| } | } | ||||||
|   | |||||||
| @@ -2,7 +2,6 @@ | |||||||
|  |  | ||||||
| /** | /** | ||||||
|  * @task  routing URI Routing |  * @task  routing URI Routing | ||||||
|  * @group aphront |  | ||||||
|  */ |  */ | ||||||
| abstract class AphrontApplicationConfiguration { | abstract class AphrontApplicationConfiguration { | ||||||
|  |  | ||||||
| @@ -228,4 +227,5 @@ abstract class AphrontApplicationConfiguration { | |||||||
|  |  | ||||||
|     return array($controller, $uri_data); |     return array($controller, $uri_data); | ||||||
|   } |   } | ||||||
|  |  | ||||||
| } | } | ||||||
|   | |||||||
| @@ -4,7 +4,6 @@ | |||||||
|  * NOTE: Do not extend this! |  * NOTE: Do not extend this! | ||||||
|  * |  * | ||||||
|  * @concrete-extensible |  * @concrete-extensible | ||||||
|  * @group aphront |  | ||||||
|  */ |  */ | ||||||
| class AphrontDefaultApplicationConfiguration | class AphrontDefaultApplicationConfiguration | ||||||
|   extends AphrontApplicationConfiguration { |   extends AphrontApplicationConfiguration { | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group console |  | ||||||
|  */ |  | ||||||
| final class DarkConsoleController extends PhabricatorController { | final class DarkConsoleController extends PhabricatorController { | ||||||
|  |  | ||||||
|   protected $op; |   protected $op; | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group console |  | ||||||
|  */ |  | ||||||
| final class DarkConsoleCore { | final class DarkConsoleCore { | ||||||
|  |  | ||||||
|   private $plugins = array(); |   private $plugins = array(); | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group console |  | ||||||
|  */ |  | ||||||
| final class DarkConsoleDataController extends PhabricatorController { | final class DarkConsoleDataController extends PhabricatorController { | ||||||
|  |  | ||||||
|   private $key; |   private $key; | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group console |  | ||||||
|  */ |  | ||||||
| final class DarkConsoleErrorLogPlugin extends DarkConsolePlugin { | final class DarkConsoleErrorLogPlugin extends DarkConsolePlugin { | ||||||
|  |  | ||||||
|   public function getName() { |   public function getName() { | ||||||
| @@ -98,4 +95,5 @@ final class DarkConsoleErrorLogPlugin extends DarkConsolePlugin { | |||||||
|         phutil_tag('pre', array('class' => 'PhabricatorMonospaced'), $details), |         phutil_tag('pre', array('class' => 'PhabricatorMonospaced'), $details), | ||||||
|       )); |       )); | ||||||
|   } |   } | ||||||
|  |  | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group console |  | ||||||
|  */ |  | ||||||
| final class DarkConsoleEventPlugin extends DarkConsolePlugin { | final class DarkConsoleEventPlugin extends DarkConsolePlugin { | ||||||
|  |  | ||||||
|   public function getName() { |   public function getName() { | ||||||
| @@ -14,7 +11,6 @@ final class DarkConsoleEventPlugin extends DarkConsolePlugin { | |||||||
|   } |   } | ||||||
|  |  | ||||||
|   public function generateData() { |   public function generateData() { | ||||||
|  |  | ||||||
|     $listeners = PhutilEventEngine::getInstance()->getAllListeners(); |     $listeners = PhutilEventEngine::getInstance()->getAllListeners(); | ||||||
|     foreach ($listeners as $key => $listener) { |     foreach ($listeners as $key => $listener) { | ||||||
|       $listeners[$key] = array( |       $listeners[$key] = array( | ||||||
| @@ -95,4 +91,5 @@ final class DarkConsoleEventPlugin extends DarkConsolePlugin { | |||||||
|  |  | ||||||
|     return phutil_implode_html("\n", $out); |     return phutil_implode_html("\n", $out); | ||||||
|   } |   } | ||||||
|  |  | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group console |  | ||||||
|  */ |  | ||||||
| abstract class DarkConsolePlugin { | abstract class DarkConsolePlugin { | ||||||
|  |  | ||||||
|   private $data; |   private $data; | ||||||
| @@ -13,9 +10,7 @@ abstract class DarkConsolePlugin { | |||||||
|   abstract public function getDescription(); |   abstract public function getDescription(); | ||||||
|   abstract public function renderPanel(); |   abstract public function renderPanel(); | ||||||
|  |  | ||||||
|   public function __construct() { |   public function __construct() {} | ||||||
|  |  | ||||||
|   } |  | ||||||
|  |  | ||||||
|   public function getColor() { |   public function getColor() { | ||||||
|     return null; |     return null; | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group console |  | ||||||
|  */ |  | ||||||
| final class DarkConsoleRequestPlugin extends DarkConsolePlugin { | final class DarkConsoleRequestPlugin extends DarkConsolePlugin { | ||||||
|  |  | ||||||
|   public function getName() { |   public function getName() { | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group console |  | ||||||
|  */ |  | ||||||
| final class DarkConsoleServicesPlugin extends DarkConsolePlugin { | final class DarkConsoleServicesPlugin extends DarkConsolePlugin { | ||||||
|  |  | ||||||
|   protected $observations; |   protected $observations; | ||||||
| @@ -36,7 +33,6 @@ final class DarkConsoleServicesPlugin extends DarkConsolePlugin { | |||||||
|    * @phutil-external-symbol class PhabricatorStartup |    * @phutil-external-symbol class PhabricatorStartup | ||||||
|    */ |    */ | ||||||
|   public function generateData() { |   public function generateData() { | ||||||
|  |  | ||||||
|     $should_analyze = self::isQueryAnalyzerRequested(); |     $should_analyze = self::isQueryAnalyzerRequested(); | ||||||
|  |  | ||||||
|     $log = PhutilServiceProfiler::getInstance()->getServiceCallLog(); |     $log = PhutilServiceProfiler::getInstance()->getServiceCallLog(); | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group console |  | ||||||
|  */ |  | ||||||
| final class DarkConsoleXHProfPlugin extends DarkConsolePlugin { | final class DarkConsoleXHProfPlugin extends DarkConsolePlugin { | ||||||
|  |  | ||||||
|   protected $profileFilePHID; |   protected $profileFilePHID; | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group console |  | ||||||
|  */ |  | ||||||
| final class DarkConsoleErrorLogPluginAPI { | final class DarkConsoleErrorLogPluginAPI { | ||||||
|  |  | ||||||
|   private static $errors = array(); |   private static $errors = array(); | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group console |  | ||||||
|  */ |  | ||||||
| final class DarkConsoleEventPluginAPI extends PhabricatorEventListener { | final class DarkConsoleEventPluginAPI extends PhabricatorEventListener { | ||||||
|  |  | ||||||
|   private static $events = array(); |   private static $events = array(); | ||||||
|   | |||||||
| @@ -1,7 +1,6 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** | /** | ||||||
|  * @group console |  | ||||||
|  * @phutil-external-symbol function xhprof_enable |  * @phutil-external-symbol function xhprof_enable | ||||||
|  * @phutil-external-symbol function xhprof_disable |  * @phutil-external-symbol function xhprof_disable | ||||||
|  */ |  */ | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group aphront |  | ||||||
|  */ |  | ||||||
| final class Aphront304Response extends AphrontResponse { | final class Aphront304Response extends AphrontResponse { | ||||||
|  |  | ||||||
|   public function getHTTPResponseCode() { |   public function getHTTPResponseCode() { | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group aphront |  | ||||||
|  */ |  | ||||||
| final class Aphront400Response extends AphrontResponse { | final class Aphront400Response extends AphrontResponse { | ||||||
|  |  | ||||||
|   public function getHTTPResponseCode() { |   public function getHTTPResponseCode() { | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group aphront |  | ||||||
|  */ |  | ||||||
| final class Aphront403Response extends AphrontHTMLResponse { | final class Aphront403Response extends AphrontHTMLResponse { | ||||||
|  |  | ||||||
|   private $forbiddenText; |   private $forbiddenText; | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group aphront |  | ||||||
|  */ |  | ||||||
| final class Aphront404Response extends AphrontHTMLResponse { | final class Aphront404Response extends AphrontHTMLResponse { | ||||||
|  |  | ||||||
|   public function getHTTPResponseCode() { |   public function getHTTPResponseCode() { | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group aphront |  | ||||||
|  */ |  | ||||||
| final class AphrontAjaxResponse extends AphrontResponse { | final class AphrontAjaxResponse extends AphrontResponse { | ||||||
|  |  | ||||||
|   private $content; |   private $content; | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group aphront |  | ||||||
|  */ |  | ||||||
| final class AphrontDialogResponse extends AphrontResponse { | final class AphrontDialogResponse extends AphrontResponse { | ||||||
|  |  | ||||||
|   private $dialog; |   private $dialog; | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group aphront |  | ||||||
|  */ |  | ||||||
| final class AphrontFileResponse extends AphrontResponse { | final class AphrontFileResponse extends AphrontResponse { | ||||||
|  |  | ||||||
|   private $content; |   private $content; | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group aphront |  | ||||||
|  */ |  | ||||||
| abstract class AphrontHTMLResponse extends AphrontResponse { | abstract class AphrontHTMLResponse extends AphrontResponse { | ||||||
|  |  | ||||||
|   public function getHeaders() { |   public function getHeaders() { | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group aphront |  | ||||||
|  */ |  | ||||||
| final class AphrontJSONResponse extends AphrontResponse { | final class AphrontJSONResponse extends AphrontResponse { | ||||||
|  |  | ||||||
|   private $content; |   private $content; | ||||||
| @@ -40,4 +37,5 @@ final class AphrontJSONResponse extends AphrontResponse { | |||||||
|     $headers = array_merge(parent::getHeaders(), $headers); |     $headers = array_merge(parent::getHeaders(), $headers); | ||||||
|     return $headers; |     return $headers; | ||||||
|   } |   } | ||||||
|  |  | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group aphront |  | ||||||
|  */ |  | ||||||
| final class AphrontPlainTextResponse extends AphrontResponse { | final class AphrontPlainTextResponse extends AphrontResponse { | ||||||
|  |  | ||||||
|   public function setContent($content) { |   public function setContent($content) { | ||||||
|   | |||||||
| @@ -7,8 +7,6 @@ | |||||||
|  * instantiating an @{class:AphrontAjaxResponse} in @{method:buildProxy}, and |  * instantiating an @{class:AphrontAjaxResponse} in @{method:buildProxy}, and | ||||||
|  * then constructing a real @{class:AphrontAjaxResponse} in |  * then constructing a real @{class:AphrontAjaxResponse} in | ||||||
|  * @{method:reduceProxyResponse}. |  * @{method:reduceProxyResponse}. | ||||||
|  * |  | ||||||
|  * @group aphront |  | ||||||
|  */ |  */ | ||||||
| abstract class AphrontProxyResponse extends AphrontResponse { | abstract class AphrontProxyResponse extends AphrontResponse { | ||||||
|  |  | ||||||
| @@ -70,5 +68,4 @@ abstract class AphrontProxyResponse extends AphrontResponse { | |||||||
|       'AphrontProxyResponse must implement reduceProxyResponse().'); |       'AphrontProxyResponse must implement reduceProxyResponse().'); | ||||||
|   } |   } | ||||||
|  |  | ||||||
|  |  | ||||||
| } | } | ||||||
|   | |||||||
| @@ -2,8 +2,6 @@ | |||||||
|  |  | ||||||
| /** | /** | ||||||
|  * TODO: Should be final but isn't because of AphrontReloadResponse. |  * TODO: Should be final but isn't because of AphrontReloadResponse. | ||||||
|  * |  | ||||||
|  * @group aphront |  | ||||||
|  */ |  */ | ||||||
| class AphrontRedirectResponse extends AphrontResponse { | class AphrontRedirectResponse extends AphrontResponse { | ||||||
|  |  | ||||||
|   | |||||||
| @@ -5,8 +5,6 @@ | |||||||
|  * if the action is javascript-driven but redirect if it isn't. This preserves |  * if the action is javascript-driven but redirect if it isn't. This preserves | ||||||
|  * query parameters in the javascript case. A reload response behaves like |  * query parameters in the javascript case. A reload response behaves like | ||||||
|  * a redirect response but causes a page reload when received via workflow. |  * a redirect response but causes a page reload when received via workflow. | ||||||
|  * |  | ||||||
|  * @group aphront |  | ||||||
|  */ |  */ | ||||||
| final class AphrontReloadResponse extends AphrontRedirectResponse { | final class AphrontReloadResponse extends AphrontRedirectResponse { | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group aphront |  | ||||||
|  */ |  | ||||||
| abstract class AphrontResponse { | abstract class AphrontResponse { | ||||||
|  |  | ||||||
|   private $request; |   private $request; | ||||||
| @@ -94,7 +91,6 @@ abstract class AphrontResponse { | |||||||
|   } |   } | ||||||
|  |  | ||||||
|   protected function addJSONShield($json_response) { |   protected function addJSONShield($json_response) { | ||||||
|  |  | ||||||
|     // Add a shield to prevent "JSON Hijacking" attacks where an attacker |     // Add a shield to prevent "JSON Hijacking" attacks where an attacker | ||||||
|     // requests a JSON response using a normal <script /> tag and then uses |     // requests a JSON response using a normal <script /> tag and then uses | ||||||
|     // Object.prototype.__defineSetter__() or similar to read response data. |     // Object.prototype.__defineSetter__() or similar to read response data. | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group aphront |  | ||||||
|  */ |  | ||||||
| final class AphrontWebpageResponse extends AphrontHTMLResponse { | final class AphrontWebpageResponse extends AphrontHTMLResponse { | ||||||
|  |  | ||||||
|   private $content; |   private $content; | ||||||
|   | |||||||
| @@ -10,8 +10,6 @@ | |||||||
|  * |  * | ||||||
|  * @task write  Writing Response Components |  * @task write  Writing Response Components | ||||||
|  * @task emit   Emitting the Response |  * @task emit   Emitting the Response | ||||||
|  * |  | ||||||
|  * @group aphront |  | ||||||
|  */ |  */ | ||||||
| abstract class AphrontHTTPSink { | abstract class AphrontHTTPSink { | ||||||
|  |  | ||||||
| @@ -117,4 +115,5 @@ abstract class AphrontHTTPSink { | |||||||
|   abstract protected function emitHTTPStatus($code, $message = ''); |   abstract protected function emitHTTPStatus($code, $message = ''); | ||||||
|   abstract protected function emitHeader($name, $value); |   abstract protected function emitHeader($name, $value); | ||||||
|   abstract protected function emitData($data); |   abstract protected function emitData($data); | ||||||
|  |  | ||||||
| } | } | ||||||
|   | |||||||
| @@ -2,8 +2,6 @@ | |||||||
|  |  | ||||||
| /** | /** | ||||||
|  * Isolated HTTP sink for testing. |  * Isolated HTTP sink for testing. | ||||||
|  * |  | ||||||
|  * @group aphront |  | ||||||
|  */ |  */ | ||||||
| final class AphrontIsolatedHTTPSink extends AphrontHTTPSink { | final class AphrontIsolatedHTTPSink extends AphrontHTTPSink { | ||||||
|  |  | ||||||
|   | |||||||
| @@ -2,8 +2,6 @@ | |||||||
|  |  | ||||||
| /** | /** | ||||||
|  * Concrete HTTP sink which uses "echo" and "header()" to emit data. |  * Concrete HTTP sink which uses "echo" and "header()" to emit data. | ||||||
|  * |  | ||||||
|  * @group aphront |  | ||||||
|  */ |  */ | ||||||
| final class AphrontPHPHTTPSink extends AphrontHTTPSink { | final class AphrontPHPHTTPSink extends AphrontHTTPSink { | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,8 +1,3 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** | abstract class ConduitAPI_arcanist_Method extends ConduitAPIMethod {} | ||||||
|  * @group conduit |  | ||||||
|  */ |  | ||||||
| abstract class ConduitAPI_arcanist_Method extends ConduitAPIMethod { |  | ||||||
|  |  | ||||||
| } |  | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group conduit |  | ||||||
|  */ |  | ||||||
| final class ConduitAPI_arcanist_projectinfo_Method | final class ConduitAPI_arcanist_projectinfo_Method | ||||||
|   extends ConduitAPI_arcanist_Method { |   extends ConduitAPI_arcanist_Method { | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group conduit |  | ||||||
|  */ |  | ||||||
| abstract class ConduitAPI_audit_Method extends ConduitAPIMethod { | abstract class ConduitAPI_audit_Method extends ConduitAPIMethod { | ||||||
|  |  | ||||||
|   public function getApplication() { |   public function getApplication() { | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group conduit |  | ||||||
|  */ |  | ||||||
| final class ConduitAPI_audit_query_Method extends ConduitAPI_audit_Method { | final class ConduitAPI_audit_query_Method extends ConduitAPI_audit_Method { | ||||||
|  |  | ||||||
|   public function getMethodDescription() { |   public function getMethodDescription() { | ||||||
| @@ -76,5 +73,4 @@ final class ConduitAPI_audit_query_Method extends ConduitAPI_audit_Method { | |||||||
|     return $results; |     return $results; | ||||||
|   } |   } | ||||||
|  |  | ||||||
|  |  | ||||||
| } | } | ||||||
|   | |||||||
| @@ -6,10 +6,8 @@ | |||||||
|  * @task  uri   URI Routing |  * @task  uri   URI Routing | ||||||
|  * @task  fact  Fact Integration |  * @task  fact  Fact Integration | ||||||
|  * @task  meta  Application Management |  * @task  meta  Application Management | ||||||
|  * @group apps |  | ||||||
|  */ |  */ | ||||||
| abstract class PhabricatorApplication | abstract class PhabricatorApplication implements PhabricatorPolicyInterface { | ||||||
|   implements PhabricatorPolicyInterface { |  | ||||||
|  |  | ||||||
|   const GROUP_CORE            = 'core'; |   const GROUP_CORE            = 'core'; | ||||||
|   const GROUP_UTILITIES       = 'util'; |   const GROUP_UTILITIES       = 'util'; | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group calendar |  | ||||||
|  */ |  | ||||||
| final class CalendarColors extends CalendarConstants { | final class CalendarColors extends CalendarConstants { | ||||||
|  |  | ||||||
|   const COLOR_RED = 'red'; |   const COLOR_RED = 'red'; | ||||||
|   | |||||||
| @@ -1,8 +1,3 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** | abstract class CalendarConstants {} | ||||||
|  * @group calendar |  | ||||||
|  */ |  | ||||||
| abstract class CalendarConstants { |  | ||||||
|  |  | ||||||
| } |  | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group conduit |  | ||||||
|  */ |  | ||||||
| abstract class ConduitAPI_chatlog_Method extends ConduitAPIMethod { | abstract class ConduitAPI_chatlog_Method extends ConduitAPIMethod { | ||||||
|  |  | ||||||
|   public function getApplication() { |   public function getApplication() { | ||||||
|   | |||||||
| @@ -1,10 +1,6 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** | final class ConduitAPI_chatlog_query_Method extends ConduitAPI_chatlog_Method { | ||||||
|  * @group conduit |  | ||||||
|  */ |  | ||||||
| final class ConduitAPI_chatlog_query_Method |  | ||||||
|   extends ConduitAPI_chatlog_Method { |  | ||||||
|  |  | ||||||
|   public function getMethodStatus() { |   public function getMethodStatus() { | ||||||
|     return self::METHOD_STATUS_UNSTABLE; |     return self::METHOD_STATUS_UNSTABLE; | ||||||
| @@ -30,7 +26,6 @@ final class ConduitAPI_chatlog_query_Method | |||||||
|   } |   } | ||||||
|  |  | ||||||
|   protected function execute(ConduitAPIRequest $request) { |   protected function execute(ConduitAPIRequest $request) { | ||||||
|  |  | ||||||
|     $query = new PhabricatorChatLogQuery(); |     $query = new PhabricatorChatLogQuery(); | ||||||
|  |  | ||||||
|     $channel_ids = $request->getValue('channelIDs'); |     $channel_ids = $request->getValue('channelIDs'); | ||||||
|   | |||||||
| @@ -1,10 +1,6 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** | final class ConduitAPI_chatlog_record_Method extends ConduitAPI_chatlog_Method { | ||||||
|  * @group conduit |  | ||||||
|  */ |  | ||||||
| final class ConduitAPI_chatlog_record_Method |  | ||||||
|   extends ConduitAPI_chatlog_Method { |  | ||||||
|  |  | ||||||
|   public function getMethodStatus() { |   public function getMethodStatus() { | ||||||
|     return self::METHOD_STATUS_UNSTABLE; |     return self::METHOD_STATUS_UNSTABLE; | ||||||
| @@ -25,8 +21,7 @@ final class ConduitAPI_chatlog_record_Method | |||||||
|   } |   } | ||||||
|  |  | ||||||
|   public function defineErrorTypes() { |   public function defineErrorTypes() { | ||||||
|     return array( |     return array(); | ||||||
|     ); |  | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   protected function execute(ConduitAPIRequest $request) { |   protected function execute(ConduitAPIRequest $request) { | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group conduit |  | ||||||
|  */ |  | ||||||
| final class PhabricatorConduitAPIController | final class PhabricatorConduitAPIController | ||||||
|   extends PhabricatorConduitController { |   extends PhabricatorConduitController { | ||||||
|  |  | ||||||
| @@ -467,4 +464,5 @@ final class PhabricatorConduitAPIController | |||||||
|  |  | ||||||
|     return $params; |     return $params; | ||||||
|   } |   } | ||||||
|  |  | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group conduit |  | ||||||
|  */ |  | ||||||
| abstract class PhabricatorConduitController extends PhabricatorController { | abstract class PhabricatorConduitController extends PhabricatorController { | ||||||
|  |  | ||||||
|   protected function buildSideNavView() { |   protected function buildSideNavView() { | ||||||
| @@ -27,5 +24,4 @@ abstract class PhabricatorConduitController extends PhabricatorController { | |||||||
|     return $this->buildSideNavView()->getMenu(); |     return $this->buildSideNavView()->getMenu(); | ||||||
|   } |   } | ||||||
|  |  | ||||||
|  |  | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group conduit |  | ||||||
|  */ |  | ||||||
| final class PhabricatorConduitLogController | final class PhabricatorConduitLogController | ||||||
|   extends PhabricatorConduitController { |   extends PhabricatorConduitController { | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group conduit |  | ||||||
|  */ |  | ||||||
| final class PhabricatorConduitTokenController | final class PhabricatorConduitTokenController | ||||||
|   extends PhabricatorConduitController { |   extends PhabricatorConduitController { | ||||||
|  |  | ||||||
| @@ -72,4 +69,5 @@ final class PhabricatorConduitTokenController | |||||||
|         'title' => pht('Certificate Install Token'), |         'title' => pht('Certificate Install Token'), | ||||||
|       )); |       )); | ||||||
|   } |   } | ||||||
|  |  | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group conduit |  | ||||||
|  */ |  | ||||||
| final class ConduitAPI_conduit_connect_Method extends ConduitAPIMethod { | final class ConduitAPI_conduit_connect_Method extends ConduitAPIMethod { | ||||||
|  |  | ||||||
|   public function shouldRequireAuthentication() { |   public function shouldRequireAuthentication() { | ||||||
| @@ -55,7 +52,6 @@ final class ConduitAPI_conduit_connect_Method extends ConduitAPIMethod { | |||||||
|   } |   } | ||||||
|  |  | ||||||
|   protected function execute(ConduitAPIRequest $request) { |   protected function execute(ConduitAPIRequest $request) { | ||||||
|  |  | ||||||
|     $client = $request->getValue('client'); |     $client = $request->getValue('client'); | ||||||
|     $client_version = (int)$request->getValue('clientVersion'); |     $client_version = (int)$request->getValue('clientVersion'); | ||||||
|     $client_description = (string)$request->getValue('clientDescription'); |     $client_description = (string)$request->getValue('clientDescription'); | ||||||
| @@ -109,9 +105,7 @@ final class ConduitAPI_conduit_connect_Method extends ConduitAPIMethod { | |||||||
|     $token = $request->getValue('authToken'); |     $token = $request->getValue('authToken'); | ||||||
|     $signature = $request->getValue('authSignature'); |     $signature = $request->getValue('authSignature'); | ||||||
|  |  | ||||||
|     $user = id(new PhabricatorUser())->loadOneWhere( |     $user = id(new PhabricatorUser())->loadOneWhere('username = %s', $username); | ||||||
|       'username = %s', |  | ||||||
|       $username); |  | ||||||
|     if (!$user) { |     if (!$user) { | ||||||
|       throw new ConduitException('ERR-INVALID-USER'); |       throw new ConduitException('ERR-INVALID-USER'); | ||||||
|     } |     } | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group conduit |  | ||||||
|  */ |  | ||||||
| final class ConduitAPI_conduit_getcertificate_Method extends ConduitAPIMethod { | final class ConduitAPI_conduit_getcertificate_Method extends ConduitAPIMethod { | ||||||
|  |  | ||||||
|   public function shouldRequireAuthentication() { |   public function shouldRequireAuthentication() { | ||||||
| @@ -78,8 +75,8 @@ final class ConduitAPI_conduit_getcertificate_Method extends ConduitAPIMethod { | |||||||
|   } |   } | ||||||
|  |  | ||||||
|   private function logFailure( |   private function logFailure( | ||||||
|       ConduitAPIRequest $request, |     ConduitAPIRequest $request, | ||||||
|       PhabricatorConduitCertificateToken $info = null) { |     PhabricatorConduitCertificateToken $info = null) { | ||||||
|  |  | ||||||
|     $log = PhabricatorUserLog::initializeNewLog( |     $log = PhabricatorUserLog::initializeNewLog( | ||||||
|         $request->getUser(), |         $request->getUser(), | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group conduit |  | ||||||
|  */ |  | ||||||
| final class ConduitAPI_conduit_ping_Method extends ConduitAPIMethod { | final class ConduitAPI_conduit_ping_Method extends ConduitAPIMethod { | ||||||
|  |  | ||||||
|   public function shouldRequireAuthentication() { |   public function shouldRequireAuthentication() { | ||||||
| @@ -28,4 +25,5 @@ final class ConduitAPI_conduit_ping_Method extends ConduitAPIMethod { | |||||||
|   protected function execute(ConduitAPIRequest $request) { |   protected function execute(ConduitAPIRequest $request) { | ||||||
|     return php_uname('n'); |     return php_uname('n'); | ||||||
|   } |   } | ||||||
|  |  | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group conduit |  | ||||||
|  */ |  | ||||||
| final class ConduitAPI_conduit_query_Method extends ConduitAPIMethod { | final class ConduitAPI_conduit_query_Method extends ConduitAPIMethod { | ||||||
|  |  | ||||||
|   public function getMethodDescription() { |   public function getMethodDescription() { | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group conduit |  | ||||||
|  */ |  | ||||||
| final class ConduitAPIRequest { | final class ConduitAPIRequest { | ||||||
|  |  | ||||||
|   protected $params; |   protected $params; | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group conduit |  | ||||||
|  */ |  | ||||||
| final class ConduitAPIResponse { | final class ConduitAPIResponse { | ||||||
|  |  | ||||||
|   private $result; |   private $result; | ||||||
| @@ -13,6 +10,7 @@ final class ConduitAPIResponse { | |||||||
|     $this->result = $result; |     $this->result = $result; | ||||||
|     return $this; |     return $this; | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   public function getResult() { |   public function getResult() { | ||||||
|     return $this->result; |     return $this->result; | ||||||
|   } |   } | ||||||
| @@ -21,6 +19,7 @@ final class ConduitAPIResponse { | |||||||
|     $this->errorCode = $error_code; |     $this->errorCode = $error_code; | ||||||
|     return $this; |     return $this; | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   public function getErrorCode() { |   public function getErrorCode() { | ||||||
|     return $this->errorCode; |     return $this->errorCode; | ||||||
|   } |   } | ||||||
| @@ -40,4 +39,5 @@ final class ConduitAPIResponse { | |||||||
|       'error_info' => $this->getErrorInfo(), |       'error_info' => $this->getErrorInfo(), | ||||||
|     ); |     ); | ||||||
|   } |   } | ||||||
|  |  | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group conduit |  | ||||||
|  */ |  | ||||||
| final class ConduitException extends Exception { | final class ConduitException extends Exception { | ||||||
|  |  | ||||||
|   private $errorDescription; |   private $errorDescription; | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group conduit |  | ||||||
|  */ |  | ||||||
| final class PhabricatorConduitCertificateToken extends PhabricatorConduitDAO { | final class PhabricatorConduitCertificateToken extends PhabricatorConduitDAO { | ||||||
|  |  | ||||||
|   protected $userPHID; |   protected $userPHID; | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group conduit |  | ||||||
|  */ |  | ||||||
| final class PhabricatorConduitConnectionLog extends PhabricatorConduitDAO { | final class PhabricatorConduitConnectionLog extends PhabricatorConduitDAO { | ||||||
|  |  | ||||||
|   protected $client; |   protected $client; | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group conduit |  | ||||||
|  */ |  | ||||||
| abstract class PhabricatorConduitDAO extends PhabricatorLiskDAO { | abstract class PhabricatorConduitDAO extends PhabricatorLiskDAO { | ||||||
|  |  | ||||||
|   public function getApplicationName() { |   public function getApplicationName() { | ||||||
|   | |||||||
| @@ -1,9 +1,7 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** | final class PhabricatorConduitMethodCallLog | ||||||
|  * @group conduit |   extends PhabricatorConduitDAO | ||||||
|  */ |  | ||||||
| final class PhabricatorConduitMethodCallLog extends PhabricatorConduitDAO |  | ||||||
|   implements PhabricatorPolicyInterface { |   implements PhabricatorPolicyInterface { | ||||||
|  |  | ||||||
|   protected $callerPHID; |   protected $callerPHID; | ||||||
|   | |||||||
| @@ -1,10 +1,6 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** | abstract class ConduitAPI_conpherence_Method extends ConduitAPIMethod { | ||||||
|  * @group conduit |  | ||||||
|  */ |  | ||||||
| abstract class ConduitAPI_conpherence_Method |  | ||||||
|   extends ConduitAPIMethod { |  | ||||||
|  |  | ||||||
|   public function getApplication() { |   public function getApplication() { | ||||||
|     return PhabricatorApplication::getByClass( |     return PhabricatorApplication::getByClass( | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group conduit |  | ||||||
|  */ |  | ||||||
| final class ConduitAPI_conpherence_createthread_Method | final class ConduitAPI_conpherence_createthread_Method | ||||||
|   extends ConduitAPI_conpherence_Method { |   extends ConduitAPI_conpherence_Method { | ||||||
|  |  | ||||||
| @@ -32,7 +29,6 @@ final class ConduitAPI_conpherence_createthread_Method | |||||||
|   } |   } | ||||||
|  |  | ||||||
|   protected function execute(ConduitAPIRequest $request) { |   protected function execute(ConduitAPIRequest $request) { | ||||||
|  |  | ||||||
|     $participant_phids = $request->getValue('participantPHIDs', array()); |     $participant_phids = $request->getValue('participantPHIDs', array()); | ||||||
|     $message = $request->getValue('message'); |     $message = $request->getValue('message'); | ||||||
|     $title = $request->getValue('title'); |     $title = $request->getValue('title'); | ||||||
| @@ -60,6 +56,8 @@ final class ConduitAPI_conpherence_createthread_Method | |||||||
|     return array( |     return array( | ||||||
|       'conpherenceID' => $conpherence->getID(), |       'conpherenceID' => $conpherence->getID(), | ||||||
|       'conpherencePHID' => $conpherence->getPHID(), |       'conpherencePHID' => $conpherence->getPHID(), | ||||||
|       'conpherenceURI' => $this->getConpherenceURI($conpherence)); |       'conpherenceURI' => $this->getConpherenceURI($conpherence), | ||||||
|  |     ); | ||||||
|   } |   } | ||||||
|  |  | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,12 +1,8 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group conduit |  | ||||||
|  */ |  | ||||||
| final class ConduitAPI_conpherence_querythread_Method | final class ConduitAPI_conpherence_querythread_Method | ||||||
|   extends ConduitAPI_conpherence_Method { |   extends ConduitAPI_conpherence_Method { | ||||||
|  |  | ||||||
|  |  | ||||||
|   public function getMethodDescription() { |   public function getMethodDescription() { | ||||||
|     return pht( |     return pht( | ||||||
|       'Query for conpherence threads for the logged in user. '. |       'Query for conpherence threads for the logged in user. '. | ||||||
| @@ -82,4 +78,5 @@ final class ConduitAPI_conpherence_querythread_Method | |||||||
|     } |     } | ||||||
|     return $data; |     return $data; | ||||||
|   } |   } | ||||||
|  |  | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,12 +1,8 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group conduit |  | ||||||
|  */ |  | ||||||
| final class ConduitAPI_conpherence_querytransaction_Method | final class ConduitAPI_conpherence_querytransaction_Method | ||||||
|   extends ConduitAPI_conpherence_Method { |   extends ConduitAPI_conpherence_Method { | ||||||
|  |  | ||||||
|  |  | ||||||
|   public function getMethodDescription() { |   public function getMethodDescription() { | ||||||
|     return pht( |     return pht( | ||||||
|       'Query for transactions for the logged in user within a specific '. |       'Query for transactions for the logged in user within a specific '. | ||||||
| @@ -92,4 +88,5 @@ final class ConduitAPI_conpherence_querytransaction_Method | |||||||
|     } |     } | ||||||
|     return $data; |     return $data; | ||||||
|   } |   } | ||||||
|  |  | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group conduit |  | ||||||
|  */ |  | ||||||
| final class ConduitAPI_conpherence_updatethread_Method | final class ConduitAPI_conpherence_updatethread_Method | ||||||
|   extends ConduitAPI_conpherence_Method { |   extends ConduitAPI_conpherence_Method { | ||||||
|  |  | ||||||
| @@ -104,4 +101,5 @@ final class ConduitAPI_conpherence_updatethread_Method | |||||||
|  |  | ||||||
|     return true; |     return true; | ||||||
|   } |   } | ||||||
|  |  | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,8 +1,3 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** | abstract class ConpherenceConstants {} | ||||||
|  * @group conpherence |  | ||||||
|  */ |  | ||||||
| abstract class ConpherenceConstants { |  | ||||||
|  |  | ||||||
| } |  | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group conpherence |  | ||||||
|  */ |  | ||||||
| final class ConpherenceTransactionType extends ConpherenceConstants { | final class ConpherenceTransactionType extends ConpherenceConstants { | ||||||
|  |  | ||||||
|   const TYPE_FILES           = 'files'; |   const TYPE_FILES           = 'files'; | ||||||
|   | |||||||
| @@ -1,9 +1,7 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group conpherence |  | ||||||
|  */ |  | ||||||
| abstract class ConpherenceController extends PhabricatorController { | abstract class ConpherenceController extends PhabricatorController { | ||||||
|  |  | ||||||
|   private $conpherences; |   private $conpherences; | ||||||
|  |  | ||||||
|   public function buildApplicationMenu() { |   public function buildApplicationMenu() { | ||||||
| @@ -149,8 +147,8 @@ abstract class ConpherenceController extends PhabricatorController { | |||||||
|     return array( |     return array( | ||||||
|       'transactions' => $rendered_transactions, |       'transactions' => $rendered_transactions, | ||||||
|       'latest_transaction_id' => $latest_transaction_id, |       'latest_transaction_id' => $latest_transaction_id, | ||||||
|       'oldest_transaction_id' => $oldest_transaction_id |       'oldest_transaction_id' => $oldest_transaction_id, | ||||||
|     ); |     ); | ||||||
|  |  | ||||||
|   } |   } | ||||||
|  |  | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,10 +1,6 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** | final class ConpherenceListController extends ConpherenceController { | ||||||
|  * @group conpherence |  | ||||||
|  */ |  | ||||||
| final class ConpherenceListController |  | ||||||
|   extends ConpherenceController { |  | ||||||
|  |  | ||||||
|   const SELECTED_MODE = 'selected'; |   const SELECTED_MODE = 'selected'; | ||||||
|   const UNSELECTED_MODE = 'unselected'; |   const UNSELECTED_MODE = 'unselected'; | ||||||
| @@ -227,7 +223,8 @@ final class ConpherenceListController | |||||||
|     return array( |     return array( | ||||||
|       'scroll_up_participant' => $scroll_up_participant, |       'scroll_up_participant' => $scroll_up_participant, | ||||||
|       'scroll_down_participant' => $scroll_down_participant, |       'scroll_down_participant' => $scroll_down_participant, | ||||||
|       'participation' => $participation); |       'participation' => $participation, | ||||||
|  |     ); | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   private function loadConpherenceThreadData($participation) { |   private function loadConpherenceThreadData($participation) { | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group conpherence |  | ||||||
|  */ |  | ||||||
| final class ConpherenceNewController extends ConpherenceController { | final class ConpherenceNewController extends ConpherenceController { | ||||||
|  |  | ||||||
|   public function processRequest() { |   public function processRequest() { | ||||||
| @@ -99,4 +96,5 @@ final class ConpherenceNewController extends ConpherenceController { | |||||||
|  |  | ||||||
|     return id(new AphrontDialogResponse())->setDialog($dialog); |     return id(new AphrontDialogResponse())->setDialog($dialog); | ||||||
|   } |   } | ||||||
|  |  | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,13 +1,9 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group conpherence |  | ||||||
|  */ |  | ||||||
| final class ConpherenceNotificationPanelController | final class ConpherenceNotificationPanelController | ||||||
|   extends ConpherenceController { |   extends ConpherenceController { | ||||||
|  |  | ||||||
|   public function processRequest() { |   public function processRequest() { | ||||||
|  |  | ||||||
|     $request = $this->getRequest(); |     $request = $this->getRequest(); | ||||||
|     $user = $request->getUser(); |     $user = $request->getUser(); | ||||||
|     $conpherences = array(); |     $conpherences = array(); | ||||||
| @@ -108,4 +104,5 @@ final class ConpherenceNotificationPanelController | |||||||
|  |  | ||||||
|     return id(new AphrontAjaxResponse())->setContent($json); |     return id(new AphrontAjaxResponse())->setContent($json); | ||||||
|   } |   } | ||||||
|  |  | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,10 +1,6 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** | final class ConpherenceWidgetController extends ConpherenceController { | ||||||
|  * @group conpherence |  | ||||||
|  */ |  | ||||||
| final class ConpherenceWidgetController extends |  | ||||||
|   ConpherenceController { |  | ||||||
|  |  | ||||||
|   private $conpherenceID; |   private $conpherenceID; | ||||||
|   private $conpherence; |   private $conpherence; | ||||||
| @@ -14,6 +10,7 @@ final class ConpherenceWidgetController extends | |||||||
|     $this->userPreferences = $pref; |     $this->userPreferences = $pref; | ||||||
|     return $this; |     return $this; | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   public function getUserPreferences() { |   public function getUserPreferences() { | ||||||
|     return $this->userPreferences; |     return $this->userPreferences; | ||||||
|   } |   } | ||||||
| @@ -22,6 +19,7 @@ final class ConpherenceWidgetController extends | |||||||
|     $this->conpherence = $conpherence; |     $this->conpherence = $conpherence; | ||||||
|     return $this; |     return $this; | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   public function getConpherence() { |   public function getConpherence() { | ||||||
|     return $this->conpherence; |     return $this->conpherence; | ||||||
|   } |   } | ||||||
| @@ -30,6 +28,7 @@ final class ConpherenceWidgetController extends | |||||||
|     $this->conpherenceID = $conpherence_id; |     $this->conpherenceID = $conpherence_id; | ||||||
|     return $this; |     return $this; | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   public function getConpherenceID() { |   public function getConpherenceID() { | ||||||
|     return $this->conpherenceID; |     return $this->conpherenceID; | ||||||
|   } |   } | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group conpherence |  | ||||||
|  */ |  | ||||||
| final class ConpherenceEditor extends PhabricatorApplicationTransactionEditor { | final class ConpherenceEditor extends PhabricatorApplicationTransactionEditor { | ||||||
|  |  | ||||||
|   const ERROR_EMPTY_PARTICIPANTS = 'error-empty-participants'; |   const ERROR_EMPTY_PARTICIPANTS = 'error-empty-participants'; | ||||||
| @@ -421,4 +418,5 @@ final class ConpherenceEditor extends PhabricatorApplicationTransactionEditor { | |||||||
|   protected function supportsSearch() { |   protected function supportsSearch() { | ||||||
|     return false; |     return false; | ||||||
|   } |   } | ||||||
|  |  | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group conpherence |  | ||||||
|  */ |  | ||||||
| final class PhabricatorConpherencePHIDTypeThread extends PhabricatorPHIDType { | final class PhabricatorConpherencePHIDTypeThread extends PhabricatorPHIDType { | ||||||
|  |  | ||||||
|   const TYPECONST = 'CONP'; |   const TYPECONST = 'CONP'; | ||||||
|   | |||||||
| @@ -9,8 +9,6 @@ | |||||||
|  *     ->withParticipantPHIDs(array($my_phid)) |  *     ->withParticipantPHIDs(array($my_phid)) | ||||||
|  *     ->withParticipationStatus(ConpherenceParticipationStatus::BEHIND) |  *     ->withParticipationStatus(ConpherenceParticipationStatus::BEHIND) | ||||||
|  *     ->execute(); |  *     ->execute(); | ||||||
|  * |  | ||||||
|  * @group conpherence |  | ||||||
|  */ |  */ | ||||||
| final class ConpherenceParticipantCountQuery | final class ConpherenceParticipantCountQuery | ||||||
|   extends PhabricatorOffsetPagedQuery { |   extends PhabricatorOffsetPagedQuery { | ||||||
| @@ -65,7 +63,6 @@ final class ConpherenceParticipantCountQuery | |||||||
|   } |   } | ||||||
|  |  | ||||||
|   private function buildGroupByClause(AphrontDatabaseConnection $conn_r) { |   private function buildGroupByClause(AphrontDatabaseConnection $conn_r) { | ||||||
|  |  | ||||||
|     $group_by = qsprintf( |     $group_by = qsprintf( | ||||||
|       $conn_r, |       $conn_r, | ||||||
|       'GROUP BY participantPHID'); |       'GROUP BY participantPHID'); | ||||||
|   | |||||||
| @@ -30,11 +30,8 @@ | |||||||
|  * |  * | ||||||
|  * For counts of read, un-read, or all conpherences by participant, see |  * For counts of read, un-read, or all conpherences by participant, see | ||||||
|  * @{class:ConpherenceParticipantCountQuery}. |  * @{class:ConpherenceParticipantCountQuery}. | ||||||
|  * |  | ||||||
|  * @group conpherence |  | ||||||
|  */ |  */ | ||||||
| final class ConpherenceParticipantQuery | final class ConpherenceParticipantQuery extends PhabricatorOffsetPagedQuery { | ||||||
|   extends PhabricatorOffsetPagedQuery { |  | ||||||
|  |  | ||||||
|   const LIMIT = 100; |   const LIMIT = 100; | ||||||
|   const ORDER_NEWER = 'newer'; |   const ORDER_NEWER = 'newer'; | ||||||
| @@ -116,7 +113,6 @@ final class ConpherenceParticipantQuery | |||||||
|   } |   } | ||||||
|  |  | ||||||
|   private function buildOrderClause(AphrontDatabaseConnection $conn_r) { |   private function buildOrderClause(AphrontDatabaseConnection $conn_r) { | ||||||
|  |  | ||||||
|     $order_word = ($this->order == self::ORDER_OLDER) ? 'DESC' : 'ASC'; |     $order_word = ($this->order == self::ORDER_OLDER) ? 'DESC' : 'ASC'; | ||||||
|     // if these are different direction we won't get as efficient a query |     // if these are different direction we won't get as efficient a query | ||||||
|     // see http://dev.mysql.com/doc/refman/5.5/en/order-by-optimization.html |     // see http://dev.mysql.com/doc/refman/5.5/en/order-by-optimization.html | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group conpherence |  | ||||||
|  */ |  | ||||||
| final class ConpherenceThreadQuery | final class ConpherenceThreadQuery | ||||||
|   extends PhabricatorCursorPagedPolicyAwareQuery { |   extends PhabricatorCursorPagedPolicyAwareQuery { | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group conpherence |  | ||||||
|  */ |  | ||||||
| final class ConpherenceTransactionQuery | final class ConpherenceTransactionQuery | ||||||
|   extends PhabricatorApplicationTransactionQuery { |   extends PhabricatorApplicationTransactionQuery { | ||||||
|  |  | ||||||
| @@ -14,5 +11,4 @@ final class ConpherenceTransactionQuery | |||||||
|     return false; |     return false; | ||||||
|   } |   } | ||||||
|  |  | ||||||
|  |  | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group conpherence |  | ||||||
|  */ |  | ||||||
| abstract class ConpherenceDAO extends PhabricatorLiskDAO { | abstract class ConpherenceDAO extends PhabricatorLiskDAO { | ||||||
|  |  | ||||||
|   public function getApplicationName() { |   public function getApplicationName() { | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group conpherence |  | ||||||
|  */ |  | ||||||
| final class ConpherenceParticipant extends ConpherenceDAO { | final class ConpherenceParticipant extends ConpherenceDAO { | ||||||
|  |  | ||||||
|   protected $participantPHID; |   protected $participantPHID; | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group conpherence |  | ||||||
|  */ |  | ||||||
| final class ConpherenceThread extends ConpherenceDAO | final class ConpherenceThread extends ConpherenceDAO | ||||||
|   implements PhabricatorPolicyInterface { |   implements PhabricatorPolicyInterface { | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group conpherence |  | ||||||
|  */ |  | ||||||
| final class ConpherenceTransaction extends PhabricatorApplicationTransaction { | final class ConpherenceTransaction extends PhabricatorApplicationTransaction { | ||||||
|  |  | ||||||
|   public function getApplicationName() { |   public function getApplicationName() { | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group conpherence |  | ||||||
|  */ |  | ||||||
| final class ConpherenceTransactionComment | final class ConpherenceTransactionComment | ||||||
|   extends PhabricatorApplicationTransactionComment { |   extends PhabricatorApplicationTransactionComment { | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group conpherence |  | ||||||
|  */ |  | ||||||
| final class ConpherenceFileWidgetView extends ConpherenceWidgetView { | final class ConpherenceFileWidgetView extends ConpherenceWidgetView { | ||||||
|  |  | ||||||
|   public function render() { |   public function render() { | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group conpherence |  | ||||||
|  */ |  | ||||||
| final class ConpherenceMenuItemView extends AphrontTagView { | final class ConpherenceMenuItemView extends AphrontTagView { | ||||||
|  |  | ||||||
|   private $title; |   private $title; | ||||||
| @@ -119,4 +116,5 @@ final class ConpherenceMenuItemView extends AphrontTagView { | |||||||
|       $unread_count, |       $unread_count, | ||||||
|     ); |     ); | ||||||
|   } |   } | ||||||
|  |  | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,7 +1,5 @@ | |||||||
| <?php | <?php | ||||||
| /** |  | ||||||
|  * @group conpherence |  | ||||||
|  */ |  | ||||||
| final class ConpherencePeopleWidgetView extends ConpherenceWidgetView { | final class ConpherencePeopleWidgetView extends ConpherenceWidgetView { | ||||||
|  |  | ||||||
|   public function render() { |   public function render() { | ||||||
| @@ -54,4 +52,5 @@ final class ConpherencePeopleWidgetView extends ConpherenceWidgetView { | |||||||
|  |  | ||||||
|     return $body; |     return $body; | ||||||
|   } |   } | ||||||
|  |  | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group conpherence |  | ||||||
|  */ |  | ||||||
| final class ConpherenceTransactionView extends AphrontView { | final class ConpherenceTransactionView extends AphrontView { | ||||||
|  |  | ||||||
|   private $conpherenceTransaction; |   private $conpherenceTransaction; | ||||||
| @@ -19,6 +16,7 @@ final class ConpherenceTransactionView extends AphrontView { | |||||||
|     $this->handles = $handles; |     $this->handles = $handles; | ||||||
|     return $this; |     return $this; | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   public function getHandles() { |   public function getHandles() { | ||||||
|     return $this->handles; |     return $this->handles; | ||||||
|   } |   } | ||||||
| @@ -27,6 +25,7 @@ final class ConpherenceTransactionView extends AphrontView { | |||||||
|     $this->conpherenceTransaction = $tx; |     $this->conpherenceTransaction = $tx; | ||||||
|     return $this; |     return $this; | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   private function getConpherenceTransaction() { |   private function getConpherenceTransaction() { | ||||||
|     return $this->conpherenceTransaction; |     return $this->conpherenceTransaction; | ||||||
|   } |   } | ||||||
| @@ -99,4 +98,5 @@ final class ConpherenceTransactionView extends AphrontView { | |||||||
|  |  | ||||||
|     return $transaction_view->render(); |     return $transaction_view->render(); | ||||||
|   } |   } | ||||||
|  |  | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group conpherence |  | ||||||
|  */ |  | ||||||
| abstract class ConpherenceWidgetView extends AphrontView { | abstract class ConpherenceWidgetView extends AphrontView { | ||||||
|  |  | ||||||
|   private $conpherence; |   private $conpherence; | ||||||
| @@ -23,4 +20,5 @@ abstract class ConpherenceWidgetView extends AphrontView { | |||||||
|   public function getConpherence() { |   public function getConpherence() { | ||||||
|     return $this->conpherence; |     return $this->conpherence; | ||||||
|   } |   } | ||||||
|  |  | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group countdown |  | ||||||
|  */ |  | ||||||
| abstract class PhabricatorCountdownController extends PhabricatorController { | abstract class PhabricatorCountdownController extends PhabricatorController { | ||||||
|  |  | ||||||
|   public function buildSideNavView($for_app = false) { |   public function buildSideNavView($for_app = false) { | ||||||
| @@ -39,4 +36,5 @@ abstract class PhabricatorCountdownController extends PhabricatorController { | |||||||
|  |  | ||||||
|     return $crumbs; |     return $crumbs; | ||||||
|   } |   } | ||||||
|  |  | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group countdown |  | ||||||
|  */ |  | ||||||
| final class PhabricatorCountdownDeleteController | final class PhabricatorCountdownDeleteController | ||||||
|   extends PhabricatorCountdownController { |   extends PhabricatorCountdownController { | ||||||
|  |  | ||||||
| @@ -13,7 +10,6 @@ final class PhabricatorCountdownDeleteController | |||||||
|   } |   } | ||||||
|  |  | ||||||
|   public function processRequest() { |   public function processRequest() { | ||||||
|  |  | ||||||
|     $request = $this->getRequest(); |     $request = $this->getRequest(); | ||||||
|     $user = $request->getUser(); |     $user = $request->getUser(); | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group countdown |  | ||||||
|  */ |  | ||||||
| final class PhabricatorCountdownEditController | final class PhabricatorCountdownEditController | ||||||
|   extends PhabricatorCountdownController { |   extends PhabricatorCountdownController { | ||||||
|  |  | ||||||
| @@ -127,4 +124,5 @@ final class PhabricatorCountdownEditController | |||||||
|         'title' => $page_title, |         'title' => $page_title, | ||||||
|       )); |       )); | ||||||
|   } |   } | ||||||
|  |  | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group countdown |  | ||||||
|  */ |  | ||||||
| final class PhabricatorCountdownQuery | final class PhabricatorCountdownQuery | ||||||
|   extends PhabricatorCursorPagedPolicyAwareQuery { |   extends PhabricatorCursorPagedPolicyAwareQuery { | ||||||
|  |  | ||||||
| @@ -45,7 +42,6 @@ final class PhabricatorCountdownQuery | |||||||
|  |  | ||||||
|     $countdowns = $table->loadAllFromArray($data); |     $countdowns = $table->loadAllFromArray($data); | ||||||
|  |  | ||||||
|  |  | ||||||
|     return $countdowns; |     return $countdowns; | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group countdown |  | ||||||
|  */ |  | ||||||
| final class PhabricatorCountdownRemarkupRule | final class PhabricatorCountdownRemarkupRule | ||||||
|   extends PhabricatorRemarkupRuleObject { |   extends PhabricatorRemarkupRuleObject { | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,8 +1,5 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * @group countdown |  | ||||||
|  */ |  | ||||||
| abstract class PhabricatorCountdownDAO extends PhabricatorLiskDAO { | abstract class PhabricatorCountdownDAO extends PhabricatorLiskDAO { | ||||||
|  |  | ||||||
|   public function getApplicationName() { |   public function getApplicationName() { | ||||||
|   | |||||||
| @@ -71,7 +71,7 @@ final class ConduitAPI_differential_finishpostponedlinters_Method | |||||||
|       } |       } | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     // Load the lint messages currenty attached to the diff.  If this |     // Load the lint messages currenty attached to the diff. If this | ||||||
|     // diff property doesn't exist, create it. |     // diff property doesn't exist, create it. | ||||||
|     $messages_property = id(new DifferentialDiffProperty())->loadOneWhere( |     $messages_property = id(new DifferentialDiffProperty())->loadOneWhere( | ||||||
|       'diffID = %d AND name = %s', |       'diffID = %d AND name = %s', | ||||||
|   | |||||||
| @@ -146,7 +146,7 @@ final class PhabricatorDifferentialConfigOptions | |||||||
|         ->setSummary(pht('Allows users to accept their own revisions.')) |         ->setSummary(pht('Allows users to accept their own revisions.')) | ||||||
|         ->setDescription( |         ->setDescription( | ||||||
|           pht( |           pht( | ||||||
|             "If you set this to true, users can accept their own revisions.  ". |             "If you set this to true, users can accept their own revisions. ". | ||||||
|             "This action is disabled by default because it's most likely not ". |             "This action is disabled by default because it's most likely not ". | ||||||
|             "a behavior you want, but it proves useful if you are working ". |             "a behavior you want, but it proves useful if you are working ". | ||||||
|             "alone on a project and want to make use of all of ". |             "alone on a project and want to make use of all of ". | ||||||
| @@ -186,9 +186,9 @@ final class PhabricatorDifferentialConfigOptions | |||||||
|         ->setSummary(pht('Allows any user to reopen a closed revision.')) |         ->setSummary(pht('Allows any user to reopen a closed revision.')) | ||||||
|         ->setDescription( |         ->setDescription( | ||||||
|           pht('If you set this to true, any user can reopen a revision so '. |           pht('If you set this to true, any user can reopen a revision so '. | ||||||
|               'long as it has been closed.  This can be useful if a revision '. |               'long as it has been closed. This can be useful if a revision '. | ||||||
|               'is accidentally closed or if a developer changes his or her '. |               'is accidentally closed or if a developer changes his or her '. | ||||||
|               'mind after closing a revision.  If it is false, reopening '. |               'mind after closing a revision. If it is false, reopening '. | ||||||
|               'is not allowed.')), |               'is not allowed.')), | ||||||
|       $this->newOption('differential.close-on-accept', 'bool', false) |       $this->newOption('differential.close-on-accept', 'bool', false) | ||||||
|         ->setBoolOptions( |         ->setBoolOptions( | ||||||
|   | |||||||
| @@ -598,7 +598,7 @@ final class DifferentialChangesetParser { | |||||||
|     if ($changetype == DifferentialChangeType::TYPE_MOVE_AWAY) { |     if ($changetype == DifferentialChangeType::TYPE_MOVE_AWAY) { | ||||||
|       // sometimes we show moved files as unchanged, sometimes deleted, |       // sometimes we show moved files as unchanged, sometimes deleted, | ||||||
|       // and sometimes inconsistent with what actually happened at the |       // and sometimes inconsistent with what actually happened at the | ||||||
|       // destination of the move.  Rather than make a false claim, |       // destination of the move. Rather than make a false claim, | ||||||
|       // omit the 'not changed' notice if this is the source of a move |       // omit the 'not changed' notice if this is the source of a move | ||||||
|       $unchanged = false; |       $unchanged = false; | ||||||
|     } |     } | ||||||
|   | |||||||
| @@ -1,10 +1,6 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
| /** | final class DifferentialRemarkupRule extends PhabricatorRemarkupRuleObject { | ||||||
|  * @group differential |  | ||||||
|  */ |  | ||||||
| final class DifferentialRemarkupRule |  | ||||||
|   extends PhabricatorRemarkupRuleObject { |  | ||||||
|  |  | ||||||
|   protected function getObjectNamePrefix() { |   protected function getObjectNamePrefix() { | ||||||
|     return 'D'; |     return 'D'; | ||||||
|   | |||||||
| @@ -3,8 +3,6 @@ | |||||||
| /** | /** | ||||||
|  * Denormalized index table which stores relationships between revisions in |  * Denormalized index table which stores relationships between revisions in | ||||||
|  * Differential and paths in Diffusion. |  * Differential and paths in Diffusion. | ||||||
|  * |  | ||||||
|  * @group differential |  | ||||||
|  */ |  */ | ||||||
| final class DifferentialAffectedPath extends DifferentialDAO { | final class DifferentialAffectedPath extends DifferentialDAO { | ||||||
|  |  | ||||||
| @@ -18,4 +16,5 @@ final class DifferentialAffectedPath extends DifferentialDAO { | |||||||
|       self::CONFIG_TIMESTAMPS => false, |       self::CONFIG_TIMESTAMPS => false, | ||||||
|     ) + parent::getConfiguration(); |     ) + parent::getConfiguration(); | ||||||
|   } |   } | ||||||
|  |  | ||||||
| } | } | ||||||
|   | |||||||
Some files were not shown because too many files have changed in this diff Show More
		Reference in New Issue
	
	Block a user
	 Joshua Spence
					Joshua Spence