mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-30 01:10:58 +01:00
Add "final" to all Phabricator "Controller" classes
Summary: These are all unambiguously unextensible. Issues I hit: - Maniphest Change/Diff controllers, just consolidated them. - Some search controllers incorrectly extend from "Search" but should extend from "SearchBase". This has no runtime effects. - D1836 introduced a closure, which we don't handle correctly (somewhat on purpose; we target PHP 5.2). See T962. Test Plan: Ran "testEverythingImplemented" unit test to identify classes extending from `final` classes. Resolved issues. Reviewers: btrahan Reviewed By: btrahan CC: aran, epriestley Maniphest Tasks: T795 Differential Revision: https://secure.phabricator.com/D1843
This commit is contained in:
parent
1bff43a0c3
commit
b2890eeb0e
158 changed files with 276 additions and 273 deletions
|
@ -422,7 +422,6 @@ phutil_register_library_map(array(
|
|||
'ManiphestTask' => 'applications/maniphest/storage/task',
|
||||
'ManiphestTaskAuxiliaryStorage' => 'applications/maniphest/storage/auxiliary',
|
||||
'ManiphestTaskDescriptionChangeController' => 'applications/maniphest/controller/descriptionchange',
|
||||
'ManiphestTaskDescriptionDiffController' => 'applications/maniphest/controller/descriptiondiff',
|
||||
'ManiphestTaskDescriptionPreviewController' => 'applications/maniphest/controller/descriptionpreview',
|
||||
'ManiphestTaskDetailController' => 'applications/maniphest/controller/taskdetail',
|
||||
'ManiphestTaskEditController' => 'applications/maniphest/controller/taskedit',
|
||||
|
@ -1232,7 +1231,6 @@ phutil_register_library_map(array(
|
|||
'ManiphestTask' => 'ManiphestDAO',
|
||||
'ManiphestTaskAuxiliaryStorage' => 'ManiphestDAO',
|
||||
'ManiphestTaskDescriptionChangeController' => 'ManiphestController',
|
||||
'ManiphestTaskDescriptionDiffController' => 'ManiphestTaskDescriptionChangeController',
|
||||
'ManiphestTaskDescriptionPreviewController' => 'ManiphestController',
|
||||
'ManiphestTaskDetailController' => 'ManiphestController',
|
||||
'ManiphestTaskEditController' => 'ManiphestController',
|
||||
|
@ -1522,7 +1520,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorRepositorySymbol' => 'PhabricatorRepositoryDAO',
|
||||
'PhabricatorRepositoryTestCase' => 'PhabricatorTestCase',
|
||||
'PhabricatorS3FileStorageEngine' => 'PhabricatorFileStorageEngine',
|
||||
'PhabricatorSearchAttachController' => 'PhabricatorSearchController',
|
||||
'PhabricatorSearchAttachController' => 'PhabricatorSearchBaseController',
|
||||
'PhabricatorSearchBaseController' => 'PhabricatorController',
|
||||
'PhabricatorSearchCommitIndexer' => 'PhabricatorSearchDocumentIndexer',
|
||||
'PhabricatorSearchController' => 'PhabricatorSearchBaseController',
|
||||
|
@ -1537,7 +1535,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorSearchPhrictionIndexer' => 'PhabricatorSearchDocumentIndexer',
|
||||
'PhabricatorSearchQuery' => 'PhabricatorSearchDAO',
|
||||
'PhabricatorSearchResultView' => 'AphrontView',
|
||||
'PhabricatorSearchSelectController' => 'PhabricatorSearchController',
|
||||
'PhabricatorSearchSelectController' => 'PhabricatorSearchBaseController',
|
||||
'PhabricatorSearchUserIndexer' => 'PhabricatorSearchDocumentIndexer',
|
||||
'PhabricatorSlowvoteChoice' => 'PhabricatorSlowvoteDAO',
|
||||
'PhabricatorSlowvoteComment' => 'PhabricatorSlowvoteDAO',
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* Copyright 2011 Facebook, Inc.
|
||||
* Copyright 2012 Facebook, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -19,7 +19,7 @@
|
|||
/**
|
||||
* @group console
|
||||
*/
|
||||
class DarkConsoleController extends PhabricatorController {
|
||||
final class DarkConsoleController extends PhabricatorController {
|
||||
|
||||
protected $op;
|
||||
protected $data;
|
||||
|
|
|
@ -196,10 +196,8 @@ class AphrontDefaultApplicationConfiguration
|
|||
'task/' => array(
|
||||
'create/' => 'ManiphestTaskEditController',
|
||||
'edit/(?P<id>\d+)/' => 'ManiphestTaskEditController',
|
||||
'descriptionchange/(?P<id>\d+)/' =>
|
||||
'descriptionchange/(?:(?P<id>\d+)/)?' =>
|
||||
'ManiphestTaskDescriptionChangeController',
|
||||
'descriptiondiff/' =>
|
||||
'ManiphestTaskDescriptionDiffController',
|
||||
'descriptionpreview/' =>
|
||||
'ManiphestTaskDescriptionPreviewController',
|
||||
),
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* Copyright 2011 Facebook, Inc.
|
||||
* Copyright 2012 Facebook, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -16,7 +16,8 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorDisabledUserController extends PhabricatorAuthController {
|
||||
final class PhabricatorDisabledUserController
|
||||
extends PhabricatorAuthController {
|
||||
|
||||
public function shouldRequireEnabledUser() {
|
||||
return false;
|
||||
|
|
|
@ -16,7 +16,8 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorEmailLoginController extends PhabricatorAuthController {
|
||||
final class PhabricatorEmailLoginController
|
||||
extends PhabricatorAuthController {
|
||||
|
||||
public function shouldRequireLogin() {
|
||||
return false;
|
||||
|
|
|
@ -16,7 +16,8 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorEmailTokenController extends PhabricatorAuthController {
|
||||
final class PhabricatorEmailTokenController
|
||||
extends PhabricatorAuthController {
|
||||
|
||||
private $token;
|
||||
|
||||
|
|
|
@ -16,7 +16,8 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorLoginController extends PhabricatorAuthController {
|
||||
final class PhabricatorLoginController
|
||||
extends PhabricatorAuthController {
|
||||
|
||||
public function shouldRequireLogin() {
|
||||
return false;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* Copyright 2011 Facebook, Inc.
|
||||
* Copyright 2012 Facebook, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -16,7 +16,8 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorLogoutController extends PhabricatorAuthController {
|
||||
final class PhabricatorLogoutController
|
||||
extends PhabricatorAuthController {
|
||||
|
||||
public function shouldRequireLogin() {
|
||||
return true;
|
||||
|
|
|
@ -16,7 +16,8 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorOAuthLoginController extends PhabricatorAuthController {
|
||||
final class PhabricatorOAuthLoginController
|
||||
extends PhabricatorAuthController {
|
||||
|
||||
private $provider;
|
||||
private $userID;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorOAuthDiagnosticsController
|
||||
final class PhabricatorOAuthDiagnosticsController
|
||||
extends PhabricatorAuthController {
|
||||
|
||||
public function shouldRequireLogin() {
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorOAuthDefaultRegistrationController
|
||||
final class PhabricatorOAuthDefaultRegistrationController
|
||||
extends PhabricatorOAuthRegistrationController {
|
||||
|
||||
public function processRequest() {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* Copyright 2011 Facebook, Inc.
|
||||
* Copyright 2012 Facebook, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorRefreshCSRFController extends PhabricatorAuthController {
|
||||
final class PhabricatorRefreshCSRFController extends PhabricatorAuthController {
|
||||
|
||||
public function processRequest() {
|
||||
$request = $this->getRequest();
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorOAuthUnlinkController extends PhabricatorAuthController {
|
||||
final class PhabricatorOAuthUnlinkController extends PhabricatorAuthController {
|
||||
|
||||
private $provider;
|
||||
|
||||
|
|
|
@ -16,7 +16,8 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorLoginValidateController extends PhabricatorAuthController {
|
||||
final class PhabricatorLoginValidateController
|
||||
extends PhabricatorAuthController {
|
||||
|
||||
public function shouldRequireLogin() {
|
||||
return false;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* Copyright 2011 Facebook, Inc.
|
||||
* Copyright 2012 Facebook, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class Phabricator404Controller extends PhabricatorController {
|
||||
final class Phabricator404Controller extends PhabricatorController {
|
||||
|
||||
public function processRequest() {
|
||||
return new Aphront404Response();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* Copyright 2011 Facebook, Inc.
|
||||
* Copyright 2012 Facebook, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorRedirectController extends PhabricatorController {
|
||||
final class PhabricatorRedirectController extends PhabricatorController {
|
||||
|
||||
private $uri;
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* Copyright 2011 Facebook, Inc.
|
||||
* Copyright 2012 Facebook, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorCalendarBrowseController
|
||||
final class PhabricatorCalendarBrowseController
|
||||
extends PhabricatorCalendarController {
|
||||
|
||||
public function processRequest() {
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
/**
|
||||
* @group conduit
|
||||
*/
|
||||
class PhabricatorConduitAPIController
|
||||
final class PhabricatorConduitAPIController
|
||||
extends PhabricatorConduitController {
|
||||
|
||||
public function shouldRequireLogin() {
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
/**
|
||||
* @group conduit
|
||||
*/
|
||||
class PhabricatorConduitConsoleController
|
||||
final class PhabricatorConduitConsoleController
|
||||
extends PhabricatorConduitController {
|
||||
|
||||
private $method;
|
||||
|
|
|
@ -19,7 +19,8 @@
|
|||
/**
|
||||
* @group conduit
|
||||
*/
|
||||
class PhabricatorConduitLogController extends PhabricatorConduitController {
|
||||
final class PhabricatorConduitLogController
|
||||
extends PhabricatorConduitController {
|
||||
|
||||
public function processRequest() {
|
||||
$request = $this->getRequest();
|
||||
|
|
|
@ -19,7 +19,8 @@
|
|||
/**
|
||||
* @group conduit
|
||||
*/
|
||||
class PhabricatorConduitTokenController extends PhabricatorConduitController {
|
||||
final class PhabricatorConduitTokenController
|
||||
extends PhabricatorConduitController {
|
||||
|
||||
public function processRequest() {
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorCountdownDeleteController
|
||||
final class PhabricatorCountdownDeleteController
|
||||
extends PhabricatorCountdownController {
|
||||
|
||||
public function willProcessRequest(array $data) {
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorCountdownEditController
|
||||
final class PhabricatorCountdownEditController
|
||||
extends PhabricatorCountdownController {
|
||||
|
||||
private $id;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* Copyright 2011 Facebook, Inc.
|
||||
* Copyright 2012 Facebook, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorCountdownListController
|
||||
final class PhabricatorCountdownListController
|
||||
extends PhabricatorCountdownController {
|
||||
|
||||
public function processRequest() {
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorCountdownViewController
|
||||
final class PhabricatorCountdownViewController
|
||||
extends PhabricatorCountdownController {
|
||||
|
||||
private $id;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* Copyright 2011 Facebook, Inc.
|
||||
* Copyright 2012 Facebook, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorDaemonCombinedLogController
|
||||
final class PhabricatorDaemonCombinedLogController
|
||||
extends PhabricatorDaemonController {
|
||||
|
||||
|
||||
|
|
|
@ -16,7 +16,8 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorDaemonConsoleController extends PhabricatorDaemonController {
|
||||
final class PhabricatorDaemonConsoleController
|
||||
extends PhabricatorDaemonController {
|
||||
|
||||
public function processRequest() {
|
||||
$logs = id(new PhabricatorDaemonLog())->loadAllWhere(
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* Copyright 2011 Facebook, Inc.
|
||||
* Copyright 2012 Facebook, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -16,7 +16,8 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorDaemonLogListController extends PhabricatorDaemonController {
|
||||
final class PhabricatorDaemonLogListController
|
||||
extends PhabricatorDaemonController {
|
||||
|
||||
public function processRequest() {
|
||||
$request = $this->getRequest();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* Copyright 2011 Facebook, Inc.
|
||||
* Copyright 2012 Facebook, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -16,7 +16,8 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorDaemonLogViewController extends PhabricatorDaemonController {
|
||||
final class PhabricatorDaemonLogViewController
|
||||
extends PhabricatorDaemonController {
|
||||
|
||||
private $id;
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* Copyright 2011 Facebook, Inc.
|
||||
* Copyright 2012 Facebook, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorDaemonTimelineConsoleController
|
||||
final class PhabricatorDaemonTimelineConsoleController
|
||||
extends PhabricatorDaemonController {
|
||||
|
||||
public function processRequest() {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* Copyright 2011 Facebook, Inc.
|
||||
* Copyright 2012 Facebook, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorDaemonTimelineEventController
|
||||
final class PhabricatorDaemonTimelineEventController
|
||||
extends PhabricatorDaemonController {
|
||||
|
||||
private $id;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorWorkerTaskDetailController
|
||||
final class PhabricatorWorkerTaskDetailController
|
||||
extends PhabricatorDaemonController {
|
||||
|
||||
private $id;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorWorkerTaskUpdateController
|
||||
final class PhabricatorWorkerTaskUpdateController
|
||||
extends PhabricatorDaemonController {
|
||||
|
||||
private $id;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class DifferentialChangesetViewController extends DifferentialController {
|
||||
final class DifferentialChangesetViewController extends DifferentialController {
|
||||
|
||||
|
||||
public function shouldRequireLogin() {
|
||||
|
|
|
@ -16,7 +16,8 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class DifferentialCommentPreviewController extends DifferentialController {
|
||||
final class DifferentialCommentPreviewController
|
||||
extends DifferentialController {
|
||||
|
||||
private $id;
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class DifferentialCommentSaveController extends DifferentialController {
|
||||
final class DifferentialCommentSaveController extends DifferentialController {
|
||||
|
||||
public function processRequest() {
|
||||
$request = $this->getRequest();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* Copyright 2011 Facebook, Inc.
|
||||
* Copyright 2012 Facebook, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class DifferentialDiffCreateController extends DifferentialController {
|
||||
final class DifferentialDiffCreateController extends DifferentialController {
|
||||
|
||||
public function processRequest() {
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class DifferentialDiffViewController extends DifferentialController {
|
||||
final class DifferentialDiffViewController extends DifferentialController {
|
||||
|
||||
private $id;
|
||||
|
||||
|
|
|
@ -16,7 +16,8 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class DifferentialInlineCommentEditController extends DifferentialController {
|
||||
final class DifferentialInlineCommentEditController
|
||||
extends DifferentialController {
|
||||
|
||||
private $revisionID;
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* Copyright 2011 Facebook, Inc.
|
||||
* Copyright 2012 Facebook, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class DifferentialInlineCommentPreviewController
|
||||
final class DifferentialInlineCommentPreviewController
|
||||
extends DifferentialController {
|
||||
|
||||
private $revisionID;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* Copyright 2011 Facebook, Inc.
|
||||
* Copyright 2012 Facebook, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class DifferentialRevisionEditController extends DifferentialController {
|
||||
final class DifferentialRevisionEditController extends DifferentialController {
|
||||
|
||||
private $id;
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class DifferentialRevisionListController extends DifferentialController {
|
||||
final class DifferentialRevisionListController extends DifferentialController {
|
||||
|
||||
private $filter;
|
||||
private $username;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class DifferentialRevisionStatsController extends DifferentialController {
|
||||
final class DifferentialRevisionStatsController extends DifferentialController {
|
||||
private $filter;
|
||||
|
||||
public function shouldRequireLogin() {
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class DifferentialRevisionViewController extends DifferentialController {
|
||||
final class DifferentialRevisionViewController extends DifferentialController {
|
||||
|
||||
private $revisionID;
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* Copyright 2011 Facebook, Inc.
|
||||
* Copyright 2012 Facebook, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class DifferentialSubscribeController extends DifferentialController {
|
||||
final class DifferentialSubscribeController extends DifferentialController {
|
||||
|
||||
private $id;
|
||||
private $action;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class DiffusionBrowseController extends DiffusionController {
|
||||
final class DiffusionBrowseController extends DiffusionController {
|
||||
|
||||
public function processRequest() {
|
||||
$drequest = $this->diffusionRequest;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class DiffusionChangeController extends DiffusionController {
|
||||
final class DiffusionChangeController extends DiffusionController {
|
||||
|
||||
public function processRequest() {
|
||||
$drequest = $this->diffusionRequest;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class DiffusionCommitController extends DiffusionController {
|
||||
final class DiffusionCommitController extends DiffusionController {
|
||||
|
||||
const CHANGES_LIMIT = 100;
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* Copyright 2011 Facebook, Inc.
|
||||
* Copyright 2012 Facebook, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class DiffusionDiffController extends DiffusionController {
|
||||
final class DiffusionDiffController extends DiffusionController {
|
||||
|
||||
public function willProcessRequest(array $data) {
|
||||
$request = $this->getRequest();
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class DiffusionBrowseFileController extends DiffusionController {
|
||||
final class DiffusionBrowseFileController extends DiffusionController {
|
||||
|
||||
// Image types we want to display inline using <img> tags
|
||||
protected $imageTypes = array(
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class DiffusionHistoryController extends DiffusionController {
|
||||
final class DiffusionHistoryController extends DiffusionController {
|
||||
|
||||
public function processRequest() {
|
||||
$drequest = $this->diffusionRequest;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* Copyright 2011 Facebook, Inc.
|
||||
* Copyright 2012 Facebook, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class DiffusionHomeController extends DiffusionController {
|
||||
final class DiffusionHomeController extends DiffusionController {
|
||||
|
||||
public function processRequest() {
|
||||
$request = $this->getRequest();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* Copyright 2011 Facebook, Inc.
|
||||
* Copyright 2012 Facebook, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class DiffusionLastModifiedController extends DiffusionController {
|
||||
final class DiffusionLastModifiedController extends DiffusionController {
|
||||
|
||||
public function processRequest() {
|
||||
$drequest = $this->getDiffusionRequest();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* Copyright 2011 Facebook, Inc.
|
||||
* Copyright 2012 Facebook, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class DiffusionPathCompleteController extends DiffusionController {
|
||||
final class DiffusionPathCompleteController extends DiffusionController {
|
||||
|
||||
public function willProcessRequest(array $data) {
|
||||
// Don't build a DiffusionRequest.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* Copyright 2011 Facebook, Inc.
|
||||
* Copyright 2012 Facebook, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class DiffusionPathValidateController extends DiffusionController {
|
||||
final class DiffusionPathValidateController extends DiffusionController {
|
||||
|
||||
public function willProcessRequest(array $data) {
|
||||
// Don't build a DiffusionRequest.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class DiffusionRepositoryController extends DiffusionController {
|
||||
final class DiffusionRepositoryController extends DiffusionController {
|
||||
|
||||
public function processRequest() {
|
||||
$drequest = $this->diffusionRequest;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* Copyright 2011 Facebook, Inc.
|
||||
* Copyright 2012 Facebook, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class DiffusionSymbolController extends DiffusionController {
|
||||
final class DiffusionSymbolController extends DiffusionController {
|
||||
|
||||
private $name;
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorDirectoryCategoryDeleteController
|
||||
final class PhabricatorDirectoryCategoryDeleteController
|
||||
extends PhabricatorDirectoryController {
|
||||
|
||||
public function willProcessRequest(array $data) {
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorDirectoryCategoryEditController
|
||||
final class PhabricatorDirectoryCategoryEditController
|
||||
extends PhabricatorDirectoryController {
|
||||
|
||||
private $id;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorDirectoryItemDeleteController
|
||||
final class PhabricatorDirectoryItemDeleteController
|
||||
extends PhabricatorDirectoryController {
|
||||
|
||||
public function willProcessRequest(array $data) {
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorDirectoryItemEditController
|
||||
final class PhabricatorDirectoryItemEditController
|
||||
extends PhabricatorDirectoryController {
|
||||
|
||||
private $id;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorDirectoryMainController
|
||||
final class PhabricatorDirectoryMainController
|
||||
extends PhabricatorDirectoryController {
|
||||
|
||||
private $filter;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorFileDeleteController extends PhabricatorFileController {
|
||||
final class PhabricatorFileDeleteController extends PhabricatorFileController {
|
||||
|
||||
private $id;
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* Copyright 2011 Facebook, Inc.
|
||||
* Copyright 2012 Facebook, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -16,7 +16,8 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorFileDropUploadController extends PhabricatorFileController {
|
||||
final class PhabricatorFileDropUploadController
|
||||
extends PhabricatorFileController {
|
||||
|
||||
public function processRequest() {
|
||||
$request = $this->getRequest();
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorFileListController extends PhabricatorFileController {
|
||||
final class PhabricatorFileListController extends PhabricatorFileController {
|
||||
private $filter;
|
||||
|
||||
private $showUploader;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* Copyright 2011 Facebook, Inc.
|
||||
* Copyright 2012 Facebook, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -16,7 +16,8 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorFileMacroDeleteController extends PhabricatorFileController {
|
||||
final class PhabricatorFileMacroDeleteController
|
||||
extends PhabricatorFileController {
|
||||
|
||||
private $id;
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* Copyright 2011 Facebook, Inc.
|
||||
* Copyright 2012 Facebook, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -16,7 +16,8 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorFileMacroEditController extends PhabricatorFileController {
|
||||
final class PhabricatorFileMacroEditController
|
||||
extends PhabricatorFileController {
|
||||
|
||||
private $id;
|
||||
|
||||
|
|
|
@ -16,7 +16,9 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorFileMacroListController extends PhabricatorFileController {
|
||||
final class PhabricatorFileMacroListController
|
||||
extends PhabricatorFileController {
|
||||
|
||||
public function processRequest() {
|
||||
|
||||
$request = $this->getRequest();
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorFileProxyController extends PhabricatorFileController {
|
||||
final class PhabricatorFileProxyController extends PhabricatorFileController {
|
||||
|
||||
private $uri;
|
||||
|
||||
|
|
|
@ -16,7 +16,8 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorFileTransformController extends PhabricatorFileController {
|
||||
final class PhabricatorFileTransformController
|
||||
extends PhabricatorFileController {
|
||||
|
||||
private $transform;
|
||||
private $phid;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* Copyright 2011 Facebook, Inc.
|
||||
* Copyright 2012 Facebook, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorFileUploadController extends PhabricatorFileController {
|
||||
final class PhabricatorFileUploadController extends PhabricatorFileController {
|
||||
|
||||
public function processRequest() {
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* Copyright 2011 Facebook, Inc.
|
||||
* Copyright 2012 Facebook, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorHelpKeyboardShortcutController
|
||||
final class PhabricatorHelpKeyboardShortcutController
|
||||
extends PhabricatorHelpController {
|
||||
|
||||
public function processRequest() {
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class HeraldAllRulesController extends HeraldController {
|
||||
final class HeraldAllRulesController extends HeraldController {
|
||||
|
||||
private $view;
|
||||
private $viewPHID;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* Copyright 2011 Facebook, Inc.
|
||||
* Copyright 2012 Facebook, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class HeraldDeleteController extends HeraldController {
|
||||
final class HeraldDeleteController extends HeraldController {
|
||||
|
||||
private $id;
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class HeraldRuleEditHistoryController extends HeraldController {
|
||||
final class HeraldRuleEditHistoryController extends HeraldController {
|
||||
|
||||
private $id;
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class HeraldHomeController extends HeraldController {
|
||||
final class HeraldHomeController extends HeraldController {
|
||||
|
||||
private $view;
|
||||
private $filter;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class HeraldNewController extends HeraldController {
|
||||
final class HeraldNewController extends HeraldController {
|
||||
|
||||
private $contentType;
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class HeraldRuleController extends HeraldController {
|
||||
final class HeraldRuleController extends HeraldController {
|
||||
|
||||
private $id;
|
||||
private $filter;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class HeraldTestConsoleController extends HeraldController {
|
||||
final class HeraldTestConsoleController extends HeraldController {
|
||||
|
||||
public function getFilter() {
|
||||
return 'test';
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class HeraldTranscriptController extends HeraldController {
|
||||
final class HeraldTranscriptController extends HeraldController {
|
||||
|
||||
const FILTER_AFFECTED = 'affected';
|
||||
const FILTER_OWNED = 'owned';
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* Copyright 2011 Facebook, Inc.
|
||||
* Copyright 2012 Facebook, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class HeraldTranscriptListController extends HeraldController {
|
||||
final class HeraldTranscriptListController extends HeraldController {
|
||||
|
||||
public function getFilter() {
|
||||
return 'transcript';
|
||||
|
|
|
@ -19,7 +19,8 @@
|
|||
/**
|
||||
* @group maniphest
|
||||
*/
|
||||
class ManiphestTaskDescriptionChangeController extends ManiphestController {
|
||||
final class ManiphestTaskDescriptionChangeController
|
||||
extends ManiphestController {
|
||||
|
||||
private $transactionID;
|
||||
|
||||
|
@ -33,13 +34,17 @@ class ManiphestTaskDescriptionChangeController extends ManiphestController {
|
|||
}
|
||||
|
||||
public function willProcessRequest(array $data) {
|
||||
$this->setTransactionID($data['id']);
|
||||
$this->setTransactionID(idx($data, 'id'));
|
||||
}
|
||||
|
||||
public function processRequest() {
|
||||
$request = $this->getRequest();
|
||||
$user = $request->getUser();
|
||||
|
||||
if (!$this->getTransactionID()) {
|
||||
$this->setTransactionID($this->getRequest()->getStr('ref'));
|
||||
}
|
||||
|
||||
$transaction_id = $this->getTransactionID();
|
||||
$transaction = id(new ManiphestTransaction())->load($transaction_id);
|
||||
if (!$transaction) {
|
||||
|
|
|
@ -1,29 +0,0 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* Copyright 2012 Facebook, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @group maniphest
|
||||
*/
|
||||
final class ManiphestTaskDescriptionDiffController
|
||||
extends ManiphestTaskDescriptionChangeController {
|
||||
|
||||
public function willProcessRequest(array $data) {
|
||||
$ref = $this->getRequest()->getStr('ref');
|
||||
$this->setTransactionID($ref);
|
||||
}
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* This file is automatically generated. Lint this module to rebuild it.
|
||||
* @generated
|
||||
*/
|
||||
|
||||
|
||||
|
||||
phutil_require_module('phabricator', 'applications/maniphest/controller/descriptionchange');
|
||||
|
||||
|
||||
phutil_require_source('ManiphestTaskDescriptionDiffController.php');
|
|
@ -19,7 +19,8 @@
|
|||
/**
|
||||
* @group maniphest
|
||||
*/
|
||||
class ManiphestTaskDescriptionPreviewController extends ManiphestController {
|
||||
final class ManiphestTaskDescriptionPreviewController
|
||||
extends ManiphestController {
|
||||
|
||||
public function processRequest() {
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
/**
|
||||
* @group maniphest
|
||||
*/
|
||||
class ManiphestTaskDetailController extends ManiphestController {
|
||||
final class ManiphestTaskDetailController extends ManiphestController {
|
||||
|
||||
private $id;
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
/**
|
||||
* @group maniphest
|
||||
*/
|
||||
class ManiphestTaskEditController extends ManiphestController {
|
||||
final class ManiphestTaskEditController extends ManiphestController {
|
||||
|
||||
private $id;
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
/**
|
||||
* @group maniphest
|
||||
*/
|
||||
class ManiphestTaskListController extends ManiphestController {
|
||||
final class ManiphestTaskListController extends ManiphestController {
|
||||
|
||||
const DEFAULT_PAGE_SIZE = 1000;
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* Copyright 2011 Facebook, Inc.
|
||||
* Copyright 2012 Facebook, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -19,7 +19,7 @@
|
|||
/**
|
||||
* @group maniphest
|
||||
*/
|
||||
class ManiphestTransactionPreviewController extends ManiphestController {
|
||||
final class ManiphestTransactionPreviewController extends ManiphestController {
|
||||
|
||||
private $id;
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* Copyright 2011 Facebook, Inc.
|
||||
* Copyright 2012 Facebook, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -19,7 +19,7 @@
|
|||
/**
|
||||
* @group maniphest
|
||||
*/
|
||||
class ManiphestTransactionSaveController extends ManiphestController {
|
||||
final class ManiphestTransactionSaveController extends ManiphestController {
|
||||
|
||||
public function processRequest() {
|
||||
$request = $this->getRequest();
|
||||
|
|
|
@ -96,7 +96,7 @@ class ManiphestTransactionListView extends ManiphestView {
|
|||
require_celerity_resource('syntax-highlighting-css');
|
||||
$whitespace_mode = DifferentialChangesetParser::WHITESPACE_SHOW_ALL;
|
||||
Javelin::initBehavior('differential-show-more', array(
|
||||
'uri' => '/maniphest/task/descriptiondiff/',
|
||||
'uri' => '/maniphest/task/descriptionchange/',
|
||||
'whitespace' => $whitespace_mode,
|
||||
));
|
||||
}
|
||||
|
|
|
@ -16,7 +16,8 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorMetaMTAListController extends PhabricatorMetaMTAController {
|
||||
final class PhabricatorMetaMTAListController
|
||||
extends PhabricatorMetaMTAController {
|
||||
|
||||
public function processRequest() {
|
||||
// Get a page of mails together with pager.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorMetaMTAMailingListEditController
|
||||
final class PhabricatorMetaMTAMailingListEditController
|
||||
extends PhabricatorMetaMTAController {
|
||||
|
||||
private $id;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorMetaMTAMailingListsController
|
||||
final class PhabricatorMetaMTAMailingListsController
|
||||
extends PhabricatorMetaMTAController {
|
||||
|
||||
public function processRequest() {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* Copyright 2011 Facebook, Inc.
|
||||
* Copyright 2012 Facebook, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorMetaMTAReceiveController
|
||||
final class PhabricatorMetaMTAReceiveController
|
||||
extends PhabricatorMetaMTAController {
|
||||
|
||||
public function processRequest() {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* Copyright 2011 Facebook, Inc.
|
||||
* Copyright 2012 Facebook, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorMetaMTAReceivedListController
|
||||
final class PhabricatorMetaMTAReceivedListController
|
||||
extends PhabricatorMetaMTAController {
|
||||
|
||||
public function processRequest() {
|
||||
|
|
|
@ -16,7 +16,8 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorMetaMTASendController extends PhabricatorMetaMTAController {
|
||||
final class PhabricatorMetaMTASendController
|
||||
extends PhabricatorMetaMTAController {
|
||||
|
||||
public function processRequest() {
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorMetaMTASendGridReceiveController
|
||||
final class PhabricatorMetaMTASendGridReceiveController
|
||||
extends PhabricatorMetaMTAController {
|
||||
|
||||
public function shouldRequireLogin() {
|
||||
|
|
|
@ -16,7 +16,8 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorMetaMTAViewController extends PhabricatorMetaMTAController {
|
||||
final class PhabricatorMetaMTAViewController
|
||||
extends PhabricatorMetaMTAController {
|
||||
|
||||
private $id;
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* Copyright 2011 Facebook, Inc.
|
||||
* Copyright 2012 Facebook, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -16,7 +16,8 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorOwnersDeleteController extends PhabricatorOwnersController {
|
||||
final class PhabricatorOwnersDeleteController
|
||||
extends PhabricatorOwnersController {
|
||||
|
||||
private $id;
|
||||
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue