mirror of
https://we.phorge.it/source/phorge.git
synced 2025-03-24 18:20:14 +01:00
Add "final" to (almost) everything else
Summary: Last of the big final patches. Left a few debatable classes (12 out of about 400) that I'll deal with individually eventually. Test Plan: Ran testEverythingImplemented. Reviewers: btrahan Reviewed By: btrahan CC: aran, epriestley Maniphest Tasks: T795 Differential Revision: https://secure.phabricator.com/D1881
This commit is contained in:
parent
7c9057854b
commit
d0af617818
182 changed files with 318 additions and 305 deletions
|
@ -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,9 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* TODO: Can we final this?
|
||||
*/
|
||||
class DatabaseConfigurationProvider {
|
||||
private $dao;
|
||||
private $mode;
|
||||
|
|
|
@ -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 PhabricatorConduitMethodCallLog extends PhabricatorConduitDAO {
|
||||
final class PhabricatorConduitMethodCallLog extends PhabricatorConduitDAO {
|
||||
|
||||
protected $connectionID;
|
||||
protected $method;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class HeraldCommitAdapter extends HeraldObjectAdapter {
|
||||
final class HeraldCommitAdapter extends HeraldObjectAdapter {
|
||||
|
||||
protected $diff;
|
||||
protected $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 HeraldDifferentialRevisionAdapter extends HeraldObjectAdapter {
|
||||
final class HeraldDifferentialRevisionAdapter extends HeraldObjectAdapter {
|
||||
|
||||
protected $revision;
|
||||
protected $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.
|
||||
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class HeraldDryRunAdapter extends HeraldObjectAdapter {
|
||||
final class HeraldDryRunAdapter extends HeraldObjectAdapter {
|
||||
|
||||
public function getPHID() {
|
||||
return 0;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class HeraldActionConfig {
|
||||
final class HeraldActionConfig {
|
||||
|
||||
const ACTION_ADD_CC = 'addcc';
|
||||
const ACTION_REMOVE_CC = 'remcc';
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class HeraldConditionConfig {
|
||||
final class HeraldConditionConfig {
|
||||
|
||||
const CONDITION_CONTAINS = 'contains';
|
||||
const CONDITION_NOT_CONTAINS = '!contains';
|
||||
|
|
|
@ -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 HeraldContentTypeConfig {
|
||||
final class HeraldContentTypeConfig {
|
||||
|
||||
const CONTENT_TYPE_DIFFERENTIAL = 'differential';
|
||||
const CONTENT_TYPE_COMMIT = 'commit';
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class HeraldFieldConfig {
|
||||
final class HeraldFieldConfig {
|
||||
|
||||
const FIELD_TITLE = 'title';
|
||||
const FIELD_BODY = 'body';
|
||||
|
|
|
@ -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 HeraldRepetitionPolicyConfig {
|
||||
final class HeraldRepetitionPolicyConfig {
|
||||
const FIRST = 'first'; // only execute the first time (no repeating)
|
||||
const EVERY = 'every'; // repeat every time
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class HeraldRuleTypeConfig {
|
||||
final class HeraldRuleTypeConfig {
|
||||
|
||||
const RULE_TYPE_GLOBAL = 'global';
|
||||
const RULE_TYPE_PERSONAL = 'personal';
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class HeraldValueTypeConfig {
|
||||
final class HeraldValueTypeConfig {
|
||||
|
||||
const VALUE_TEXT = 'text';
|
||||
const VALUE_NONE = 'none';
|
||||
|
|
|
@ -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 HeraldEffect {
|
||||
final class HeraldEffect {
|
||||
|
||||
protected $objectPHID;
|
||||
protected $action;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class HeraldEngine {
|
||||
final class HeraldEngine {
|
||||
|
||||
protected $rules = array();
|
||||
protected $results = 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,4 +16,4 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class HeraldInvalidConditionException extends Exception {}
|
||||
final class HeraldInvalidConditionException 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,4 +16,4 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class HeraldInvalidFieldException extends Exception {}
|
||||
final class HeraldInvalidFieldException 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,4 +16,4 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class HeraldRecursiveConditionsException extends Exception {}
|
||||
final class HeraldRecursiveConditionsException 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 HeraldAction extends HeraldDAO {
|
||||
final class HeraldAction extends HeraldDAO {
|
||||
|
||||
protected $ruleID;
|
||||
|
||||
|
|
|
@ -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 HeraldCondition extends HeraldDAO {
|
||||
final class HeraldCondition extends HeraldDAO {
|
||||
|
||||
protected $ruleID;
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class HeraldRuleEdit extends HeraldDAO {
|
||||
final class HeraldRuleEdit extends HeraldDAO {
|
||||
|
||||
protected $editorPHID;
|
||||
protected $ruleID;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class HeraldRule extends HeraldDAO {
|
||||
final class HeraldRule extends HeraldDAO {
|
||||
|
||||
const TABLE_RULE_APPLIED = 'herald_ruleapplied';
|
||||
|
||||
|
|
|
@ -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 HeraldApplyTranscript extends HeraldDAO {
|
||||
final class HeraldApplyTranscript extends HeraldDAO {
|
||||
|
||||
protected $action;
|
||||
protected $target;
|
||||
|
|
|
@ -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 HeraldTranscript extends HeraldDAO {
|
||||
final class HeraldTranscript extends HeraldDAO {
|
||||
|
||||
protected $id;
|
||||
protected $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 HeraldConditionTranscript {
|
||||
final class HeraldConditionTranscript {
|
||||
|
||||
protected $ruleID;
|
||||
protected $conditionID;
|
||||
|
|
|
@ -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 HeraldObjectTranscript {
|
||||
final class HeraldObjectTranscript {
|
||||
|
||||
protected $phid;
|
||||
protected $type;
|
||||
|
|
|
@ -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 HeraldRuleTranscript {
|
||||
final class HeraldRuleTranscript {
|
||||
|
||||
protected $ruleID;
|
||||
protected $result;
|
||||
|
|
|
@ -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,6 +19,6 @@
|
|||
/**
|
||||
* @group maniphest
|
||||
*/
|
||||
class ManiphestAuxiliaryFieldTypeException extends Exception {
|
||||
final class ManiphestAuxiliaryFieldTypeException 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.
|
||||
|
@ -19,6 +19,6 @@
|
|||
/**
|
||||
* @group maniphest
|
||||
*/
|
||||
class ManiphestAuxiliaryFieldValidationException extends Exception {
|
||||
final class ManiphestAuxiliaryFieldValidationException 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.
|
||||
|
@ -19,7 +19,7 @@
|
|||
/**
|
||||
* @group maniphest
|
||||
*/
|
||||
class ManiphestAction extends PhrictionConstants {
|
||||
final class ManiphestAction extends PhrictionConstants {
|
||||
|
||||
const ACTION_CREATE = 'create';
|
||||
const ACTION_CLOSE = 'close';
|
||||
|
|
|
@ -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,6 +19,6 @@
|
|||
/**
|
||||
* @group maniphest
|
||||
*/
|
||||
class ManiphestConstants {
|
||||
abstract class ManiphestConstants {
|
||||
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
/**
|
||||
* @group maniphest
|
||||
*/
|
||||
class ManiphestTransactionEditor {
|
||||
final class ManiphestTransactionEditor {
|
||||
|
||||
private $parentMessageID;
|
||||
private $auxiliaryFields = 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 maniphest
|
||||
*/
|
||||
class ManiphestReplyHandler extends PhabricatorMailReplyHandler {
|
||||
final class ManiphestReplyHandler extends PhabricatorMailReplyHandler {
|
||||
|
||||
public function validateMailReceiver($mail_receiver) {
|
||||
if (!($mail_receiver instanceof ManiphestTask)) {
|
||||
|
|
|
@ -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 ManiphestTaskAuxiliaryStorage extends ManiphestDAO {
|
||||
final class ManiphestTaskAuxiliaryStorage extends ManiphestDAO {
|
||||
|
||||
protected $taskPHID;
|
||||
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.
|
||||
|
@ -19,7 +19,7 @@
|
|||
/**
|
||||
* @group maniphest
|
||||
*/
|
||||
class ManiphestDAO extends PhabricatorLiskDAO {
|
||||
abstract class ManiphestDAO extends PhabricatorLiskDAO {
|
||||
|
||||
public function getApplicationName() {
|
||||
return 'maniphest';
|
||||
|
|
|
@ -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 ManiphestTask extends ManiphestDAO {
|
||||
final class ManiphestTask extends ManiphestDAO {
|
||||
|
||||
protected $phid;
|
||||
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.
|
||||
|
@ -19,7 +19,7 @@
|
|||
/**
|
||||
* @group maniphest
|
||||
*/
|
||||
class ManiphestTransaction extends ManiphestDAO {
|
||||
final class ManiphestTransaction extends ManiphestDAO {
|
||||
|
||||
protected $taskID;
|
||||
protected $authorPHID;
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
/**
|
||||
* @group maniphest
|
||||
*/
|
||||
class ManiphestTaskListView extends ManiphestView {
|
||||
final class ManiphestTaskListView extends ManiphestView {
|
||||
|
||||
private $tasks;
|
||||
private $handles;
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
/**
|
||||
* @group maniphest
|
||||
*/
|
||||
class ManiphestTaskSummaryView extends ManiphestView {
|
||||
final class ManiphestTaskSummaryView extends ManiphestView {
|
||||
|
||||
private $task;
|
||||
private $handles;
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
/**
|
||||
* @group maniphest
|
||||
*/
|
||||
class ManiphestTransactionDetailView extends ManiphestView {
|
||||
final class ManiphestTransactionDetailView extends ManiphestView {
|
||||
|
||||
private $transactions;
|
||||
private $handles;
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
/**
|
||||
* @group maniphest
|
||||
*/
|
||||
class ManiphestTransactionListView extends ManiphestView {
|
||||
final class ManiphestTransactionListView extends ManiphestView {
|
||||
|
||||
private $transactions;
|
||||
private $handles;
|
||||
|
|
|
@ -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 PhabricatorMailImplementationAmazonSESAdapter
|
||||
final class PhabricatorMailImplementationAmazonSESAdapter
|
||||
extends PhabricatorMailImplementationPHPMailerLiteAdapter {
|
||||
|
||||
private $message;
|
||||
|
|
|
@ -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,9 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* TODO: Should be final, but inherited by SES.
|
||||
*/
|
||||
class PhabricatorMailImplementationPHPMailerLiteAdapter
|
||||
extends PhabricatorMailImplementationAdapter {
|
||||
|
||||
|
|
|
@ -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 @@
|
|||
/**
|
||||
* Mail adapter that uses SendGrid's web API to deliver email.
|
||||
*/
|
||||
class PhabricatorMailImplementationSendGridAdapter
|
||||
final class PhabricatorMailImplementationSendGridAdapter
|
||||
extends PhabricatorMailImplementationAdapter {
|
||||
|
||||
private $params = 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.
|
||||
|
@ -20,7 +20,7 @@
|
|||
* Mail adapter that doesn't actually send any email, for writing unit tests
|
||||
* against.
|
||||
*/
|
||||
class PhabricatorMailImplementationTestAdapter
|
||||
final class PhabricatorMailImplementationTestAdapter
|
||||
extends PhabricatorMailImplementationAdapter {
|
||||
|
||||
private $guts = array();
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorMetaMTAAttachment {
|
||||
final class PhabricatorMetaMTAAttachment {
|
||||
protected $data;
|
||||
protected $filename;
|
||||
protected $mimetype;
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
/**
|
||||
* See #394445 for an explanation of why this thing even exists.
|
||||
*/
|
||||
class PhabricatorMetaMTAMail extends PhabricatorMetaMTADAO {
|
||||
final class PhabricatorMetaMTAMail extends PhabricatorMetaMTADAO {
|
||||
|
||||
const STATUS_QUEUE = 'queued';
|
||||
const STATUS_SENT = 'sent';
|
||||
|
|
|
@ -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 PhabricatorMetaMTAMailTestCase extends PhabricatorTestCase {
|
||||
final class PhabricatorMetaMTAMailTestCase extends PhabricatorTestCase {
|
||||
|
||||
public function testThreadIDHeaders() {
|
||||
$this->runThreadIDHeadersWithConfiguration(true, true);
|
||||
|
|
|
@ -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 PhabricatorMetaMTAMailingList extends PhabricatorMetaMTADAO {
|
||||
final class PhabricatorMetaMTAMailingList extends PhabricatorMetaMTADAO {
|
||||
|
||||
protected $name;
|
||||
protected $phid;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorMetaMTAReceivedMail extends PhabricatorMetaMTADAO {
|
||||
final class PhabricatorMetaMTAReceivedMail extends PhabricatorMetaMTADAO {
|
||||
|
||||
protected $headers = array();
|
||||
protected $bodies = 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 PhabricatorOwnerPathQuery {
|
||||
final class PhabricatorOwnerPathQuery {
|
||||
|
||||
public static function loadAffectedPaths(
|
||||
PhabricatorRepository $repository,
|
||||
|
|
|
@ -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 PhabricatorOwnersOwner extends PhabricatorOwnersDAO {
|
||||
final class PhabricatorOwnersOwner extends PhabricatorOwnersDAO {
|
||||
|
||||
protected $packageID;
|
||||
protected $userPHID;
|
||||
|
|
|
@ -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 PhabricatorOwnersPackage extends PhabricatorOwnersDAO {
|
||||
final class PhabricatorOwnersPackage extends PhabricatorOwnersDAO {
|
||||
|
||||
protected $phid;
|
||||
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 PhabricatorOwnersPath extends PhabricatorOwnersDAO {
|
||||
final class PhabricatorOwnersPath extends PhabricatorOwnersDAO {
|
||||
|
||||
protected $packageID;
|
||||
protected $repositoryPHID;
|
||||
|
|
|
@ -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 PhabricatorPaste extends PhabricatorPasteDAO {
|
||||
final class PhabricatorPaste extends PhabricatorPasteDAO {
|
||||
|
||||
protected $phid;
|
||||
protected $title;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorUserLog extends PhabricatorUserDAO {
|
||||
final class PhabricatorUserLog extends PhabricatorUserDAO {
|
||||
|
||||
const ACTION_LOGIN = 'login';
|
||||
const ACTION_LOGOUT = 'logout';
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorUserPreferences extends PhabricatorUserDAO {
|
||||
final class PhabricatorUserPreferences extends PhabricatorUserDAO {
|
||||
|
||||
const PREFERENCE_MONOSPACED = 'monospaced';
|
||||
const PREFERENCE_EDITOR = 'editor';
|
||||
|
|
|
@ -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 PhabricatorUserProfile extends PhabricatorUserDAO {
|
||||
final class PhabricatorUserProfile extends PhabricatorUserDAO {
|
||||
|
||||
protected $userPHID;
|
||||
protected $title;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorUser extends PhabricatorUserDAO {
|
||||
final class PhabricatorUser extends PhabricatorUserDAO {
|
||||
|
||||
const SESSION_TABLE = 'phabricator_session';
|
||||
const NAMETOKEN_TABLE = 'user_nametoken';
|
||||
|
|
|
@ -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 PhabricatorUserOAuthInfo extends PhabricatorUserDAO {
|
||||
final class PhabricatorUserOAuthInfo extends PhabricatorUserDAO {
|
||||
|
||||
const TOKEN_STATUS_NONE = 'none';
|
||||
const TOKEN_STATUS_GOOD = 'good';
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorUserSSHKey extends PhabricatorUserDAO {
|
||||
final class PhabricatorUserSSHKey extends PhabricatorUserDAO {
|
||||
|
||||
protected $userPHID;
|
||||
protected $name;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorObjectHandle {
|
||||
final class PhabricatorObjectHandle {
|
||||
|
||||
private $uri;
|
||||
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 PhabricatorObjectHandleStatus
|
||||
final class PhabricatorObjectHandleStatus
|
||||
extends PhabricatorObjectHandleConstants {
|
||||
|
||||
const STATUS_OPEN = 'open';
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorObjectHandleData {
|
||||
final class PhabricatorObjectHandleData {
|
||||
|
||||
private $phids;
|
||||
|
||||
|
|
|
@ -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 PhabricatorHandleObjectSelectorDataView {
|
||||
final class PhabricatorHandleObjectSelectorDataView {
|
||||
|
||||
private $handle;
|
||||
|
||||
|
|
|
@ -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 PhabricatorPHIDDAO extends PhabricatorLiskDAO {
|
||||
abstract class PhabricatorPHIDDAO extends PhabricatorLiskDAO {
|
||||
|
||||
public function getApplicationName() {
|
||||
return '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 PhabricatorPHID extends PhabricatorPHIDDAO {
|
||||
final class PhabricatorPHID extends PhabricatorPHIDDAO {
|
||||
|
||||
protected $phid;
|
||||
protected $phidType;
|
||||
|
|
|
@ -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 phriction
|
||||
*/
|
||||
class PhrictionActionConstants extends PhrictionConstants {
|
||||
final class PhrictionActionConstants extends PhrictionConstants {
|
||||
|
||||
const ACTION_CREATE = 'create';
|
||||
const ACTION_EDIT = 'edit';
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
/**
|
||||
* @group phriction
|
||||
*/
|
||||
class PhrictionContent extends PhrictionDAO {
|
||||
final class PhrictionContent extends PhrictionDAO {
|
||||
|
||||
protected $id;
|
||||
protected $documentID;
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
/**
|
||||
* @group phriction
|
||||
*/
|
||||
class PhrictionDocument extends PhrictionDAO {
|
||||
final class PhrictionDocument extends PhrictionDAO {
|
||||
|
||||
protected $id;
|
||||
protected $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.
|
||||
|
@ -19,7 +19,7 @@
|
|||
/**
|
||||
* @group phriction
|
||||
*/
|
||||
class PhrictionDocumentTestCase extends PhabricatorTestCase {
|
||||
final class PhrictionDocumentTestCase extends PhabricatorTestCase {
|
||||
|
||||
public function testSlugNormalization() {
|
||||
$slugs = 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 PhabricatorProjectAffiliation extends PhabricatorProjectDAO {
|
||||
final class PhabricatorProjectAffiliation extends PhabricatorProjectDAO {
|
||||
|
||||
protected $projectPHID;
|
||||
protected $userPHID;
|
||||
|
|
|
@ -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 PhabricatorProjectDAO extends PhabricatorLiskDAO {
|
||||
abstract class PhabricatorProjectDAO extends PhabricatorLiskDAO {
|
||||
|
||||
public function getApplicationName() {
|
||||
return 'project';
|
||||
|
|
|
@ -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 PhabricatorProjectProfile extends PhabricatorProjectDAO {
|
||||
final class PhabricatorProjectProfile extends PhabricatorProjectDAO {
|
||||
|
||||
protected $projectPHID;
|
||||
protected $blurb;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorProject extends PhabricatorProjectDAO {
|
||||
final class PhabricatorProject extends PhabricatorProjectDAO {
|
||||
|
||||
protected $name;
|
||||
protected $phid;
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
/**
|
||||
* @group project
|
||||
*/
|
||||
class PhabricatorProjectTransaction extends PhabricatorProjectDAO {
|
||||
final class PhabricatorProjectTransaction extends PhabricatorProjectDAO {
|
||||
|
||||
protected $projectID;
|
||||
protected $authorPHID;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorRepositoryGitCommitDiscoveryDaemon
|
||||
final class PhabricatorRepositoryGitCommitDiscoveryDaemon
|
||||
extends PhabricatorRepositoryCommitDiscoveryDaemon {
|
||||
|
||||
protected function discoverCommits() {
|
||||
|
|
|
@ -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 PhabricatorRepositoryMercurialCommitDiscoveryDaemon
|
||||
final class PhabricatorRepositoryMercurialCommitDiscoveryDaemon
|
||||
extends PhabricatorRepositoryCommitDiscoveryDaemon {
|
||||
|
||||
protected function discoverCommits() {
|
||||
|
|
|
@ -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 PhabricatorRepositorySvnCommitDiscoveryDaemon
|
||||
final class PhabricatorRepositorySvnCommitDiscoveryDaemon
|
||||
extends PhabricatorRepositoryCommitDiscoveryDaemon {
|
||||
|
||||
protected function discoverCommits() {
|
||||
|
|
|
@ -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 PhabricatorRepositoryCommitTaskDaemon
|
||||
final class PhabricatorRepositoryCommitTaskDaemon
|
||||
extends PhabricatorRepositoryDaemon {
|
||||
|
||||
final public function run() {
|
||||
|
|
|
@ -16,6 +16,9 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* TODO: Facebook extends this (I think?), but should it?
|
||||
*/
|
||||
class PhabricatorRepositoryDefaultCommitMessageDetailParser
|
||||
extends PhabricatorRepositoryCommitMessageDetailParser {
|
||||
|
||||
|
|
|
@ -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 PhabricatorRepositoryArcanistProject
|
||||
final class PhabricatorRepositoryArcanistProject
|
||||
extends PhabricatorRepositoryDAO {
|
||||
|
||||
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 PhabricatorRepositoryDAO extends PhabricatorLiskDAO {
|
||||
abstract class PhabricatorRepositoryDAO extends PhabricatorLiskDAO {
|
||||
|
||||
public function getApplicationName() {
|
||||
return 'repository';
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorRepositoryCommit extends PhabricatorRepositoryDAO {
|
||||
final class PhabricatorRepositoryCommit extends PhabricatorRepositoryDAO {
|
||||
|
||||
protected $repositoryID;
|
||||
protected $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 PhabricatorRepositoryCommitData extends PhabricatorRepositoryDAO {
|
||||
final class PhabricatorRepositoryCommitData extends PhabricatorRepositoryDAO {
|
||||
|
||||
const SUMMARY_MAX_LENGTH = 100;
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorRepository extends PhabricatorRepositoryDAO {
|
||||
final class PhabricatorRepository extends PhabricatorRepositoryDAO {
|
||||
|
||||
const TABLE_PATH = 'repository_path';
|
||||
const TABLE_PATHCHANGE = 'repository_pathchange';
|
||||
|
|
|
@ -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 PhabricatorRepositoryShortcut extends PhabricatorRepositoryDAO {
|
||||
final class PhabricatorRepositoryShortcut extends PhabricatorRepositoryDAO {
|
||||
|
||||
protected $name;
|
||||
protected $href;
|
||||
|
|
|
@ -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,6 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* Records information about symbol locations in a codebase, like where classes
|
||||
* and functions are defined.
|
||||
|
@ -25,7 +24,7 @@
|
|||
*
|
||||
* @group diffusion
|
||||
*/
|
||||
class PhabricatorRepositorySymbol extends PhabricatorRepositoryDAO {
|
||||
final class PhabricatorRepositorySymbol extends PhabricatorRepositoryDAO {
|
||||
|
||||
protected $arcanistProjectID;
|
||||
protected $symbolName;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorRepositoryGitCommitChangeParserWorker
|
||||
final class PhabricatorRepositoryGitCommitChangeParserWorker
|
||||
extends PhabricatorRepositoryCommitChangeParserWorker {
|
||||
|
||||
protected function parseCommit(
|
||||
|
|
|
@ -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 PhabricatorRepositoryMercurialCommitChangeParserWorker
|
||||
final class PhabricatorRepositoryMercurialCommitChangeParserWorker
|
||||
extends PhabricatorRepositoryCommitChangeParserWorker {
|
||||
|
||||
protected function parseCommit(
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorRepositoryGitCommitMessageParserWorker
|
||||
final class PhabricatorRepositoryGitCommitMessageParserWorker
|
||||
extends PhabricatorRepositoryCommitMessageParserWorker {
|
||||
|
||||
public function parseCommit(
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorRepositoryMercurialCommitMessageParserWorker
|
||||
final class PhabricatorRepositoryMercurialCommitMessageParserWorker
|
||||
extends PhabricatorRepositoryCommitMessageParserWorker {
|
||||
|
||||
public function parseCommit(
|
||||
|
|
|
@ -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 PhabricatorRepositorySvnCommitMessageParserWorker
|
||||
final class PhabricatorRepositorySvnCommitMessageParserWorker
|
||||
extends PhabricatorRepositoryCommitMessageParserWorker {
|
||||
|
||||
public function parseCommit(
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorRepositoryCommitHeraldWorker
|
||||
final class PhabricatorRepositoryCommitHeraldWorker
|
||||
extends PhabricatorRepositoryCommitParserWorker {
|
||||
|
||||
public function parseCommit(
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorRepositoryCommitOwnersWorker
|
||||
final class PhabricatorRepositoryCommitOwnersWorker
|
||||
extends PhabricatorRepositoryCommitParserWorker {
|
||||
|
||||
protected function parseCommit(
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
/**
|
||||
* @group search
|
||||
*/
|
||||
class PhabricatorSearchDifferentialIndexer
|
||||
final class PhabricatorSearchDifferentialIndexer
|
||||
extends PhabricatorSearchDocumentIndexer {
|
||||
|
||||
public static function indexRevision(DifferentialRevision $rev) {
|
||||
|
|
|
@ -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 search
|
||||
*/
|
||||
class PhabricatorSearchManiphestIndexer
|
||||
final class PhabricatorSearchManiphestIndexer
|
||||
extends PhabricatorSearchDocumentIndexer {
|
||||
|
||||
public static function indexTask(ManiphestTask $task) {
|
||||
|
|
|
@ -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 search
|
||||
*/
|
||||
class PhabricatorSearchPhrictionIndexer
|
||||
final class PhabricatorSearchPhrictionIndexer
|
||||
extends PhabricatorSearchDocumentIndexer {
|
||||
|
||||
public static function indexDocument(PhrictionDocument $document) {
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
/**
|
||||
* @group search
|
||||
*/
|
||||
class PhabricatorSearchCommitIndexer
|
||||
final class PhabricatorSearchCommitIndexer
|
||||
extends PhabricatorSearchDocumentIndexer {
|
||||
|
||||
public static function indexCommit(PhabricatorRepositoryCommit $commit) {
|
||||
|
|
|
@ -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 search
|
||||
*/
|
||||
class PhabricatorSearchUserIndexer
|
||||
final class PhabricatorSearchUserIndexer
|
||||
extends PhabricatorSearchDocumentIndexer {
|
||||
|
||||
public static function indexUser(PhabricatorUser $user) {
|
||||
|
|
|
@ -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 search
|
||||
*/
|
||||
class PhabricatorSearchDocument extends PhabricatorSearchDAO {
|
||||
final class PhabricatorSearchDocument extends PhabricatorSearchDAO {
|
||||
|
||||
protected $phid;
|
||||
protected $documentType;
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue