1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-22 14:52:41 +01:00

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:
Joshua Spence 2014-07-10 08:12:48 +10:00
parent 1d4b0647e7
commit 8756d82cf6
431 changed files with 490 additions and 1711 deletions

View file

@ -27,8 +27,6 @@ use Balanced\Card;
* <li>$BALANCED_URL_ROOT If set applies to \Balanced\Settings::$url_root.
* <li>$BALANCED_API_KEY If set applies to \Balanced\Settings::$api_key.
* </ul>
*
* @group suite
*/
class SuiteTest extends \PHPUnit_Framework_TestCase
{

View file

@ -1,8 +1,5 @@
<?php
/**
* @group aphront
*/
abstract class AphrontController extends Phobject {
private $request;

View file

@ -1,8 +1,5 @@
<?php
/**
* @group aphront
*/
final class AphrontURIMapper {
private $map;
@ -49,4 +46,5 @@ final class AphrontURIMapper {
return array(null, null);
}
}

View file

@ -2,7 +2,6 @@
/**
* @task routing URI Routing
* @group aphront
*/
abstract class AphrontApplicationConfiguration {
@ -228,4 +227,5 @@ abstract class AphrontApplicationConfiguration {
return array($controller, $uri_data);
}
}

View file

@ -4,7 +4,6 @@
* NOTE: Do not extend this!
*
* @concrete-extensible
* @group aphront
*/
class AphrontDefaultApplicationConfiguration
extends AphrontApplicationConfiguration {

View file

@ -1,8 +1,5 @@
<?php
/**
* @group console
*/
final class DarkConsoleController extends PhabricatorController {
protected $op;

View file

@ -1,8 +1,5 @@
<?php
/**
* @group console
*/
final class DarkConsoleCore {
private $plugins = array();

View file

@ -1,8 +1,5 @@
<?php
/**
* @group console
*/
final class DarkConsoleDataController extends PhabricatorController {
private $key;

View file

@ -1,8 +1,5 @@
<?php
/**
* @group console
*/
final class DarkConsoleErrorLogPlugin extends DarkConsolePlugin {
public function getName() {
@ -98,4 +95,5 @@ final class DarkConsoleErrorLogPlugin extends DarkConsolePlugin {
phutil_tag('pre', array('class' => 'PhabricatorMonospaced'), $details),
));
}
}

View file

@ -1,8 +1,5 @@
<?php
/**
* @group console
*/
final class DarkConsoleEventPlugin extends DarkConsolePlugin {
public function getName() {
@ -14,7 +11,6 @@ final class DarkConsoleEventPlugin extends DarkConsolePlugin {
}
public function generateData() {
$listeners = PhutilEventEngine::getInstance()->getAllListeners();
foreach ($listeners as $key => $listener) {
$listeners[$key] = array(
@ -95,4 +91,5 @@ final class DarkConsoleEventPlugin extends DarkConsolePlugin {
return phutil_implode_html("\n", $out);
}
}

View file

@ -1,8 +1,5 @@
<?php
/**
* @group console
*/
abstract class DarkConsolePlugin {
private $data;
@ -13,9 +10,7 @@ abstract class DarkConsolePlugin {
abstract public function getDescription();
abstract public function renderPanel();
public function __construct() {
}
public function __construct() {}
public function getColor() {
return null;

View file

@ -1,8 +1,5 @@
<?php
/**
* @group console
*/
final class DarkConsoleRequestPlugin extends DarkConsolePlugin {
public function getName() {

View file

@ -1,8 +1,5 @@
<?php
/**
* @group console
*/
final class DarkConsoleServicesPlugin extends DarkConsolePlugin {
protected $observations;
@ -36,7 +33,6 @@ final class DarkConsoleServicesPlugin extends DarkConsolePlugin {
* @phutil-external-symbol class PhabricatorStartup
*/
public function generateData() {
$should_analyze = self::isQueryAnalyzerRequested();
$log = PhutilServiceProfiler::getInstance()->getServiceCallLog();

View file

@ -1,8 +1,5 @@
<?php
/**
* @group console
*/
final class DarkConsoleXHProfPlugin extends DarkConsolePlugin {
protected $profileFilePHID;

View file

@ -1,8 +1,5 @@
<?php
/**
* @group console
*/
final class DarkConsoleErrorLogPluginAPI {
private static $errors = array();

View file

@ -1,8 +1,5 @@
<?php
/**
* @group console
*/
final class DarkConsoleEventPluginAPI extends PhabricatorEventListener {
private static $events = array();

View file

@ -1,7 +1,6 @@
<?php
/**
* @group console
* @phutil-external-symbol function xhprof_enable
* @phutil-external-symbol function xhprof_disable
*/

View file

@ -1,8 +1,5 @@
<?php
/**
* @group aphront
*/
final class Aphront304Response extends AphrontResponse {
public function getHTTPResponseCode() {

View file

@ -1,8 +1,5 @@
<?php
/**
* @group aphront
*/
final class Aphront400Response extends AphrontResponse {
public function getHTTPResponseCode() {

View file

@ -1,8 +1,5 @@
<?php
/**
* @group aphront
*/
final class Aphront403Response extends AphrontHTMLResponse {
private $forbiddenText;

View file

@ -1,8 +1,5 @@
<?php
/**
* @group aphront
*/
final class Aphront404Response extends AphrontHTMLResponse {
public function getHTTPResponseCode() {

View file

@ -1,8 +1,5 @@
<?php
/**
* @group aphront
*/
final class AphrontAjaxResponse extends AphrontResponse {
private $content;

View file

@ -1,8 +1,5 @@
<?php
/**
* @group aphront
*/
final class AphrontDialogResponse extends AphrontResponse {
private $dialog;

View file

@ -1,8 +1,5 @@
<?php
/**
* @group aphront
*/
final class AphrontFileResponse extends AphrontResponse {
private $content;

View file

@ -1,8 +1,5 @@
<?php
/**
* @group aphront
*/
abstract class AphrontHTMLResponse extends AphrontResponse {
public function getHeaders() {

View file

@ -1,8 +1,5 @@
<?php
/**
* @group aphront
*/
final class AphrontJSONResponse extends AphrontResponse {
private $content;
@ -40,4 +37,5 @@ final class AphrontJSONResponse extends AphrontResponse {
$headers = array_merge(parent::getHeaders(), $headers);
return $headers;
}
}

View file

@ -1,8 +1,5 @@
<?php
/**
* @group aphront
*/
final class AphrontPlainTextResponse extends AphrontResponse {
public function setContent($content) {

View file

@ -7,8 +7,6 @@
* instantiating an @{class:AphrontAjaxResponse} in @{method:buildProxy}, and
* then constructing a real @{class:AphrontAjaxResponse} in
* @{method:reduceProxyResponse}.
*
* @group aphront
*/
abstract class AphrontProxyResponse extends AphrontResponse {
@ -70,5 +68,4 @@ abstract class AphrontProxyResponse extends AphrontResponse {
'AphrontProxyResponse must implement reduceProxyResponse().');
}
}

View file

@ -2,8 +2,6 @@
/**
* TODO: Should be final but isn't because of AphrontReloadResponse.
*
* @group aphront
*/
class AphrontRedirectResponse extends AphrontResponse {

View file

@ -5,8 +5,6 @@
* 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
* a redirect response but causes a page reload when received via workflow.
*
* @group aphront
*/
final class AphrontReloadResponse extends AphrontRedirectResponse {

View file

@ -1,8 +1,5 @@
<?php
/**
* @group aphront
*/
abstract class AphrontResponse {
private $request;
@ -94,7 +91,6 @@ abstract class AphrontResponse {
}
protected function addJSONShield($json_response) {
// Add a shield to prevent "JSON Hijacking" attacks where an attacker
// requests a JSON response using a normal <script /> tag and then uses
// Object.prototype.__defineSetter__() or similar to read response data.

View file

@ -1,8 +1,5 @@
<?php
/**
* @group aphront
*/
final class AphrontWebpageResponse extends AphrontHTMLResponse {
private $content;

View file

@ -10,8 +10,6 @@
*
* @task write Writing Response Components
* @task emit Emitting the Response
*
* @group aphront
*/
abstract class AphrontHTTPSink {
@ -117,4 +115,5 @@ abstract class AphrontHTTPSink {
abstract protected function emitHTTPStatus($code, $message = '');
abstract protected function emitHeader($name, $value);
abstract protected function emitData($data);
}

View file

@ -2,8 +2,6 @@
/**
* Isolated HTTP sink for testing.
*
* @group aphront
*/
final class AphrontIsolatedHTTPSink extends AphrontHTTPSink {

View file

@ -2,8 +2,6 @@
/**
* Concrete HTTP sink which uses "echo" and "header()" to emit data.
*
* @group aphront
*/
final class AphrontPHPHTTPSink extends AphrontHTTPSink {

View file

@ -1,8 +1,3 @@
<?php
/**
* @group conduit
*/
abstract class ConduitAPI_arcanist_Method extends ConduitAPIMethod {
}
abstract class ConduitAPI_arcanist_Method extends ConduitAPIMethod {}

View file

@ -1,8 +1,5 @@
<?php
/**
* @group conduit
*/
final class ConduitAPI_arcanist_projectinfo_Method
extends ConduitAPI_arcanist_Method {

View file

@ -1,8 +1,5 @@
<?php
/**
* @group conduit
*/
abstract class ConduitAPI_audit_Method extends ConduitAPIMethod {
public function getApplication() {

View file

@ -1,8 +1,5 @@
<?php
/**
* @group conduit
*/
final class ConduitAPI_audit_query_Method extends ConduitAPI_audit_Method {
public function getMethodDescription() {
@ -76,5 +73,4 @@ final class ConduitAPI_audit_query_Method extends ConduitAPI_audit_Method {
return $results;
}
}

View file

@ -6,10 +6,8 @@
* @task uri URI Routing
* @task fact Fact Integration
* @task meta Application Management
* @group apps
*/
abstract class PhabricatorApplication
implements PhabricatorPolicyInterface {
abstract class PhabricatorApplication implements PhabricatorPolicyInterface {
const GROUP_CORE = 'core';
const GROUP_UTILITIES = 'util';

View file

@ -1,8 +1,5 @@
<?php
/**
* @group calendar
*/
final class CalendarColors extends CalendarConstants {
const COLOR_RED = 'red';

View file

@ -1,8 +1,3 @@
<?php
/**
* @group calendar
*/
abstract class CalendarConstants {
}
abstract class CalendarConstants {}

View file

@ -1,8 +1,5 @@
<?php
/**
* @group conduit
*/
abstract class ConduitAPI_chatlog_Method extends ConduitAPIMethod {
public function getApplication() {

View file

@ -1,10 +1,6 @@
<?php
/**
* @group conduit
*/
final class ConduitAPI_chatlog_query_Method
extends ConduitAPI_chatlog_Method {
final class ConduitAPI_chatlog_query_Method extends ConduitAPI_chatlog_Method {
public function getMethodStatus() {
return self::METHOD_STATUS_UNSTABLE;
@ -30,7 +26,6 @@ final class ConduitAPI_chatlog_query_Method
}
protected function execute(ConduitAPIRequest $request) {
$query = new PhabricatorChatLogQuery();
$channel_ids = $request->getValue('channelIDs');

View file

@ -1,10 +1,6 @@
<?php
/**
* @group conduit
*/
final class ConduitAPI_chatlog_record_Method
extends ConduitAPI_chatlog_Method {
final class ConduitAPI_chatlog_record_Method extends ConduitAPI_chatlog_Method {
public function getMethodStatus() {
return self::METHOD_STATUS_UNSTABLE;
@ -25,8 +21,7 @@ final class ConduitAPI_chatlog_record_Method
}
public function defineErrorTypes() {
return array(
);
return array();
}
protected function execute(ConduitAPIRequest $request) {

View file

@ -1,8 +1,5 @@
<?php
/**
* @group conduit
*/
final class PhabricatorConduitAPIController
extends PhabricatorConduitController {
@ -467,4 +464,5 @@ final class PhabricatorConduitAPIController
return $params;
}
}

View file

@ -1,8 +1,5 @@
<?php
/**
* @group conduit
*/
abstract class PhabricatorConduitController extends PhabricatorController {
protected function buildSideNavView() {
@ -27,5 +24,4 @@ abstract class PhabricatorConduitController extends PhabricatorController {
return $this->buildSideNavView()->getMenu();
}
}

View file

@ -1,8 +1,5 @@
<?php
/**
* @group conduit
*/
final class PhabricatorConduitLogController
extends PhabricatorConduitController {

View file

@ -1,8 +1,5 @@
<?php
/**
* @group conduit
*/
final class PhabricatorConduitTokenController
extends PhabricatorConduitController {
@ -72,4 +69,5 @@ final class PhabricatorConduitTokenController
'title' => pht('Certificate Install Token'),
));
}
}

View file

@ -1,8 +1,5 @@
<?php
/**
* @group conduit
*/
final class ConduitAPI_conduit_connect_Method extends ConduitAPIMethod {
public function shouldRequireAuthentication() {
@ -55,7 +52,6 @@ final class ConduitAPI_conduit_connect_Method extends ConduitAPIMethod {
}
protected function execute(ConduitAPIRequest $request) {
$client = $request->getValue('client');
$client_version = (int)$request->getValue('clientVersion');
$client_description = (string)$request->getValue('clientDescription');
@ -109,9 +105,7 @@ final class ConduitAPI_conduit_connect_Method extends ConduitAPIMethod {
$token = $request->getValue('authToken');
$signature = $request->getValue('authSignature');
$user = id(new PhabricatorUser())->loadOneWhere(
'username = %s',
$username);
$user = id(new PhabricatorUser())->loadOneWhere('username = %s', $username);
if (!$user) {
throw new ConduitException('ERR-INVALID-USER');
}

View file

@ -1,8 +1,5 @@
<?php
/**
* @group conduit
*/
final class ConduitAPI_conduit_getcertificate_Method extends ConduitAPIMethod {
public function shouldRequireAuthentication() {

View file

@ -1,8 +1,5 @@
<?php
/**
* @group conduit
*/
final class ConduitAPI_conduit_ping_Method extends ConduitAPIMethod {
public function shouldRequireAuthentication() {
@ -28,4 +25,5 @@ final class ConduitAPI_conduit_ping_Method extends ConduitAPIMethod {
protected function execute(ConduitAPIRequest $request) {
return php_uname('n');
}
}

View file

@ -1,8 +1,5 @@
<?php
/**
* @group conduit
*/
final class ConduitAPI_conduit_query_Method extends ConduitAPIMethod {
public function getMethodDescription() {

View file

@ -1,8 +1,5 @@
<?php
/**
* @group conduit
*/
final class ConduitAPIRequest {
protected $params;

View file

@ -1,8 +1,5 @@
<?php
/**
* @group conduit
*/
final class ConduitAPIResponse {
private $result;
@ -13,6 +10,7 @@ final class ConduitAPIResponse {
$this->result = $result;
return $this;
}
public function getResult() {
return $this->result;
}
@ -21,6 +19,7 @@ final class ConduitAPIResponse {
$this->errorCode = $error_code;
return $this;
}
public function getErrorCode() {
return $this->errorCode;
}
@ -40,4 +39,5 @@ final class ConduitAPIResponse {
'error_info' => $this->getErrorInfo(),
);
}
}

View file

@ -1,8 +1,5 @@
<?php
/**
* @group conduit
*/
final class ConduitException extends Exception {
private $errorDescription;

View file

@ -1,8 +1,5 @@
<?php
/**
* @group conduit
*/
final class PhabricatorConduitCertificateToken extends PhabricatorConduitDAO {
protected $userPHID;

View file

@ -1,8 +1,5 @@
<?php
/**
* @group conduit
*/
final class PhabricatorConduitConnectionLog extends PhabricatorConduitDAO {
protected $client;

View file

@ -1,8 +1,5 @@
<?php
/**
* @group conduit
*/
abstract class PhabricatorConduitDAO extends PhabricatorLiskDAO {
public function getApplicationName() {

View file

@ -1,9 +1,7 @@
<?php
/**
* @group conduit
*/
final class PhabricatorConduitMethodCallLog extends PhabricatorConduitDAO
final class PhabricatorConduitMethodCallLog
extends PhabricatorConduitDAO
implements PhabricatorPolicyInterface {
protected $callerPHID;

View file

@ -1,10 +1,6 @@
<?php
/**
* @group conduit
*/
abstract class ConduitAPI_conpherence_Method
extends ConduitAPIMethod {
abstract class ConduitAPI_conpherence_Method extends ConduitAPIMethod {
public function getApplication() {
return PhabricatorApplication::getByClass(

View file

@ -1,8 +1,5 @@
<?php
/**
* @group conduit
*/
final class ConduitAPI_conpherence_createthread_Method
extends ConduitAPI_conpherence_Method {
@ -32,7 +29,6 @@ final class ConduitAPI_conpherence_createthread_Method
}
protected function execute(ConduitAPIRequest $request) {
$participant_phids = $request->getValue('participantPHIDs', array());
$message = $request->getValue('message');
$title = $request->getValue('title');
@ -60,6 +56,8 @@ final class ConduitAPI_conpherence_createthread_Method
return array(
'conpherenceID' => $conpherence->getID(),
'conpherencePHID' => $conpherence->getPHID(),
'conpherenceURI' => $this->getConpherenceURI($conpherence));
'conpherenceURI' => $this->getConpherenceURI($conpherence),
);
}
}

View file

@ -1,12 +1,8 @@
<?php
/**
* @group conduit
*/
final class ConduitAPI_conpherence_querythread_Method
extends ConduitAPI_conpherence_Method {
public function getMethodDescription() {
return pht(
'Query for conpherence threads for the logged in user. '.
@ -82,4 +78,5 @@ final class ConduitAPI_conpherence_querythread_Method
}
return $data;
}
}

View file

@ -1,12 +1,8 @@
<?php
/**
* @group conduit
*/
final class ConduitAPI_conpherence_querytransaction_Method
extends ConduitAPI_conpherence_Method {
public function getMethodDescription() {
return pht(
'Query for transactions for the logged in user within a specific '.
@ -92,4 +88,5 @@ final class ConduitAPI_conpherence_querytransaction_Method
}
return $data;
}
}

View file

@ -1,8 +1,5 @@
<?php
/**
* @group conduit
*/
final class ConduitAPI_conpherence_updatethread_Method
extends ConduitAPI_conpherence_Method {
@ -104,4 +101,5 @@ final class ConduitAPI_conpherence_updatethread_Method
return true;
}
}

View file

@ -1,8 +1,3 @@
<?php
/**
* @group conpherence
*/
abstract class ConpherenceConstants {
}
abstract class ConpherenceConstants {}

View file

@ -1,8 +1,5 @@
<?php
/**
* @group conpherence
*/
final class ConpherenceTransactionType extends ConpherenceConstants {
const TYPE_FILES = 'files';

View file

@ -1,9 +1,7 @@
<?php
/**
* @group conpherence
*/
abstract class ConpherenceController extends PhabricatorController {
private $conpherences;
public function buildApplicationMenu() {
@ -149,8 +147,8 @@ abstract class ConpherenceController extends PhabricatorController {
return array(
'transactions' => $rendered_transactions,
'latest_transaction_id' => $latest_transaction_id,
'oldest_transaction_id' => $oldest_transaction_id
'oldest_transaction_id' => $oldest_transaction_id,
);
}
}

View file

@ -1,10 +1,6 @@
<?php
/**
* @group conpherence
*/
final class ConpherenceListController
extends ConpherenceController {
final class ConpherenceListController extends ConpherenceController {
const SELECTED_MODE = 'selected';
const UNSELECTED_MODE = 'unselected';
@ -227,7 +223,8 @@ final class ConpherenceListController
return array(
'scroll_up_participant' => $scroll_up_participant,
'scroll_down_participant' => $scroll_down_participant,
'participation' => $participation);
'participation' => $participation,
);
}
private function loadConpherenceThreadData($participation) {

View file

@ -1,8 +1,5 @@
<?php
/**
* @group conpherence
*/
final class ConpherenceNewController extends ConpherenceController {
public function processRequest() {
@ -99,4 +96,5 @@ final class ConpherenceNewController extends ConpherenceController {
return id(new AphrontDialogResponse())->setDialog($dialog);
}
}

View file

@ -1,13 +1,9 @@
<?php
/**
* @group conpherence
*/
final class ConpherenceNotificationPanelController
extends ConpherenceController {
public function processRequest() {
$request = $this->getRequest();
$user = $request->getUser();
$conpherences = array();
@ -108,4 +104,5 @@ final class ConpherenceNotificationPanelController
return id(new AphrontAjaxResponse())->setContent($json);
}
}

View file

@ -1,10 +1,6 @@
<?php
/**
* @group conpherence
*/
final class ConpherenceWidgetController extends
ConpherenceController {
final class ConpherenceWidgetController extends ConpherenceController {
private $conpherenceID;
private $conpherence;
@ -14,6 +10,7 @@ final class ConpherenceWidgetController extends
$this->userPreferences = $pref;
return $this;
}
public function getUserPreferences() {
return $this->userPreferences;
}
@ -22,6 +19,7 @@ final class ConpherenceWidgetController extends
$this->conpherence = $conpherence;
return $this;
}
public function getConpherence() {
return $this->conpherence;
}
@ -30,6 +28,7 @@ final class ConpherenceWidgetController extends
$this->conpherenceID = $conpherence_id;
return $this;
}
public function getConpherenceID() {
return $this->conpherenceID;
}

View file

@ -1,8 +1,5 @@
<?php
/**
* @group conpherence
*/
final class ConpherenceEditor extends PhabricatorApplicationTransactionEditor {
const ERROR_EMPTY_PARTICIPANTS = 'error-empty-participants';
@ -421,4 +418,5 @@ final class ConpherenceEditor extends PhabricatorApplicationTransactionEditor {
protected function supportsSearch() {
return false;
}
}

View file

@ -1,8 +1,5 @@
<?php
/**
* @group conpherence
*/
final class PhabricatorConpherencePHIDTypeThread extends PhabricatorPHIDType {
const TYPECONST = 'CONP';

View file

@ -9,8 +9,6 @@
* ->withParticipantPHIDs(array($my_phid))
* ->withParticipationStatus(ConpherenceParticipationStatus::BEHIND)
* ->execute();
*
* @group conpherence
*/
final class ConpherenceParticipantCountQuery
extends PhabricatorOffsetPagedQuery {
@ -65,7 +63,6 @@ final class ConpherenceParticipantCountQuery
}
private function buildGroupByClause(AphrontDatabaseConnection $conn_r) {
$group_by = qsprintf(
$conn_r,
'GROUP BY participantPHID');

View file

@ -30,11 +30,8 @@
*
* For counts of read, un-read, or all conpherences by participant, see
* @{class:ConpherenceParticipantCountQuery}.
*
* @group conpherence
*/
final class ConpherenceParticipantQuery
extends PhabricatorOffsetPagedQuery {
final class ConpherenceParticipantQuery extends PhabricatorOffsetPagedQuery {
const LIMIT = 100;
const ORDER_NEWER = 'newer';
@ -116,7 +113,6 @@ final class ConpherenceParticipantQuery
}
private function buildOrderClause(AphrontDatabaseConnection $conn_r) {
$order_word = ($this->order == self::ORDER_OLDER) ? 'DESC' : 'ASC';
// 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

View file

@ -1,8 +1,5 @@
<?php
/**
* @group conpherence
*/
final class ConpherenceThreadQuery
extends PhabricatorCursorPagedPolicyAwareQuery {

View file

@ -1,8 +1,5 @@
<?php
/**
* @group conpherence
*/
final class ConpherenceTransactionQuery
extends PhabricatorApplicationTransactionQuery {
@ -14,5 +11,4 @@ final class ConpherenceTransactionQuery
return false;
}
}

View file

@ -1,8 +1,5 @@
<?php
/**
* @group conpherence
*/
abstract class ConpherenceDAO extends PhabricatorLiskDAO {
public function getApplicationName() {

View file

@ -1,8 +1,5 @@
<?php
/**
* @group conpherence
*/
final class ConpherenceParticipant extends ConpherenceDAO {
protected $participantPHID;

View file

@ -1,8 +1,5 @@
<?php
/**
* @group conpherence
*/
final class ConpherenceThread extends ConpherenceDAO
implements PhabricatorPolicyInterface {

View file

@ -1,8 +1,5 @@
<?php
/**
* @group conpherence
*/
final class ConpherenceTransaction extends PhabricatorApplicationTransaction {
public function getApplicationName() {

View file

@ -1,8 +1,5 @@
<?php
/**
* @group conpherence
*/
final class ConpherenceTransactionComment
extends PhabricatorApplicationTransactionComment {

View file

@ -1,8 +1,5 @@
<?php
/**
* @group conpherence
*/
final class ConpherenceFileWidgetView extends ConpherenceWidgetView {
public function render() {

View file

@ -1,8 +1,5 @@
<?php
/**
* @group conpherence
*/
final class ConpherenceMenuItemView extends AphrontTagView {
private $title;
@ -119,4 +116,5 @@ final class ConpherenceMenuItemView extends AphrontTagView {
$unread_count,
);
}
}

View file

@ -1,7 +1,5 @@
<?php
/**
* @group conpherence
*/
final class ConpherencePeopleWidgetView extends ConpherenceWidgetView {
public function render() {
@ -54,4 +52,5 @@ final class ConpherencePeopleWidgetView extends ConpherenceWidgetView {
return $body;
}
}

View file

@ -1,8 +1,5 @@
<?php
/**
* @group conpherence
*/
final class ConpherenceTransactionView extends AphrontView {
private $conpherenceTransaction;
@ -19,6 +16,7 @@ final class ConpherenceTransactionView extends AphrontView {
$this->handles = $handles;
return $this;
}
public function getHandles() {
return $this->handles;
}
@ -27,6 +25,7 @@ final class ConpherenceTransactionView extends AphrontView {
$this->conpherenceTransaction = $tx;
return $this;
}
private function getConpherenceTransaction() {
return $this->conpherenceTransaction;
}
@ -99,4 +98,5 @@ final class ConpherenceTransactionView extends AphrontView {
return $transaction_view->render();
}
}

View file

@ -1,8 +1,5 @@
<?php
/**
* @group conpherence
*/
abstract class ConpherenceWidgetView extends AphrontView {
private $conpherence;
@ -23,4 +20,5 @@ abstract class ConpherenceWidgetView extends AphrontView {
public function getConpherence() {
return $this->conpherence;
}
}

View file

@ -1,8 +1,5 @@
<?php
/**
* @group countdown
*/
abstract class PhabricatorCountdownController extends PhabricatorController {
public function buildSideNavView($for_app = false) {
@ -39,4 +36,5 @@ abstract class PhabricatorCountdownController extends PhabricatorController {
return $crumbs;
}
}

View file

@ -1,8 +1,5 @@
<?php
/**
* @group countdown
*/
final class PhabricatorCountdownDeleteController
extends PhabricatorCountdownController {
@ -13,7 +10,6 @@ final class PhabricatorCountdownDeleteController
}
public function processRequest() {
$request = $this->getRequest();
$user = $request->getUser();

View file

@ -1,8 +1,5 @@
<?php
/**
* @group countdown
*/
final class PhabricatorCountdownEditController
extends PhabricatorCountdownController {
@ -127,4 +124,5 @@ final class PhabricatorCountdownEditController
'title' => $page_title,
));
}
}

View file

@ -1,8 +1,5 @@
<?php
/**
* @group countdown
*/
final class PhabricatorCountdownQuery
extends PhabricatorCursorPagedPolicyAwareQuery {
@ -45,7 +42,6 @@ final class PhabricatorCountdownQuery
$countdowns = $table->loadAllFromArray($data);
return $countdowns;
}

View file

@ -1,8 +1,5 @@
<?php
/**
* @group countdown
*/
final class PhabricatorCountdownRemarkupRule
extends PhabricatorRemarkupRuleObject {

View file

@ -1,8 +1,5 @@
<?php
/**
* @group countdown
*/
abstract class PhabricatorCountdownDAO extends PhabricatorLiskDAO {
public function getApplicationName() {

View file

@ -1,10 +1,6 @@
<?php
/**
* @group differential
*/
final class DifferentialRemarkupRule
extends PhabricatorRemarkupRuleObject {
final class DifferentialRemarkupRule extends PhabricatorRemarkupRuleObject {
protected function getObjectNamePrefix() {
return 'D';

View file

@ -3,8 +3,6 @@
/**
* Denormalized index table which stores relationships between revisions in
* Differential and paths in Diffusion.
*
* @group differential
*/
final class DifferentialAffectedPath extends DifferentialDAO {
@ -18,4 +16,5 @@ final class DifferentialAffectedPath extends DifferentialDAO {
self::CONFIG_TIMESTAMPS => false,
) + parent::getConfiguration();
}
}

View file

@ -1,10 +1,6 @@
<?php
/**
* @group conduit
*/
abstract class ConduitAPI_diffusion_Method
extends ConduitAPIMethod {
abstract class ConduitAPI_diffusion_Method extends ConduitAPIMethod {
public function getApplication() {
return PhabricatorApplication::getByClass(

View file

@ -1,8 +1,5 @@
<?php
/**
* @group conduit
*/
abstract class ConduitAPI_diffusion_abstractquery_Method
extends ConduitAPI_diffusion_Method {
@ -47,6 +44,7 @@ abstract class ConduitAPI_diffusion_abstractquery_Method
'ERR-UNSUPPORTED-VCS' =>
pht('VCS is not supported for this method.'));
}
/**
* Subclasses should override this to specify custom error types.
*/
@ -61,6 +59,7 @@ abstract class ConduitAPI_diffusion_abstractquery_Method
'branch' => 'optional string',
);
}
/**
* Subclasses should override this to specify custom param types.
*/
@ -129,4 +128,5 @@ abstract class ConduitAPI_diffusion_abstractquery_Method
}
return $result;
}
}

View file

@ -1,8 +1,5 @@
<?php
/**
* @group conduit
*/
final class ConduitAPI_diffusion_browsequery_Method
extends ConduitAPI_diffusion_abstractquery_Method {

View file

@ -1,8 +1,5 @@
<?php
/**
* @group conduit
*/
final class ConduitAPI_diffusion_commitparentsquery_Method
extends ConduitAPI_diffusion_abstractquery_Method {

Some files were not shown because too many files have changed in this diff Show more