1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-27 01:02:42 +01:00

Fix visiblity of LiskDAO::getConfiguration()

Summary: Ref T6822.

Test Plan: `grep`

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: hach-que, Korvin, epriestley

Maniphest Tasks: T6822

Differential Revision: https://secure.phabricator.com/D11370
This commit is contained in:
Joshua Spence 2015-01-14 06:47:05 +11:00
parent 8cfc37f8fc
commit d6b882a804
181 changed files with 181 additions and 181 deletions

View file

@ -25,7 +25,7 @@ final class AlmanacBinding
->attachAlmanacProperties(array()); ->attachAlmanacProperties(array());
} }
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_AUX_PHID => true, self::CONFIG_AUX_PHID => true,
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(

View file

@ -29,7 +29,7 @@ final class AlmanacDevice
->setIsLocked(0); ->setIsLocked(0);
} }
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_AUX_PHID => true, self::CONFIG_AUX_PHID => true,
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(

View file

@ -18,7 +18,7 @@ final class AlmanacInterface
return id(new AlmanacInterface()); return id(new AlmanacInterface());
} }
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_AUX_PHID => true, self::CONFIG_AUX_PHID => true,
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(

View file

@ -18,7 +18,7 @@ final class AlmanacNetwork
->setEditPolicy(PhabricatorPolicies::POLICY_ADMIN); ->setEditPolicy(PhabricatorPolicies::POLICY_ADMIN);
} }
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_AUX_PHID => true, self::CONFIG_AUX_PHID => true,
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(

View file

@ -12,7 +12,7 @@ final class AlmanacProperty
return 'almanac'; return 'almanac';
} }
public function getConfiguration() { protected function getConfiguration() {
$config = parent::getConfiguration(); $config = parent::getConfiguration();
$config[self::CONFIG_COLUMN_SCHEMA] += array( $config[self::CONFIG_COLUMN_SCHEMA] += array(

View file

@ -31,7 +31,7 @@ final class AlmanacService
->setIsLocked(0); ->setIsLocked(0);
} }
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_AUX_PHID => true, self::CONFIG_AUX_PHID => true,
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(

View file

@ -22,7 +22,7 @@ final class PhabricatorAuditTransactionComment
return ($this->getTransactionPHID() != null); return ($this->getTransactionPHID() != null);
} }
public function getConfiguration() { protected function getConfiguration() {
$config = parent::getConfiguration(); $config = parent::getConfiguration();
$config[self::CONFIG_COLUMN_SCHEMA] = array( $config[self::CONFIG_COLUMN_SCHEMA] = array(

View file

@ -8,7 +8,7 @@ final class PhabricatorAuthFactorConfig extends PhabricatorAuthDAO {
protected $factorSecret; protected $factorSecret;
protected $properties = array(); protected $properties = array();
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_SERIALIZATION => array( self::CONFIG_SERIALIZATION => array(
'properties' => self::SERIALIZATION_JSON, 'properties' => self::SERIALIZATION_JSON,

View file

@ -26,7 +26,7 @@ final class PhabricatorAuthProviderConfig
PhabricatorAuthAuthProviderPHIDType::TYPECONST); PhabricatorAuthAuthProviderPHIDType::TYPECONST);
} }
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_AUX_PHID => true, self::CONFIG_AUX_PHID => true,
self::CONFIG_SERIALIZATION => array( self::CONFIG_SERIALIZATION => array(

View file

@ -14,7 +14,7 @@ final class PhabricatorAuthSSHKey
private $object = self::ATTACHABLE; private $object = self::ATTACHABLE;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(
'name' => 'text255', 'name' => 'text255',

View file

@ -16,7 +16,7 @@ final class PhabricatorAuthSession extends PhabricatorAuthDAO
private $identityObject = self::ATTACHABLE; private $identityObject = self::ATTACHABLE;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_TIMESTAMPS => false, self::CONFIG_TIMESTAMPS => false,
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(

View file

@ -11,7 +11,7 @@ final class PhabricatorAuthTemporaryToken extends PhabricatorAuthDAO
protected $tokenExpires; protected $tokenExpires;
protected $tokenCode; protected $tokenCode;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_TIMESTAMPS => false, self::CONFIG_TIMESTAMPS => false,
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(

View file

@ -6,7 +6,7 @@ final class PhabricatorMarkupCache extends PhabricatorCacheDAO {
protected $cacheData; protected $cacheData;
protected $metadata; protected $metadata;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_SERIALIZATION => array( self::CONFIG_SERIALIZATION => array(
'cacheData' => self::SERIALIZATION_PHP, 'cacheData' => self::SERIALIZATION_PHP,

View file

@ -34,7 +34,7 @@ final class PhabricatorCalendarEvent
return $options[$this->status]; return $options[$this->status];
} }
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_AUX_PHID => true, self::CONFIG_AUX_PHID => true,
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(

View file

@ -5,7 +5,7 @@ final class PhabricatorCalendarHoliday extends PhabricatorCalendarDAO {
protected $day; protected $day;
protected $name; protected $name;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_TIMESTAMPS => false, self::CONFIG_TIMESTAMPS => false,
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(

View file

@ -10,7 +10,7 @@ final class PhabricatorChatLogChannel
protected $viewPolicy; protected $viewPolicy;
protected $editPolicy; protected $editPolicy;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(
'serviceName' => 'text64', 'serviceName' => 'text64',

View file

@ -13,7 +13,7 @@ final class PhabricatorChatLogEvent
private $channel = self::ATTACHABLE; private $channel = self::ATTACHABLE;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_TIMESTAMPS => false, self::CONFIG_TIMESTAMPS => false,
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(

View file

@ -5,7 +5,7 @@ final class PhabricatorConduitCertificateToken extends PhabricatorConduitDAO {
protected $userPHID; protected $userPHID;
protected $token; protected $token;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(
'token' => 'text64?', 'token' => 'text64?',

View file

@ -7,7 +7,7 @@ final class PhabricatorConduitConnectionLog extends PhabricatorConduitDAO {
protected $clientDescription; protected $clientDescription;
protected $username; protected $username;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(
'client' => 'text255?', 'client' => 'text255?',

View file

@ -10,7 +10,7 @@ final class PhabricatorConduitMethodCallLog
protected $error; protected $error;
protected $duration; protected $duration;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(
'id' => 'auto64', 'id' => 'auto64',

View file

@ -15,7 +15,7 @@ final class PhabricatorConduitToken
const TYPE_COMMANDLINE = 'cli'; const TYPE_COMMANDLINE = 'cli';
const TYPE_CLUSTER = 'clr'; const TYPE_CLUSTER = 'clr';
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(
'tokenType' => 'text32', 'tokenType' => 'text32',

View file

@ -11,7 +11,7 @@ final class PhabricatorConfigEntry
protected $value; protected $value;
protected $isDeleted; protected $isDeleted;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_AUX_PHID => true, self::CONFIG_AUX_PHID => true,
self::CONFIG_SERIALIZATION => array( self::CONFIG_SERIALIZATION => array(

View file

@ -8,7 +8,7 @@ final class ConpherenceIndex
protected $previousTransactionPHID; protected $previousTransactionPHID;
protected $corpus; protected $corpus;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_TIMESTAMPS => false, self::CONFIG_TIMESTAMPS => false,
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(

View file

@ -10,7 +10,7 @@ final class ConpherenceParticipant extends ConpherenceDAO {
protected $dateTouched; protected $dateTouched;
protected $settings = array(); protected $settings = array();
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_SERIALIZATION => array( self::CONFIG_SERIALIZATION => array(
'settings' => self::SERIALIZATION_JSON, 'settings' => self::SERIALIZATION_JSON,

View file

@ -21,7 +21,7 @@ final class ConpherenceThread extends ConpherenceDAO
->setTitle(''); ->setTitle('');
} }
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_AUX_PHID => true, self::CONFIG_AUX_PHID => true,
self::CONFIG_SERIALIZATION => array( self::CONFIG_SERIALIZATION => array(

View file

@ -9,7 +9,7 @@ final class ConpherenceTransactionComment
return new ConpherenceTransaction(); return new ConpherenceTransaction();
} }
public function getConfiguration() { protected function getConfiguration() {
$config = parent::getConfiguration(); $config = parent::getConfiguration();
$config[self::CONFIG_COLUMN_SCHEMA] = array( $config[self::CONFIG_COLUMN_SCHEMA] = array(

View file

@ -24,7 +24,7 @@ final class PhabricatorCountdown
->setEpoch(PhabricatorTime::getNow()); ->setEpoch(PhabricatorTime::getNow());
} }
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_AUX_PHID => true, self::CONFIG_AUX_PHID => true,
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(

View file

@ -19,7 +19,7 @@ final class PhabricatorDaemonLog extends PhabricatorDaemonDAO
protected $envHash; protected $envHash;
protected $status; protected $status;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_SERIALIZATION => array( self::CONFIG_SERIALIZATION => array(
'argv' => self::SERIALIZATION_JSON, 'argv' => self::SERIALIZATION_JSON,

View file

@ -7,7 +7,7 @@ final class PhabricatorDaemonLogEvent extends PhabricatorDaemonDAO {
protected $message; protected $message;
protected $epoch; protected $epoch;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_TIMESTAMPS => false, self::CONFIG_TIMESTAMPS => false,
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(

View file

@ -36,7 +36,7 @@ final class PhabricatorDashboard extends PhabricatorDashboardDAO
return $dst; return $dst;
} }
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_AUX_PHID => true, self::CONFIG_AUX_PHID => true,
self::CONFIG_SERIALIZATION => array( self::CONFIG_SERIALIZATION => array(

View file

@ -14,7 +14,7 @@ final class PhabricatorDashboardInstall
protected $applicationClass; protected $applicationClass;
protected $dashboardPHID; protected $dashboardPHID;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(
'applicationClass' => 'text64', 'applicationClass' => 'text64',

View file

@ -38,7 +38,7 @@ final class PhabricatorDashboardPanel
return $dst; return $dst;
} }
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_AUX_PHID => true, self::CONFIG_AUX_PHID => true,
self::CONFIG_SERIALIZATION => array( self::CONFIG_SERIALIZATION => array(

View file

@ -11,7 +11,7 @@ final class DifferentialAffectedPath extends DifferentialDAO {
protected $epoch; protected $epoch;
protected $revisionID; protected $revisionID;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_TIMESTAMPS => false, self::CONFIG_TIMESTAMPS => false,
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(

View file

@ -41,7 +41,7 @@ final class DifferentialDiff
private $revision = self::ATTACHABLE; private $revision = self::ATTACHABLE;
private $properties = array(); private $properties = array();
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_AUX_PHID => true, self::CONFIG_AUX_PHID => true,
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(

View file

@ -6,7 +6,7 @@ final class DifferentialDraft extends DifferentialDAO {
protected $authorPHID; protected $authorPHID;
protected $draftKey; protected $draftKey;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(
'draftKey' => 'text64', 'draftKey' => 'text64',

View file

@ -4,7 +4,7 @@ final class DifferentialHunkLegacy extends DifferentialHunk {
protected $changes; protected $changes;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(
'changes' => 'text?', 'changes' => 'text?',

View file

@ -20,7 +20,7 @@ final class DifferentialHunkModern extends DifferentialHunk {
return 'differential_hunk_modern'; return 'differential_hunk_modern';
} }
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_BINARY => array( self::CONFIG_BINARY => array(
'data' => true, 'data' => true,

View file

@ -67,7 +67,7 @@ final class DifferentialRevision extends DifferentialDAO
->setStatus(ArcanistDifferentialRevisionStatus::NEEDS_REVIEW); ->setStatus(ArcanistDifferentialRevisionStatus::NEEDS_REVIEW);
} }
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_AUX_PHID => true, self::CONFIG_AUX_PHID => true,
self::CONFIG_SERIALIZATION => array( self::CONFIG_SERIALIZATION => array(

View file

@ -16,7 +16,7 @@ final class DifferentialTransactionComment
return new DifferentialTransaction(); return new DifferentialTransaction();
} }
public function getConfiguration() { protected function getConfiguration() {
$config = parent::getConfiguration(); $config = parent::getConfiguration();
$config[self::CONFIG_COLUMN_SCHEMA] = array( $config[self::CONFIG_COLUMN_SCHEMA] = array(
'revisionPHID' => 'phid?', 'revisionPHID' => 'phid?',

View file

@ -6,7 +6,7 @@ final class DivinerLiveAtom extends DivinerDAO {
protected $content; protected $content;
protected $atomData; protected $atomData;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_TIMESTAMPS => false, self::CONFIG_TIMESTAMPS => false,
self::CONFIG_SERIALIZATION => array( self::CONFIG_SERIALIZATION => array(

View file

@ -7,7 +7,7 @@ final class DivinerLiveBook extends DivinerDAO
protected $viewPolicy; protected $viewPolicy;
protected $configurationData = array(); protected $configurationData = array();
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_AUX_PHID => true, self::CONFIG_AUX_PHID => true,
self::CONFIG_SERIALIZATION => array( self::CONFIG_SERIALIZATION => array(

View file

@ -23,7 +23,7 @@ final class DivinerLiveSymbol extends DivinerDAO
private $extends = self::ATTACHABLE; private $extends = self::ATTACHABLE;
private $children = self::ATTACHABLE; private $children = self::ATTACHABLE;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_AUX_PHID => true, self::CONFIG_AUX_PHID => true,
self::CONFIG_TIMESTAMPS => false, self::CONFIG_TIMESTAMPS => false,

View file

@ -13,7 +13,7 @@ final class DoorkeeperExternalObject extends DoorkeeperDAO
protected $properties = array(); protected $properties = array();
protected $viewPolicy; protected $viewPolicy;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_AUX_PHID => true, self::CONFIG_AUX_PHID => true,
self::CONFIG_SERIALIZATION => array( self::CONFIG_SERIALIZATION => array(

View file

@ -9,7 +9,7 @@ final class PhabricatorDraft extends PhabricatorDraftDAO {
private $deleted = false; private $deleted = false;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_SERIALIZATION => array( self::CONFIG_SERIALIZATION => array(
'metadata' => self::SERIALIZATION_JSON, 'metadata' => self::SERIALIZATION_JSON,

View file

@ -32,7 +32,7 @@ final class DrydockBlueprint extends DrydockDAO
->setBlueprintName(''); ->setBlueprintName('');
} }
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_AUX_PHID => true, self::CONFIG_AUX_PHID => true,
self::CONFIG_SERIALIZATION => array( self::CONFIG_SERIALIZATION => array(

View file

@ -37,7 +37,7 @@ final class DrydockLease extends DrydockDAO
return pht('Lease %d', $this->getID()); return pht('Lease %d', $this->getID());
} }
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_AUX_PHID => true, self::CONFIG_AUX_PHID => true,
self::CONFIG_SERIALIZATION => array( self::CONFIG_SERIALIZATION => array(

View file

@ -11,7 +11,7 @@ final class DrydockLog extends DrydockDAO
private $resource = self::ATTACHABLE; private $resource = self::ATTACHABLE;
private $lease = self::ATTACHABLE; private $lease = self::ATTACHABLE;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_TIMESTAMPS => false, self::CONFIG_TIMESTAMPS => false,
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(

View file

@ -16,7 +16,7 @@ final class DrydockResource extends DrydockDAO
private $blueprint; private $blueprint;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_AUX_PHID => true, self::CONFIG_AUX_PHID => true,
self::CONFIG_SERIALIZATION => array( self::CONFIG_SERIALIZATION => array(

View file

@ -6,7 +6,7 @@ final class PhabricatorFactAggregate extends PhabricatorFactDAO {
protected $objectPHID; protected $objectPHID;
protected $valueX; protected $valueX;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(
'id' => 'auto64', 'id' => 'auto64',

View file

@ -5,7 +5,7 @@ final class PhabricatorFactCursor extends PhabricatorFactDAO {
protected $name; protected $name;
protected $position; protected $position;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(
'name' => 'text64', 'name' => 'text64',

View file

@ -6,7 +6,7 @@ abstract class PhabricatorFactDAO extends PhabricatorLiskDAO {
return 'fact'; return 'fact';
} }
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_TIMESTAMPS => false, self::CONFIG_TIMESTAMPS => false,
) + parent::getConfiguration(); ) + parent::getConfiguration();

View file

@ -12,7 +12,7 @@ final class PhabricatorFactRaw extends PhabricatorFactDAO {
protected $valueY; protected $valueY;
protected $epoch; protected $epoch;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(
'id' => 'auto64', 'id' => 'auto64',

View file

@ -9,7 +9,7 @@ final class PhabricatorFeedStoryData extends PhabricatorFeedDAO {
protected $authorPHID; protected $authorPHID;
protected $chronologicalKey; protected $chronologicalKey;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_AUX_PHID => true, self::CONFIG_AUX_PHID => true,
self::CONFIG_SERIALIZATION => array( self::CONFIG_SERIALIZATION => array(

View file

@ -5,7 +5,7 @@ final class PhabricatorFeedStoryReference extends PhabricatorFeedDAO {
protected $objectPHID; protected $objectPHID;
protected $chronologicalKey; protected $chronologicalKey;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_IDS => self::IDS_MANUAL, self::CONFIG_IDS => self::IDS_MANUAL,
self::CONFIG_TIMESTAMPS => false, self::CONFIG_TIMESTAMPS => false,

View file

@ -69,7 +69,7 @@ final class PhabricatorFile extends PhabricatorFileDAO
->attachObjectPHIDs(array()); ->attachObjectPHIDs(array());
} }
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_AUX_PHID => true, self::CONFIG_AUX_PHID => true,
self::CONFIG_SERIALIZATION => array( self::CONFIG_SERIALIZATION => array(

View file

@ -7,7 +7,7 @@ final class PhabricatorFileStorageBlob extends PhabricatorFileDAO {
protected $data; protected $data;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_BINARY => array( self::CONFIG_BINARY => array(
'data' => true, 'data' => true,

View file

@ -12,7 +12,7 @@ final class PhabricatorFileTransactionComment
return ($this->getTransactionPHID() != null); return ($this->getTransactionPHID() != null);
} }
public function getConfiguration() { protected function getConfiguration() {
$config = parent::getConfiguration(); $config = parent::getConfiguration();
$config[self::CONFIG_KEY_SCHEMA] = array( $config[self::CONFIG_KEY_SCHEMA] = array(
'key_draft' => array( 'key_draft' => array(

View file

@ -6,7 +6,7 @@ final class PhabricatorTransformedFile extends PhabricatorFileDAO {
protected $transform; protected $transform;
protected $transformedPHID; protected $transformedPHID;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(
'transform' => 'text128', 'transform' => 'text128',

View file

@ -13,7 +13,7 @@ final class PhabricatorFlag extends PhabricatorFlagDAO
private $handle = self::ATTACHABLE; private $handle = self::ATTACHABLE;
private $object = self::ATTACHABLE; private $object = self::ATTACHABLE;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(
'type' => 'text4', 'type' => 'text4',

View file

@ -23,7 +23,7 @@ final class FundBacker extends FundDAO
->setStatus(self::STATUS_NEW); ->setStatus(self::STATUS_NEW);
} }
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_AUX_PHID => true, self::CONFIG_AUX_PHID => true,
self::CONFIG_SERIALIZATION => array( self::CONFIG_SERIALIZATION => array(

View file

@ -50,7 +50,7 @@ final class FundInitiative extends FundDAO
->setTotalAsCurrency(PhortuneCurrency::newEmptyCurrency()); ->setTotalAsCurrency(PhortuneCurrency::newEmptyCurrency());
} }
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_AUX_PHID => true, self::CONFIG_AUX_PHID => true,
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(

View file

@ -10,7 +10,7 @@ final class HarbormasterBuildCommand extends HarbormasterDAO {
protected $targetPHID; protected $targetPHID;
protected $command; protected $command;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(
'command' => 'text128', 'command' => 'text128',

View file

@ -22,7 +22,7 @@ final class HarbormasterBuildMessage extends HarbormasterDAO
->setIsConsumed(0); ->setIsConsumed(0);
} }
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(
'type' => 'text16', 'type' => 'text16',

View file

@ -153,7 +153,7 @@ final class HarbormasterBuildable extends HarbormasterDAO
return $build; return $build;
} }
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_AUX_PHID => true, self::CONFIG_AUX_PHID => true,
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(

View file

@ -4,7 +4,7 @@ final class HarbormasterObject extends HarbormasterDAO {
protected $name; protected $name;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_AUX_PHID => true, self::CONFIG_AUX_PHID => true,
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(

View file

@ -11,7 +11,7 @@ final class HarbormasterScratchTable extends HarbormasterDAO {
protected $data; protected $data;
protected $bigData; protected $bigData;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(
'data' => 'text64', 'data' => 'text64',

View file

@ -142,7 +142,7 @@ final class HarbormasterBuild extends HarbormasterDAO
return $result; return $result;
} }
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_AUX_PHID => true, self::CONFIG_AUX_PHID => true,
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(

View file

@ -21,7 +21,7 @@ final class HarbormasterBuildArtifact extends HarbormasterDAO
->setBuildTargetPHID($build_target->getPHID()); ->setBuildTargetPHID($build_target->getPHID());
} }
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_SERIALIZATION => array( self::CONFIG_SERIALIZATION => array(
'artifactData' => self::SERIALIZATION_JSON, 'artifactData' => self::SERIALIZATION_JSON,

View file

@ -4,7 +4,7 @@ final class HarbormasterBuildItem extends HarbormasterDAO {
protected $name; protected $name;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_AUX_PHID => true, self::CONFIG_AUX_PHID => true,
self::CONFIG_NO_TABLE => true, self::CONFIG_NO_TABLE => true,

View file

@ -27,7 +27,7 @@ final class HarbormasterBuildLog extends HarbormasterDAO
->setLive(0); ->setLive(0);
} }
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_AUX_PHID => true, self::CONFIG_AUX_PHID => true,
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(

View file

@ -93,7 +93,7 @@ final class HarbormasterBuildTarget extends HarbormasterDAO
->setBuildGeneration($build->getBuildGeneration()); ->setBuildGeneration($build->getBuildGeneration());
} }
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_AUX_PHID => true, self::CONFIG_AUX_PHID => true,
self::CONFIG_SERIALIZATION => array( self::CONFIG_SERIALIZATION => array(

View file

@ -19,7 +19,7 @@ final class HarbormasterBuildPlan extends HarbormasterDAO
->setPlanStatus(self::STATUS_ACTIVE); ->setPlanStatus(self::STATUS_ACTIVE);
} }
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_AUX_PHID => true, self::CONFIG_AUX_PHID => true,
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(

View file

@ -21,7 +21,7 @@ final class HarbormasterBuildStep extends HarbormasterDAO
return id(new HarbormasterBuildStep()); return id(new HarbormasterBuildStep());
} }
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_AUX_PHID => true, self::CONFIG_AUX_PHID => true,
self::CONFIG_SERIALIZATION => array( self::CONFIG_SERIALIZATION => array(

View file

@ -29,7 +29,7 @@ final class HeraldRule extends HeraldDAO
private $actions; private $actions;
private $triggerObject = self::ATTACHABLE; private $triggerObject = self::ATTACHABLE;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_AUX_PHID => true, self::CONFIG_AUX_PHID => true,
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(

View file

@ -7,7 +7,7 @@ final class HeraldRuleEdit extends HeraldDAO {
protected $ruleName; protected $ruleName;
protected $action; protected $action;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(
'ruleName' => 'text255', 'ruleName' => 'text255',

View file

@ -48,7 +48,7 @@ final class LegalpadDocument extends LegalpadDAO
->setEditPolicy($edit_policy); ->setEditPolicy($edit_policy);
} }
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_AUX_PHID => true, self::CONFIG_AUX_PHID => true,
self::CONFIG_SERIALIZATION => array( self::CONFIG_SERIALIZATION => array(

View file

@ -13,7 +13,7 @@ final class LegalpadDocumentBody extends LegalpadDAO
protected $title; protected $title;
protected $text; protected $text;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_AUX_PHID => true, self::CONFIG_AUX_PHID => true,
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(

View file

@ -21,7 +21,7 @@ final class LegalpadDocumentSignature
private $document = self::ATTACHABLE; private $document = self::ATTACHABLE;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_SERIALIZATION => array( self::CONFIG_SERIALIZATION => array(
'signatureData' => self::SERIALIZATION_JSON, 'signatureData' => self::SERIALIZATION_JSON,

View file

@ -19,7 +19,7 @@ final class LegalpadTransactionComment
return ($this->getTransactionPHID() != null); return ($this->getTransactionPHID() != null);
} }
public function getConfiguration() { protected function getConfiguration() {
$config = parent::getConfiguration(); $config = parent::getConfiguration();
$config[self::CONFIG_COLUMN_SCHEMA] = array( $config[self::CONFIG_COLUMN_SCHEMA] = array(
'documentID' => 'id?', 'documentID' => 'id?',

View file

@ -40,7 +40,7 @@ final class PhabricatorFileImageMacro extends PhabricatorFileDAO
return $this->assertAttached($this->audio); return $this->assertAttached($this->audio);
} }
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_AUX_PHID => true, self::CONFIG_AUX_PHID => true,
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(

View file

@ -14,7 +14,7 @@ final class PhabricatorMetaMTAMailingList extends PhabricatorMetaMTADAO
PhabricatorMailingListListPHIDType::TYPECONST); PhabricatorMailingListListPHIDType::TYPECONST);
} }
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_AUX_PHID => true, self::CONFIG_AUX_PHID => true,
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(

View file

@ -9,7 +9,7 @@ final class ManiphestNameIndex extends ManiphestDAO {
protected $indexedObjectPHID; protected $indexedObjectPHID;
protected $indexedObjectName; protected $indexedObjectName;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_TIMESTAMPS => false, self::CONFIG_TIMESTAMPS => false,
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(

View file

@ -60,7 +60,7 @@ final class ManiphestTask extends ManiphestDAO
->attachSubscriberPHIDs(array()); ->attachSubscriberPHIDs(array());
} }
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_AUX_PHID => true, self::CONFIG_AUX_PHID => true,
self::CONFIG_SERIALIZATION => array( self::CONFIG_SERIALIZATION => array(

View file

@ -27,7 +27,7 @@ final class PhabricatorMetaMTAMail extends PhabricatorMetaMTADAO {
parent::__construct(); parent::__construct();
} }
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_SERIALIZATION => array( self::CONFIG_SERIALIZATION => array(
'parameters' => self::SERIALIZATION_JSON, 'parameters' => self::SERIALIZATION_JSON,

View file

@ -12,7 +12,7 @@ final class PhabricatorMetaMTAReceivedMail extends PhabricatorMetaMTADAO {
protected $message; protected $message;
protected $messageIDHash = ''; protected $messageIDHash = '';
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_SERIALIZATION => array( self::CONFIG_SERIALIZATION => array(
'headers' => self::SERIALIZATION_JSON, 'headers' => self::SERIALIZATION_JSON,

View file

@ -7,7 +7,7 @@ final class PhabricatorFeedStoryNotification extends PhabricatorFeedDAO {
protected $chronologicalKey; protected $chronologicalKey;
protected $hasViewed; protected $hasViewed;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_IDS => self::IDS_MANUAL, self::CONFIG_IDS => self::IDS_MANUAL,
self::CONFIG_TIMESTAMPS => false, self::CONFIG_TIMESTAMPS => false,

View file

@ -23,7 +23,7 @@ final class NuanceItem
->setStatus(NuanceItem::STATUS_OPEN); ->setStatus(NuanceItem::STATUS_OPEN);
} }
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_AUX_PHID => true, self::CONFIG_AUX_PHID => true,
self::CONFIG_SERIALIZATION => array( self::CONFIG_SERIALIZATION => array(

View file

@ -9,7 +9,7 @@ final class NuanceQueue
protected $viewPolicy; protected $viewPolicy;
protected $editPolicy; protected $editPolicy;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_AUX_PHID => true, self::CONFIG_AUX_PHID => true,
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(

View file

@ -8,7 +8,7 @@ final class NuanceQueueItem
protected $itemStatus; protected $itemStatus;
protected $itemDateNuanced; protected $itemDateNuanced;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(
'itemStatus' => 'uint32', 'itemStatus' => 'uint32',

View file

@ -5,7 +5,7 @@ final class NuanceRequestor
protected $data; protected $data;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_AUX_PHID => true, self::CONFIG_AUX_PHID => true,
self::CONFIG_SERIALIZATION => array( self::CONFIG_SERIALIZATION => array(

View file

@ -8,7 +8,7 @@ final class NuanceRequestorSource
protected $sourceKey; protected $sourceKey;
protected $data; protected $data;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_SERIALIZATION => array( self::CONFIG_SERIALIZATION => array(
'data' => self::SERIALIZATION_JSON, 'data' => self::SERIALIZATION_JSON,

View file

@ -12,7 +12,7 @@ final class NuanceSource extends NuanceDAO
protected $viewPolicy; protected $viewPolicy;
protected $editPolicy; protected $editPolicy;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_AUX_PHID => true, self::CONFIG_AUX_PHID => true,
self::CONFIG_SERIALIZATION => array( self::CONFIG_SERIALIZATION => array(

View file

@ -17,7 +17,7 @@ final class PhabricatorOAuthClientAuthorization
return implode(' ', $scopes); return implode(' ', $scopes);
} }
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_AUX_PHID => true, self::CONFIG_AUX_PHID => true,
self::CONFIG_SERIALIZATION => array( self::CONFIG_SERIALIZATION => array(

View file

@ -8,7 +8,7 @@ final class PhabricatorOAuthServerAccessToken
protected $userPHID; protected $userPHID;
protected $clientPHID; protected $clientPHID;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(
'token' => 'text32', 'token' => 'text32',

View file

@ -10,7 +10,7 @@ final class PhabricatorOAuthServerAuthorizationCode
protected $userPHID; protected $userPHID;
protected $redirectURI; protected $redirectURI;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(
'code' => 'text32', 'code' => 'text32',

View file

@ -27,7 +27,7 @@ final class PhabricatorOAuthServerClient
->setSecret(Filesystem::readRandomCharacters(32)); ->setSecret(Filesystem::readRandomCharacters(32));
} }
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_AUX_PHID => true, self::CONFIG_AUX_PHID => true,
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(

View file

@ -9,7 +9,7 @@ final class PhabricatorOwnersOwner extends PhabricatorOwnersDAO {
// you want to recursively grab all user ids that own a package // you want to recursively grab all user ids that own a package
protected $userPHID; protected $userPHID;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_TIMESTAMPS => false, self::CONFIG_TIMESTAMPS => false,
self::CONFIG_KEY_SCHEMA => array( self::CONFIG_KEY_SCHEMA => array(

View file

@ -33,7 +33,7 @@ final class PhabricatorOwnersPackage extends PhabricatorOwnersDAO
return null; return null;
} }
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
// This information is better available from the history table. // This information is better available from the history table.
self::CONFIG_TIMESTAMPS => false, self::CONFIG_TIMESTAMPS => false,

View file

@ -7,7 +7,7 @@ final class PhabricatorOwnersPath extends PhabricatorOwnersDAO {
protected $path; protected $path;
protected $excluded; protected $excluded;
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_TIMESTAMPS => false, self::CONFIG_TIMESTAMPS => false,
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(

View file

@ -34,7 +34,7 @@ final class PassphraseCredential extends PassphraseDAO
return 'K'.$this->getID(); return 'K'.$this->getID();
} }
public function getConfiguration() { protected function getConfiguration() {
return array( return array(
self::CONFIG_AUX_PHID => true, self::CONFIG_AUX_PHID => true,
self::CONFIG_COLUMN_SCHEMA => array( self::CONFIG_COLUMN_SCHEMA => array(

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