mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-30 01:10:58 +01:00
Add "final" to more classes
Summary: No big surprises here, delted the unused "DarkConsole" class. Test Plan: Ran 'testEverythingImplemented' to verify I wasn't finalizing anything we extend. Reviewers: btrahan Reviewed By: btrahan CC: aran, epriestley Maniphest Tasks: T795 Differential Revision: https://secure.phabricator.com/D1876
This commit is contained in:
parent
49366559af
commit
11cccb98c2
126 changed files with 222 additions and 229 deletions
|
@ -169,7 +169,6 @@ phutil_register_library_map(array(
|
|||
'ConduitAPI_user_info_Method' => 'applications/conduit/method/user/info',
|
||||
'ConduitAPI_user_whoami_Method' => 'applications/conduit/method/user/whoami',
|
||||
'ConduitException' => 'applications/conduit/protocol/exception',
|
||||
'DarkConsole' => 'aphront/console/api',
|
||||
'DarkConsoleConfigPlugin' => 'aphront/console/plugin/config',
|
||||
'DarkConsoleController' => 'aphront/console/controller',
|
||||
'DarkConsoleCore' => 'aphront/console/core',
|
||||
|
|
|
@ -1,24 +0,0 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* Copyright 2011 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 console
|
||||
*/
|
||||
class DarkConsole {
|
||||
|
||||
}
|
|
@ -1,10 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* This file is automatically generated. Lint this module to rebuild it.
|
||||
* @generated
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
phutil_require_source('DarkConsole.php');
|
|
@ -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 DarkConsoleConfigPlugin extends DarkConsolePlugin {
|
||||
final class DarkConsoleConfigPlugin extends DarkConsolePlugin {
|
||||
|
||||
public function getName() {
|
||||
return 'Config';
|
||||
|
|
|
@ -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 DarkConsoleErrorLogPlugin extends DarkConsolePlugin {
|
||||
final class DarkConsoleErrorLogPlugin extends DarkConsolePlugin {
|
||||
|
||||
public function getName() {
|
||||
$count = count($this->getData());
|
||||
|
|
|
@ -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 DarkConsoleErrorLogPluginAPI {
|
||||
final class DarkConsoleErrorLogPluginAPI {
|
||||
|
||||
private static $errors = array();
|
||||
|
||||
|
|
|
@ -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 DarkConsoleEventPlugin extends DarkConsolePlugin {
|
||||
final class DarkConsoleEventPlugin extends DarkConsolePlugin {
|
||||
|
||||
public function getName() {
|
||||
return 'Events';
|
||||
|
|
|
@ -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 DarkConsoleEventPluginAPI extends PhutilEventListener {
|
||||
final class DarkConsoleEventPluginAPI extends PhutilEventListener {
|
||||
|
||||
private static $events = array();
|
||||
private static $discardMode = 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.
|
||||
|
@ -19,7 +19,7 @@
|
|||
/**
|
||||
* @group console
|
||||
*/
|
||||
class DarkConsoleRequestPlugin extends DarkConsolePlugin {
|
||||
final class DarkConsoleRequestPlugin extends DarkConsolePlugin {
|
||||
|
||||
public function getName() {
|
||||
return 'Request';
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
/**
|
||||
* @group console
|
||||
*/
|
||||
class DarkConsoleServicesPlugin extends DarkConsolePlugin {
|
||||
final class DarkConsoleServicesPlugin extends DarkConsolePlugin {
|
||||
|
||||
protected $observations;
|
||||
|
||||
|
|
|
@ -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 DarkConsoleXHProfPlugin extends DarkConsolePlugin {
|
||||
final class DarkConsoleXHProfPlugin extends DarkConsolePlugin {
|
||||
|
||||
protected $xhprofID;
|
||||
|
||||
|
|
|
@ -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,6 +16,6 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class AphrontException extends Exception {
|
||||
abstract class AphrontException extends Exception {
|
||||
|
||||
}
|
||||
|
|
|
@ -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,6 +16,6 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class AphrontCSRFException extends AphrontException {
|
||||
final class AphrontCSRFException extends AphrontException {
|
||||
|
||||
}
|
||||
|
|
|
@ -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,10 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class AphrontRedirectException extends AphrontException {
|
||||
/**
|
||||
* TODO: Remove this entirely? We have no callsites.
|
||||
*/
|
||||
final class AphrontRedirectException extends AphrontException {
|
||||
|
||||
private $uri;
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
*
|
||||
* @group aphront
|
||||
*/
|
||||
class AphrontRequest {
|
||||
final class AphrontRequest {
|
||||
|
||||
const TYPE_AJAX = '__ajax__';
|
||||
const TYPE_FORM = '__form__';
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class AphrontRequestTestCase extends PhabricatorTestCase {
|
||||
final class AphrontRequestTestCase extends PhabricatorTestCase {
|
||||
|
||||
public function testRequestDataAccess() {
|
||||
$r = new AphrontRequest('http://example.com/', '/');
|
||||
|
|
|
@ -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 aphront
|
||||
*/
|
||||
class Aphront304Response extends AphrontResponse {
|
||||
final class Aphront304Response extends AphrontResponse {
|
||||
|
||||
public function getHTTPResponseCode() {
|
||||
return 304;
|
||||
|
|
|
@ -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 aphront
|
||||
*/
|
||||
class Aphront400Response extends AphrontResponse {
|
||||
final class Aphront400Response extends AphrontResponse {
|
||||
|
||||
public function getHTTPResponseCode() {
|
||||
return 400;
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
/**
|
||||
* @group aphront
|
||||
*/
|
||||
class Aphront403Response extends AphrontWebpageResponse {
|
||||
final class Aphront403Response extends AphrontWebpageResponse {
|
||||
|
||||
private $forbiddenText;
|
||||
public function setForbiddenText($text) {
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
/**
|
||||
* @group aphront
|
||||
*/
|
||||
class Aphront404Response extends AphrontWebpageResponse {
|
||||
final class Aphront404Response extends AphrontWebpageResponse {
|
||||
|
||||
public function getHTTPResponseCode() {
|
||||
return 404;
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
/**
|
||||
* @group aphront
|
||||
*/
|
||||
class AphrontFileResponse extends AphrontResponse {
|
||||
final class AphrontFileResponse extends AphrontResponse {
|
||||
|
||||
private $content;
|
||||
private $mimeType;
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
/**
|
||||
* @group aphront
|
||||
*/
|
||||
class AphrontPlainTextResponse extends AphrontResponse {
|
||||
final class AphrontPlainTextResponse extends AphrontResponse {
|
||||
|
||||
public function setContent($content) {
|
||||
$this->content = $content;
|
||||
|
|
|
@ -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.
|
||||
|
@ -17,6 +17,8 @@
|
|||
*/
|
||||
|
||||
/**
|
||||
* TODO: Should be final but isn't because of AphrontReloadResponse.
|
||||
*
|
||||
* @group aphront
|
||||
*/
|
||||
class AphrontRedirectResponse extends AphrontResponse {
|
||||
|
|
|
@ -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.
|
||||
|
@ -24,7 +24,7 @@
|
|||
*
|
||||
* @group aphront
|
||||
*/
|
||||
class AphrontReloadResponse extends AphrontRedirectResponse {
|
||||
final class AphrontReloadResponse extends AphrontRedirectResponse {
|
||||
|
||||
public function getURI() {
|
||||
if ($this->getRequest()->isAjax()) {
|
||||
|
|
|
@ -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.
|
||||
|
@ -17,6 +17,8 @@
|
|||
*/
|
||||
|
||||
/**
|
||||
* TODO: Should be final, but isn't because of Aphront403Response / 404Response.
|
||||
*
|
||||
* @group aphront
|
||||
*/
|
||||
class AphrontWebpageResponse extends AphrontResponse {
|
||||
|
|
|
@ -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 PhabricatorAuditComment extends PhabricatorAuditDAO {
|
||||
final class PhabricatorAuditComment extends PhabricatorAuditDAO {
|
||||
|
||||
protected $phid;
|
||||
protected $actorPHID;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorOAuthProviderFacebook extends PhabricatorOAuthProvider {
|
||||
final class PhabricatorOAuthProviderFacebook extends PhabricatorOAuthProvider {
|
||||
|
||||
private $userData;
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorOAuthProviderGitHub extends PhabricatorOAuthProvider {
|
||||
final class PhabricatorOAuthProviderGitHub extends PhabricatorOAuthProvider {
|
||||
|
||||
private $userData;
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorOAuthProviderGoogle extends PhabricatorOAuthProvider {
|
||||
final class PhabricatorOAuthProviderGoogle extends PhabricatorOAuthProvider {
|
||||
|
||||
private $userData;
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorOAuthFailureView extends AphrontView {
|
||||
final class PhabricatorOAuthFailureView extends AphrontView {
|
||||
|
||||
private $request;
|
||||
private $provider;
|
||||
|
|
|
@ -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 conduit
|
||||
*/
|
||||
class ConduitAPI_arcanist_projectinfo_Method
|
||||
final class ConduitAPI_arcanist_projectinfo_Method
|
||||
extends ConduitAPI_arcanist_Method {
|
||||
|
||||
public function getMethodDescription() {
|
||||
|
|
|
@ -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 conduit
|
||||
*/
|
||||
class ConduitAPI_conduit_connect_Method extends ConduitAPIMethod {
|
||||
final class ConduitAPI_conduit_connect_Method extends ConduitAPIMethod {
|
||||
|
||||
public function shouldRequireAuthentication() {
|
||||
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.
|
||||
|
@ -19,7 +19,7 @@
|
|||
/**
|
||||
* @group conduit
|
||||
*/
|
||||
class ConduitAPI_conduit_getcertificate_Method extends ConduitAPIMethod {
|
||||
final class ConduitAPI_conduit_getcertificate_Method extends ConduitAPIMethod {
|
||||
|
||||
public function shouldRequireAuthentication() {
|
||||
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.
|
||||
|
@ -19,7 +19,7 @@
|
|||
/**
|
||||
* @group conduit
|
||||
*/
|
||||
class ConduitAPI_conduit_ping_Method extends ConduitAPIMethod {
|
||||
final class ConduitAPI_conduit_ping_Method extends ConduitAPIMethod {
|
||||
|
||||
public function shouldRequireAuthentication() {
|
||||
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.
|
||||
|
@ -19,7 +19,7 @@
|
|||
/**
|
||||
* @group conduit
|
||||
*/
|
||||
class ConduitAPI_daemon_launched_Method extends ConduitAPIMethod {
|
||||
final class ConduitAPI_daemon_launched_Method extends ConduitAPIMethod {
|
||||
|
||||
public function shouldRequireAuthentication() {
|
||||
// TODO: Lock this down once we build phantoms.
|
||||
|
|
|
@ -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 conduit
|
||||
*/
|
||||
class ConduitAPI_daemon_log_Method extends ConduitAPIMethod {
|
||||
final class ConduitAPI_daemon_log_Method extends ConduitAPIMethod {
|
||||
|
||||
public function shouldRequireAuthentication() {
|
||||
// TODO: Lock this down once we build phantoms.
|
||||
|
|
|
@ -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,8 @@
|
|||
/**
|
||||
* @group conduit
|
||||
*/
|
||||
class ConduitAPI_differential_createcomment_Method extends ConduitAPIMethod {
|
||||
final class ConduitAPI_differential_createcomment_Method
|
||||
extends ConduitAPIMethod {
|
||||
|
||||
public function getMethodDescription() {
|
||||
return "Add a comment to a Differential revision.";
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
/**
|
||||
* @group conduit
|
||||
*/
|
||||
class ConduitAPI_differential_creatediff_Method extends ConduitAPIMethod {
|
||||
final class ConduitAPI_differential_creatediff_Method extends ConduitAPIMethod {
|
||||
|
||||
public function getMethodDescription() {
|
||||
return "Create a new Differential diff.";
|
||||
|
|
|
@ -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,8 @@
|
|||
/**
|
||||
* @group conduit
|
||||
*/
|
||||
class ConduitAPI_differential_createrevision_Method extends ConduitAPIMethod {
|
||||
final class ConduitAPI_differential_createrevision_Method
|
||||
extends ConduitAPIMethod {
|
||||
|
||||
public function getMethodDescription() {
|
||||
return "Create a new Differential revision.";
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
/**
|
||||
* @group conduit
|
||||
*/
|
||||
class ConduitAPI_differential_find_Method extends ConduitAPIMethod {
|
||||
final class ConduitAPI_differential_find_Method extends ConduitAPIMethod {
|
||||
|
||||
public function getMethodDescription() {
|
||||
return "Query Differential revisions which match certain criteria.";
|
||||
|
|
|
@ -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,8 @@
|
|||
/**
|
||||
* @group conduit
|
||||
*/
|
||||
class ConduitAPI_differential_getalldiffs_Method extends ConduitAPIMethod {
|
||||
final class ConduitAPI_differential_getalldiffs_Method
|
||||
extends ConduitAPIMethod {
|
||||
|
||||
public function getMethodDescription() {
|
||||
return "Load all diffs for given revisions from Differential.";
|
||||
|
|
|
@ -19,7 +19,8 @@
|
|||
/**
|
||||
* @group conduit
|
||||
*/
|
||||
class ConduitAPI_differential_getcommitmessage_Method extends ConduitAPIMethod {
|
||||
final class ConduitAPI_differential_getcommitmessage_Method
|
||||
extends ConduitAPIMethod {
|
||||
|
||||
public function getMethodDescription() {
|
||||
return "Retrieve Differential commit messages or message templates.";
|
||||
|
|
|
@ -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,8 @@
|
|||
/**
|
||||
* @group conduit
|
||||
*/
|
||||
class ConduitAPI_differential_getcommitpaths_Method extends ConduitAPIMethod {
|
||||
final class ConduitAPI_differential_getcommitpaths_Method
|
||||
extends ConduitAPIMethod {
|
||||
|
||||
public function getMethodDescription() {
|
||||
return "Query which paths should be included when committing a ".
|
||||
|
|
|
@ -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 conduit
|
||||
*/
|
||||
class ConduitAPI_differential_getdiff_Method extends ConduitAPIMethod {
|
||||
final class ConduitAPI_differential_getdiff_Method extends ConduitAPIMethod {
|
||||
|
||||
public function getMethodDescription() {
|
||||
return "Load the content of a diff from Differential.";
|
||||
|
|
|
@ -19,7 +19,8 @@
|
|||
/**
|
||||
* @group conduit
|
||||
*/
|
||||
class ConduitAPI_differential_getrevision_Method extends ConduitAPIMethod {
|
||||
final class ConduitAPI_differential_getrevision_Method
|
||||
extends ConduitAPIMethod {
|
||||
|
||||
public function getMethodDescription() {
|
||||
return "Load the content of a revision from Differential.";
|
||||
|
|
|
@ -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 conduit
|
||||
*/
|
||||
class ConduitAPI_differential_getrevisioncomments_Method
|
||||
final class ConduitAPI_differential_getrevisioncomments_Method
|
||||
extends ConduitAPIMethod {
|
||||
|
||||
public function getMethodDescription() {
|
||||
|
|
|
@ -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 conduit
|
||||
*/
|
||||
class ConduitAPI_differential_getrevisionfeedback_Method
|
||||
final class ConduitAPI_differential_getrevisionfeedback_Method
|
||||
extends ConduitAPIMethod {
|
||||
|
||||
public function getMethodDescription() {
|
||||
|
|
|
@ -19,7 +19,8 @@
|
|||
/**
|
||||
* @group conduit
|
||||
*/
|
||||
class ConduitAPI_differential_markcommitted_Method extends ConduitAPIMethod {
|
||||
final class ConduitAPI_differential_markcommitted_Method
|
||||
extends ConduitAPIMethod {
|
||||
|
||||
public function getMethodDescription() {
|
||||
return "Mark Differential revisions as committed.";
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
/**
|
||||
* @group conduit
|
||||
*/
|
||||
class ConduitAPI_differential_parsecommitmessage_Method
|
||||
final class ConduitAPI_differential_parsecommitmessage_Method
|
||||
extends ConduitAPIMethod {
|
||||
|
||||
public function getMethodDescription() {
|
||||
|
|
|
@ -19,7 +19,8 @@
|
|||
/**
|
||||
* @group conduit
|
||||
*/
|
||||
class ConduitAPI_differential_query_Method extends ConduitAPIMethod {
|
||||
final class ConduitAPI_differential_query_Method
|
||||
extends ConduitAPIMethod {
|
||||
|
||||
public function getMethodDescription() {
|
||||
return "Query Differential revisions which match certain criteria.";
|
||||
|
|
|
@ -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,8 @@
|
|||
/**
|
||||
* @group conduit
|
||||
*/
|
||||
class ConduitAPI_differential_setdiffproperty_Method extends ConduitAPIMethod {
|
||||
final class ConduitAPI_differential_setdiffproperty_Method
|
||||
extends ConduitAPIMethod {
|
||||
|
||||
public function getMethodDescription() {
|
||||
return "Attach properties to Differential diffs.";
|
||||
|
|
|
@ -19,7 +19,8 @@
|
|||
/**
|
||||
* @group conduit
|
||||
*/
|
||||
class ConduitAPI_differential_updaterevision_Method extends ConduitAPIMethod {
|
||||
final class ConduitAPI_differential_updaterevision_Method
|
||||
extends ConduitAPIMethod {
|
||||
|
||||
public function getMethodDescription() {
|
||||
return "Update a Differential revision.";
|
||||
|
|
|
@ -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 conduit
|
||||
*/
|
||||
class ConduitAPI_differential_updatetaskrevisionassoc_Method
|
||||
final class ConduitAPI_differential_updatetaskrevisionassoc_Method
|
||||
extends ConduitAPIMethod {
|
||||
|
||||
public function getMethodDescription() {
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
/**
|
||||
* @group conduit
|
||||
*/
|
||||
class ConduitAPI_differential_updateunitresults_Method
|
||||
extends ConduitAPIMethod {
|
||||
final class ConduitAPI_differential_updateunitresults_Method
|
||||
extends ConduitAPIMethod {
|
||||
|
||||
public function getMethodDescription() {
|
||||
return "Update arc unit results for a postponed test.";
|
||||
|
|
|
@ -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,8 @@
|
|||
/**
|
||||
* @group conduit
|
||||
*/
|
||||
class ConduitAPI_diffusion_findsymbols_Method extends ConduitAPIMethod {
|
||||
final class ConduitAPI_diffusion_findsymbols_Method
|
||||
extends ConduitAPIMethod {
|
||||
|
||||
public function getMethodDescription() {
|
||||
return "Retrieve Diffusion symbol information.";
|
||||
|
|
|
@ -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,8 @@
|
|||
/**
|
||||
* @group conduit
|
||||
*/
|
||||
class ConduitAPI_diffusion_getcommits_Method extends ConduitAPIMethod {
|
||||
final class ConduitAPI_diffusion_getcommits_Method
|
||||
extends ConduitAPIMethod {
|
||||
|
||||
public function getMethodDescription() {
|
||||
return "Retrieve Diffusion commit information.";
|
||||
|
|
|
@ -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 conduit
|
||||
*/
|
||||
class ConduitAPI_diffusion_getrecentcommitsbypath_Method
|
||||
final class ConduitAPI_diffusion_getrecentcommitsbypath_Method
|
||||
extends ConduitAPIMethod {
|
||||
|
||||
const RESULT_LIMIT = 10;
|
||||
|
|
|
@ -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,8 @@
|
|||
/**
|
||||
* @group conduit
|
||||
*/
|
||||
class ConduitAPI_feed_publish_Method extends ConduitAPIMethod {
|
||||
final class ConduitAPI_feed_publish_Method
|
||||
extends ConduitAPIMethod {
|
||||
|
||||
public function getMethodDescription() {
|
||||
return "(UNSTABLE!!!) Publish a story to the feed.";
|
||||
|
|
|
@ -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,8 @@
|
|||
/**
|
||||
* @group conduit
|
||||
*/
|
||||
class ConduitAPI_file_download_Method extends ConduitAPIMethod {
|
||||
final class ConduitAPI_file_download_Method
|
||||
extends ConduitAPIMethod {
|
||||
|
||||
public function getMethodDescription() {
|
||||
return "Download a file from the server.";
|
||||
|
|
|
@ -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 conduit
|
||||
*/
|
||||
class ConduitAPI_file_info_Method extends ConduitAPIMethod {
|
||||
final class ConduitAPI_file_info_Method extends ConduitAPIMethod {
|
||||
|
||||
public function getMethodDescription() {
|
||||
return "Get information about a file.";
|
||||
|
|
|
@ -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 conduit
|
||||
*/
|
||||
class ConduitAPI_file_upload_Method extends ConduitAPIMethod {
|
||||
final class ConduitAPI_file_upload_Method extends ConduitAPIMethod {
|
||||
|
||||
public function getMethodDescription() {
|
||||
return "Upload a file to the server.";
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
/**
|
||||
* @group maniphest
|
||||
*/
|
||||
class ConduitAPI_maniphest_gettasktransactions_Method
|
||||
final class ConduitAPI_maniphest_gettasktransactions_Method
|
||||
extends ConduitAPI_maniphest_Method {
|
||||
|
||||
public function getMethodDescription() {
|
||||
|
|
|
@ -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 conduit
|
||||
*/
|
||||
class ConduitAPI_paste_create_Method extends ConduitAPI_paste_Method {
|
||||
final class ConduitAPI_paste_create_Method extends ConduitAPI_paste_Method {
|
||||
|
||||
public function getMethodDescription() {
|
||||
return 'Create a new paste.';
|
||||
|
|
|
@ -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 conduit
|
||||
*/
|
||||
class ConduitAPI_paste_info_Method extends ConduitAPI_paste_Method {
|
||||
final class ConduitAPI_paste_info_Method extends ConduitAPI_paste_Method {
|
||||
|
||||
public function getMethodDescription() {
|
||||
return "Retrieve an array of information about a paste.";
|
||||
|
|
|
@ -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 conduit
|
||||
*/
|
||||
class ConduitAPI_path_getowners_Method extends ConduitAPIMethod {
|
||||
final class ConduitAPI_path_getowners_Method extends ConduitAPIMethod {
|
||||
|
||||
public function getMethodDescription() {
|
||||
return "Find the Owners package that contains a given path.";
|
||||
|
|
|
@ -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 conduit
|
||||
*/
|
||||
class ConduitAPI_phriction_edit_Method
|
||||
final class ConduitAPI_phriction_edit_Method
|
||||
extends ConduitAPI_phriction_Method {
|
||||
|
||||
public function getMethodDescription() {
|
||||
|
|
|
@ -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 conduit
|
||||
*/
|
||||
class ConduitAPI_phriction_history_Method
|
||||
final class ConduitAPI_phriction_history_Method
|
||||
extends ConduitAPI_phriction_Method {
|
||||
|
||||
public function getMethodDescription() {
|
||||
|
|
|
@ -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 conduit
|
||||
*/
|
||||
class ConduitAPI_phriction_info_Method
|
||||
final class ConduitAPI_phriction_info_Method
|
||||
extends ConduitAPI_phriction_Method {
|
||||
|
||||
public function getMethodDescription() {
|
||||
|
|
|
@ -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 conduit
|
||||
*/
|
||||
class ConduitAPI_slowvote_info_Method extends ConduitAPIMethod {
|
||||
final class ConduitAPI_slowvote_info_Method extends ConduitAPIMethod {
|
||||
|
||||
public function getMethodDescription() {
|
||||
return "Retrieve an array of information about a poll.";
|
||||
|
|
|
@ -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 conduit
|
||||
*/
|
||||
class ConduitException extends Exception {
|
||||
final class ConduitException extends Exception {
|
||||
|
||||
private $errorDescription;
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
/**
|
||||
* @group conduit
|
||||
*/
|
||||
class ConduitAPIRequest {
|
||||
final class ConduitAPIRequest {
|
||||
|
||||
protected $params;
|
||||
private $user;
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
/**
|
||||
* @group conduit
|
||||
*/
|
||||
class ConduitAPIResponse {
|
||||
final class ConduitAPIResponse {
|
||||
|
||||
private $result;
|
||||
private $errorCode;
|
||||
|
|
|
@ -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 conduit
|
||||
*/
|
||||
class PhabricatorConduitConnectionLog extends PhabricatorConduitDAO {
|
||||
final class PhabricatorConduitConnectionLog extends PhabricatorConduitDAO {
|
||||
|
||||
protected $client;
|
||||
protected $clientVersion;
|
||||
|
|
|
@ -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 conduit
|
||||
*/
|
||||
class PhabricatorConduitCertificateToken extends PhabricatorConduitDAO {
|
||||
final class PhabricatorConduitCertificateToken extends PhabricatorConduitDAO {
|
||||
|
||||
protected $userPHID;
|
||||
protected $token;
|
||||
|
|
|
@ -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 PhabricatorTimer extends PhabricatorCountdownDAO {
|
||||
final class PhabricatorTimer extends PhabricatorCountdownDAO {
|
||||
|
||||
protected $id;
|
||||
protected $title;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class DifferentialRevisionListData {
|
||||
final class DifferentialRevisionListData {
|
||||
|
||||
const QUERY_OPEN_OWNED = 'open';
|
||||
const QUERY_OPEN_REVIEWER = 'reviewer';
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class DifferentialCommentEditor {
|
||||
final class DifferentialCommentEditor {
|
||||
|
||||
protected $revision;
|
||||
protected $actorPHID;
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
* reviewers, diffs, and CCs. Unlike simple edits, these changes trigger
|
||||
* complicated email workflows.
|
||||
*/
|
||||
class DifferentialRevisionEditor {
|
||||
final class DifferentialRevisionEditor {
|
||||
|
||||
protected $revision;
|
||||
protected $actorPHID;
|
||||
|
|
|
@ -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,6 +16,6 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class DifferentialFieldValidationException extends Exception {
|
||||
final class DifferentialFieldValidationException extends Exception {
|
||||
|
||||
}
|
||||
|
|
|
@ -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 DifferentialCCWelcomeMail extends DifferentialReviewRequestMail {
|
||||
final class DifferentialCCWelcomeMail extends DifferentialReviewRequestMail {
|
||||
|
||||
protected function renderSubject() {
|
||||
$revision = $this->getRevision();
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class DifferentialCommentMail extends DifferentialMail {
|
||||
final class DifferentialCommentMail extends DifferentialMail {
|
||||
|
||||
protected $changedByCommit;
|
||||
|
||||
|
|
|
@ -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 DifferentialDiffContentMail extends DifferentialMail {
|
||||
final class DifferentialDiffContentMail extends DifferentialMail {
|
||||
|
||||
protected $content;
|
||||
|
||||
|
|
|
@ -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 DifferentialExceptionMail extends DifferentialMail {
|
||||
final class DifferentialExceptionMail extends DifferentialMail {
|
||||
|
||||
public function __construct(
|
||||
DifferentialRevision $revision,
|
||||
|
|
|
@ -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 DifferentialNewDiffMail extends DifferentialReviewRequestMail {
|
||||
final class DifferentialNewDiffMail extends DifferentialReviewRequestMail {
|
||||
|
||||
protected function renderSubject() {
|
||||
$revision = $this->getRevision();
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class DifferentialChangesetParser {
|
||||
final class DifferentialChangesetParser {
|
||||
|
||||
protected $visible = array();
|
||||
protected $new = array();
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class DifferentialReplyHandler extends PhabricatorMailReplyHandler {
|
||||
final class DifferentialReplyHandler extends PhabricatorMailReplyHandler {
|
||||
|
||||
private $receivedMail;
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class DifferentialChangeset extends DifferentialDAO {
|
||||
final class DifferentialChangeset extends DifferentialDAO {
|
||||
|
||||
protected $diffID;
|
||||
protected $oldFile;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class DifferentialComment extends DifferentialDAO {
|
||||
final class DifferentialComment extends DifferentialDAO {
|
||||
|
||||
const METADATA_ADDED_REVIEWERS = 'added-reviewers';
|
||||
const METADATA_ADDED_CCS = 'added-ccs';
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class DifferentialDiff extends DifferentialDAO {
|
||||
final class DifferentialDiff extends DifferentialDAO {
|
||||
|
||||
protected $revisionID;
|
||||
protected $authorPHID;
|
||||
|
|
|
@ -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 DifferentialDiffProperty extends DifferentialDAO {
|
||||
final class DifferentialDiffProperty extends DifferentialDAO {
|
||||
|
||||
protected $diffID;
|
||||
protected $name;
|
||||
|
|
|
@ -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 DifferentialHunk extends DifferentialDAO {
|
||||
final class DifferentialHunk extends DifferentialDAO {
|
||||
|
||||
protected $changesetID;
|
||||
protected $changes;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class DifferentialInlineComment extends DifferentialDAO {
|
||||
final class DifferentialInlineComment extends DifferentialDAO {
|
||||
|
||||
protected $revisionID;
|
||||
protected $commentID;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class DifferentialRevision extends DifferentialDAO {
|
||||
final class DifferentialRevision extends DifferentialDAO {
|
||||
|
||||
protected $title;
|
||||
protected $status;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class DifferentialChangesetDetailView extends AphrontView {
|
||||
final class DifferentialChangesetDetailView extends AphrontView {
|
||||
|
||||
private $changeset;
|
||||
private $buttons = array();
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class DifferentialChangesetListView extends AphrontView {
|
||||
final class DifferentialChangesetListView extends AphrontView {
|
||||
|
||||
private $changesets = array();
|
||||
private $references = array();
|
||||
|
|
|
@ -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 DiffusionPathChangeQuery {
|
||||
final class DiffusionPathChangeQuery {
|
||||
|
||||
private $request;
|
||||
|
||||
|
|
|
@ -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,6 +16,10 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* TODO: This might need to be concrete-extensible, but straighten out the
|
||||
* class hierarchy here.
|
||||
*/
|
||||
class DiffusionRequest {
|
||||
|
||||
protected $callsign;
|
||||
|
|
|
@ -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 DiffusionGitRequest extends DiffusionRequest {
|
||||
final class DiffusionGitRequest extends DiffusionRequest {
|
||||
|
||||
protected function initializeFromAphrontRequestDictionary(array $data) {
|
||||
parent::initializeFromAphrontRequestDictionary($data);
|
||||
|
|
|
@ -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.
|
||||
|
@ -18,7 +18,7 @@
|
|||
|
||||
// TODO: This has some minor code duplication vs the Git request that could be
|
||||
// shared.
|
||||
class DiffusionMercurialRequest extends DiffusionRequest {
|
||||
final class DiffusionMercurialRequest extends DiffusionRequest {
|
||||
|
||||
protected function initializeFromAphrontRequestDictionary(array $data) {
|
||||
parent::initializeFromAphrontRequestDictionary($data);
|
||||
|
|
|
@ -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 DiffusionSvnRequest extends DiffusionRequest {
|
||||
final class DiffusionSvnRequest extends DiffusionRequest {
|
||||
|
||||
protected function initializeFromAphrontRequestDictionary(array $data) {
|
||||
parent::initializeFromAphrontRequestDictionary($data);
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue