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