Page MenuHomePhorge

D25524.1734663915.diff
No OneTemporary

D25524.1734663915.diff

This file is larger than 256 KB, so syntax highlighting was skipped.
diff --git a/src/applications/almanac/editor/AlmanacBindingEditEngine.php b/src/applications/almanac/editor/AlmanacBindingEditEngine.php
--- a/src/applications/almanac/editor/AlmanacBindingEditEngine.php
+++ b/src/applications/almanac/editor/AlmanacBindingEditEngine.php
@@ -36,7 +36,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorAlmanacApplication';
+ return PhabricatorAlmanacApplication::class;
}
protected function newEditableObject() {
diff --git a/src/applications/almanac/editor/AlmanacDeviceEditEngine.php b/src/applications/almanac/editor/AlmanacDeviceEditEngine.php
--- a/src/applications/almanac/editor/AlmanacDeviceEditEngine.php
+++ b/src/applications/almanac/editor/AlmanacDeviceEditEngine.php
@@ -22,7 +22,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorAlmanacApplication';
+ return PhabricatorAlmanacApplication::class;
}
protected function newEditableObject() {
diff --git a/src/applications/almanac/editor/AlmanacEditor.php b/src/applications/almanac/editor/AlmanacEditor.php
--- a/src/applications/almanac/editor/AlmanacEditor.php
+++ b/src/applications/almanac/editor/AlmanacEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorAlmanacApplication';
+ return PhabricatorAlmanacApplication::class;
}
}
diff --git a/src/applications/almanac/editor/AlmanacInterfaceEditEngine.php b/src/applications/almanac/editor/AlmanacInterfaceEditEngine.php
--- a/src/applications/almanac/editor/AlmanacInterfaceEditEngine.php
+++ b/src/applications/almanac/editor/AlmanacInterfaceEditEngine.php
@@ -36,7 +36,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorAlmanacApplication';
+ return PhabricatorAlmanacApplication::class;
}
protected function newEditableObject() {
diff --git a/src/applications/almanac/editor/AlmanacNamespaceEditEngine.php b/src/applications/almanac/editor/AlmanacNamespaceEditEngine.php
--- a/src/applications/almanac/editor/AlmanacNamespaceEditEngine.php
+++ b/src/applications/almanac/editor/AlmanacNamespaceEditEngine.php
@@ -22,7 +22,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorAlmanacApplication';
+ return PhabricatorAlmanacApplication::class;
}
protected function newEditableObject() {
diff --git a/src/applications/almanac/editor/AlmanacNetworkEditEngine.php b/src/applications/almanac/editor/AlmanacNetworkEditEngine.php
--- a/src/applications/almanac/editor/AlmanacNetworkEditEngine.php
+++ b/src/applications/almanac/editor/AlmanacNetworkEditEngine.php
@@ -22,7 +22,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorAlmanacApplication';
+ return PhabricatorAlmanacApplication::class;
}
protected function newEditableObject() {
diff --git a/src/applications/almanac/editor/AlmanacPropertyEditEngine.php b/src/applications/almanac/editor/AlmanacPropertyEditEngine.php
--- a/src/applications/almanac/editor/AlmanacPropertyEditEngine.php
+++ b/src/applications/almanac/editor/AlmanacPropertyEditEngine.php
@@ -35,7 +35,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorAlmanacApplication';
+ return PhabricatorAlmanacApplication::class;
}
protected function newEditableObject() {
diff --git a/src/applications/almanac/editor/AlmanacServiceEditEngine.php b/src/applications/almanac/editor/AlmanacServiceEditEngine.php
--- a/src/applications/almanac/editor/AlmanacServiceEditEngine.php
+++ b/src/applications/almanac/editor/AlmanacServiceEditEngine.php
@@ -33,7 +33,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorAlmanacApplication';
+ return PhabricatorAlmanacApplication::class;
}
protected function newEditableObject() {
diff --git a/src/applications/almanac/phid/AlmanacBindingPHIDType.php b/src/applications/almanac/phid/AlmanacBindingPHIDType.php
--- a/src/applications/almanac/phid/AlmanacBindingPHIDType.php
+++ b/src/applications/almanac/phid/AlmanacBindingPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorAlmanacApplication';
+ return PhabricatorAlmanacApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/almanac/phid/AlmanacDevicePHIDType.php b/src/applications/almanac/phid/AlmanacDevicePHIDType.php
--- a/src/applications/almanac/phid/AlmanacDevicePHIDType.php
+++ b/src/applications/almanac/phid/AlmanacDevicePHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorAlmanacApplication';
+ return PhabricatorAlmanacApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/almanac/phid/AlmanacInterfacePHIDType.php b/src/applications/almanac/phid/AlmanacInterfacePHIDType.php
--- a/src/applications/almanac/phid/AlmanacInterfacePHIDType.php
+++ b/src/applications/almanac/phid/AlmanacInterfacePHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorAlmanacApplication';
+ return PhabricatorAlmanacApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/almanac/phid/AlmanacNamespacePHIDType.php b/src/applications/almanac/phid/AlmanacNamespacePHIDType.php
--- a/src/applications/almanac/phid/AlmanacNamespacePHIDType.php
+++ b/src/applications/almanac/phid/AlmanacNamespacePHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorAlmanacApplication';
+ return PhabricatorAlmanacApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/almanac/phid/AlmanacNetworkPHIDType.php b/src/applications/almanac/phid/AlmanacNetworkPHIDType.php
--- a/src/applications/almanac/phid/AlmanacNetworkPHIDType.php
+++ b/src/applications/almanac/phid/AlmanacNetworkPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorAlmanacApplication';
+ return PhabricatorAlmanacApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/almanac/phid/AlmanacServicePHIDType.php b/src/applications/almanac/phid/AlmanacServicePHIDType.php
--- a/src/applications/almanac/phid/AlmanacServicePHIDType.php
+++ b/src/applications/almanac/phid/AlmanacServicePHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorAlmanacApplication';
+ return PhabricatorAlmanacApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/almanac/query/AlmanacBindingSearchEngine.php b/src/applications/almanac/query/AlmanacBindingSearchEngine.php
--- a/src/applications/almanac/query/AlmanacBindingSearchEngine.php
+++ b/src/applications/almanac/query/AlmanacBindingSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorAlmanacApplication';
+ return PhabricatorAlmanacApplication::class;
}
public function newQuery() {
diff --git a/src/applications/almanac/query/AlmanacDeviceQuery.php b/src/applications/almanac/query/AlmanacDeviceQuery.php
--- a/src/applications/almanac/query/AlmanacDeviceQuery.php
+++ b/src/applications/almanac/query/AlmanacDeviceQuery.php
@@ -148,7 +148,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorAlmanacApplication';
+ return PhabricatorAlmanacApplication::class;
}
}
diff --git a/src/applications/almanac/query/AlmanacDeviceSearchEngine.php b/src/applications/almanac/query/AlmanacDeviceSearchEngine.php
--- a/src/applications/almanac/query/AlmanacDeviceSearchEngine.php
+++ b/src/applications/almanac/query/AlmanacDeviceSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorAlmanacApplication';
+ return PhabricatorAlmanacApplication::class;
}
public function newQuery() {
diff --git a/src/applications/almanac/query/AlmanacInterfaceQuery.php b/src/applications/almanac/query/AlmanacInterfaceQuery.php
--- a/src/applications/almanac/query/AlmanacInterfaceQuery.php
+++ b/src/applications/almanac/query/AlmanacInterfaceQuery.php
@@ -169,7 +169,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorAlmanacApplication';
+ return PhabricatorAlmanacApplication::class;
}
public function getBuiltinOrders() {
diff --git a/src/applications/almanac/query/AlmanacInterfaceSearchEngine.php b/src/applications/almanac/query/AlmanacInterfaceSearchEngine.php
--- a/src/applications/almanac/query/AlmanacInterfaceSearchEngine.php
+++ b/src/applications/almanac/query/AlmanacInterfaceSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorAlmanacApplication';
+ return PhabricatorAlmanacApplication::class;
}
public function newQuery() {
diff --git a/src/applications/almanac/query/AlmanacNamespaceQuery.php b/src/applications/almanac/query/AlmanacNamespaceQuery.php
--- a/src/applications/almanac/query/AlmanacNamespaceQuery.php
+++ b/src/applications/almanac/query/AlmanacNamespaceQuery.php
@@ -92,7 +92,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorAlmanacApplication';
+ return PhabricatorAlmanacApplication::class;
}
}
diff --git a/src/applications/almanac/query/AlmanacNamespaceSearchEngine.php b/src/applications/almanac/query/AlmanacNamespaceSearchEngine.php
--- a/src/applications/almanac/query/AlmanacNamespaceSearchEngine.php
+++ b/src/applications/almanac/query/AlmanacNamespaceSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorAlmanacApplication';
+ return PhabricatorAlmanacApplication::class;
}
public function newQuery() {
diff --git a/src/applications/almanac/query/AlmanacNetworkQuery.php b/src/applications/almanac/query/AlmanacNetworkQuery.php
--- a/src/applications/almanac/query/AlmanacNetworkQuery.php
+++ b/src/applications/almanac/query/AlmanacNetworkQuery.php
@@ -64,7 +64,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorAlmanacApplication';
+ return PhabricatorAlmanacApplication::class;
}
}
diff --git a/src/applications/almanac/query/AlmanacNetworkSearchEngine.php b/src/applications/almanac/query/AlmanacNetworkSearchEngine.php
--- a/src/applications/almanac/query/AlmanacNetworkSearchEngine.php
+++ b/src/applications/almanac/query/AlmanacNetworkSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorAlmanacApplication';
+ return PhabricatorAlmanacApplication::class;
}
public function newQuery() {
diff --git a/src/applications/almanac/query/AlmanacPropertyQuery.php b/src/applications/almanac/query/AlmanacPropertyQuery.php
--- a/src/applications/almanac/query/AlmanacPropertyQuery.php
+++ b/src/applications/almanac/query/AlmanacPropertyQuery.php
@@ -99,7 +99,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorAlmanacApplication';
+ return PhabricatorAlmanacApplication::class;
}
}
diff --git a/src/applications/almanac/query/AlmanacQuery.php b/src/applications/almanac/query/AlmanacQuery.php
--- a/src/applications/almanac/query/AlmanacQuery.php
+++ b/src/applications/almanac/query/AlmanacQuery.php
@@ -55,7 +55,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorAlmanacApplication';
+ return PhabricatorAlmanacApplication::class;
}
}
diff --git a/src/applications/almanac/query/AlmanacServiceSearchEngine.php b/src/applications/almanac/query/AlmanacServiceSearchEngine.php
--- a/src/applications/almanac/query/AlmanacServiceSearchEngine.php
+++ b/src/applications/almanac/query/AlmanacServiceSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorAlmanacApplication';
+ return PhabricatorAlmanacApplication::class;
}
public function newQuery() {
diff --git a/src/applications/almanac/typeahead/AlmanacInterfaceDatasource.php b/src/applications/almanac/typeahead/AlmanacInterfaceDatasource.php
--- a/src/applications/almanac/typeahead/AlmanacInterfaceDatasource.php
+++ b/src/applications/almanac/typeahead/AlmanacInterfaceDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorAlmanacApplication';
+ return PhabricatorAlmanacApplication::class;
}
public function loadResults() {
diff --git a/src/applications/almanac/typeahead/AlmanacServiceDatasource.php b/src/applications/almanac/typeahead/AlmanacServiceDatasource.php
--- a/src/applications/almanac/typeahead/AlmanacServiceDatasource.php
+++ b/src/applications/almanac/typeahead/AlmanacServiceDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorAlmanacApplication';
+ return PhabricatorAlmanacApplication::class;
}
public function loadResults() {
diff --git a/src/applications/almanac/typeahead/AlmanacServiceTypeDatasource.php b/src/applications/almanac/typeahead/AlmanacServiceTypeDatasource.php
--- a/src/applications/almanac/typeahead/AlmanacServiceTypeDatasource.php
+++ b/src/applications/almanac/typeahead/AlmanacServiceTypeDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorAlmanacApplication';
+ return PhabricatorAlmanacApplication::class;
}
public function loadResults() {
diff --git a/src/applications/audit/editor/PhabricatorAuditEditor.php b/src/applications/audit/editor/PhabricatorAuditEditor.php
--- a/src/applications/audit/editor/PhabricatorAuditEditor.php
+++ b/src/applications/audit/editor/PhabricatorAuditEditor.php
@@ -22,7 +22,7 @@
}
public function getEditorApplicationClass() {
- return 'PhabricatorDiffusionApplication';
+ return PhabricatorDiffusionApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/audit/query/DiffusionInternalCommitSearchEngine.php b/src/applications/audit/query/DiffusionInternalCommitSearchEngine.php
--- a/src/applications/audit/query/DiffusionInternalCommitSearchEngine.php
+++ b/src/applications/audit/query/DiffusionInternalCommitSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorDiffusionApplication';
+ return PhabricatorDiffusionApplication::class;
}
public function newQuery() {
diff --git a/src/applications/audit/query/PhabricatorCommitSearchEngine.php b/src/applications/audit/query/PhabricatorCommitSearchEngine.php
--- a/src/applications/audit/query/PhabricatorCommitSearchEngine.php
+++ b/src/applications/audit/query/PhabricatorCommitSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorDiffusionApplication';
+ return PhabricatorDiffusionApplication::class;
}
public function newQuery() {
diff --git a/src/applications/auth/editor/PhabricatorAuthContactNumberEditEngine.php b/src/applications/auth/editor/PhabricatorAuthContactNumberEditEngine.php
--- a/src/applications/auth/editor/PhabricatorAuthContactNumberEditEngine.php
+++ b/src/applications/auth/editor/PhabricatorAuthContactNumberEditEngine.php
@@ -22,7 +22,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorAuthApplication';
+ return PhabricatorAuthApplication::class;
}
protected function newEditableObject() {
diff --git a/src/applications/auth/editor/PhabricatorAuthContactNumberEditor.php b/src/applications/auth/editor/PhabricatorAuthContactNumberEditor.php
--- a/src/applications/auth/editor/PhabricatorAuthContactNumberEditor.php
+++ b/src/applications/auth/editor/PhabricatorAuthContactNumberEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorAuthApplication';
+ return PhabricatorAuthApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/auth/editor/PhabricatorAuthFactorProviderEditEngine.php b/src/applications/auth/editor/PhabricatorAuthFactorProviderEditEngine.php
--- a/src/applications/auth/editor/PhabricatorAuthFactorProviderEditEngine.php
+++ b/src/applications/auth/editor/PhabricatorAuthFactorProviderEditEngine.php
@@ -24,7 +24,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorAuthApplication';
+ return PhabricatorAuthApplication::class;
}
public function setProviderFactor(PhabricatorAuthFactor $factor) {
diff --git a/src/applications/auth/editor/PhabricatorAuthFactorProviderEditor.php b/src/applications/auth/editor/PhabricatorAuthFactorProviderEditor.php
--- a/src/applications/auth/editor/PhabricatorAuthFactorProviderEditor.php
+++ b/src/applications/auth/editor/PhabricatorAuthFactorProviderEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorAuthApplication';
+ return PhabricatorAuthApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/auth/editor/PhabricatorAuthMessageEditEngine.php b/src/applications/auth/editor/PhabricatorAuthMessageEditEngine.php
--- a/src/applications/auth/editor/PhabricatorAuthMessageEditEngine.php
+++ b/src/applications/auth/editor/PhabricatorAuthMessageEditEngine.php
@@ -24,7 +24,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorAuthApplication';
+ return PhabricatorAuthApplication::class;
}
public function setMessageType(PhabricatorAuthMessageType $type) {
diff --git a/src/applications/auth/editor/PhabricatorAuthMessageEditor.php b/src/applications/auth/editor/PhabricatorAuthMessageEditor.php
--- a/src/applications/auth/editor/PhabricatorAuthMessageEditor.php
+++ b/src/applications/auth/editor/PhabricatorAuthMessageEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorAuthApplication';
+ return PhabricatorAuthApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/auth/editor/PhabricatorAuthPasswordEditor.php b/src/applications/auth/editor/PhabricatorAuthPasswordEditor.php
--- a/src/applications/auth/editor/PhabricatorAuthPasswordEditor.php
+++ b/src/applications/auth/editor/PhabricatorAuthPasswordEditor.php
@@ -15,7 +15,7 @@
}
public function getEditorApplicationClass() {
- return 'PhabricatorAuthApplication';
+ return PhabricatorAuthApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/auth/editor/PhabricatorAuthProviderConfigEditor.php b/src/applications/auth/editor/PhabricatorAuthProviderConfigEditor.php
--- a/src/applications/auth/editor/PhabricatorAuthProviderConfigEditor.php
+++ b/src/applications/auth/editor/PhabricatorAuthProviderConfigEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorAuthApplication';
+ return PhabricatorAuthApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/auth/editor/PhabricatorAuthSSHKeyEditor.php b/src/applications/auth/editor/PhabricatorAuthSSHKeyEditor.php
--- a/src/applications/auth/editor/PhabricatorAuthSSHKeyEditor.php
+++ b/src/applications/auth/editor/PhabricatorAuthSSHKeyEditor.php
@@ -15,7 +15,7 @@
}
public function getEditorApplicationClass() {
- return 'PhabricatorAuthApplication';
+ return PhabricatorAuthApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/auth/phid/PhabricatorAuthAuthFactorPHIDType.php b/src/applications/auth/phid/PhabricatorAuthAuthFactorPHIDType.php
--- a/src/applications/auth/phid/PhabricatorAuthAuthFactorPHIDType.php
+++ b/src/applications/auth/phid/PhabricatorAuthAuthFactorPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorAuthApplication';
+ return PhabricatorAuthApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/auth/phid/PhabricatorAuthAuthFactorProviderPHIDType.php b/src/applications/auth/phid/PhabricatorAuthAuthFactorProviderPHIDType.php
--- a/src/applications/auth/phid/PhabricatorAuthAuthFactorProviderPHIDType.php
+++ b/src/applications/auth/phid/PhabricatorAuthAuthFactorProviderPHIDType.php
@@ -14,7 +14,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorAuthApplication';
+ return PhabricatorAuthApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/auth/phid/PhabricatorAuthAuthProviderPHIDType.php b/src/applications/auth/phid/PhabricatorAuthAuthProviderPHIDType.php
--- a/src/applications/auth/phid/PhabricatorAuthAuthProviderPHIDType.php
+++ b/src/applications/auth/phid/PhabricatorAuthAuthProviderPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorAuthApplication';
+ return PhabricatorAuthApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/auth/phid/PhabricatorAuthChallengePHIDType.php b/src/applications/auth/phid/PhabricatorAuthChallengePHIDType.php
--- a/src/applications/auth/phid/PhabricatorAuthChallengePHIDType.php
+++ b/src/applications/auth/phid/PhabricatorAuthChallengePHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorAuthApplication';
+ return PhabricatorAuthApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/auth/phid/PhabricatorAuthContactNumberPHIDType.php b/src/applications/auth/phid/PhabricatorAuthContactNumberPHIDType.php
--- a/src/applications/auth/phid/PhabricatorAuthContactNumberPHIDType.php
+++ b/src/applications/auth/phid/PhabricatorAuthContactNumberPHIDType.php
@@ -14,7 +14,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorAuthApplication';
+ return PhabricatorAuthApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/auth/phid/PhabricatorAuthInvitePHIDType.php b/src/applications/auth/phid/PhabricatorAuthInvitePHIDType.php
--- a/src/applications/auth/phid/PhabricatorAuthInvitePHIDType.php
+++ b/src/applications/auth/phid/PhabricatorAuthInvitePHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorAuthApplication';
+ return PhabricatorAuthApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/auth/phid/PhabricatorAuthMessagePHIDType.php b/src/applications/auth/phid/PhabricatorAuthMessagePHIDType.php
--- a/src/applications/auth/phid/PhabricatorAuthMessagePHIDType.php
+++ b/src/applications/auth/phid/PhabricatorAuthMessagePHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorAuthApplication';
+ return PhabricatorAuthApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/auth/phid/PhabricatorAuthPasswordPHIDType.php b/src/applications/auth/phid/PhabricatorAuthPasswordPHIDType.php
--- a/src/applications/auth/phid/PhabricatorAuthPasswordPHIDType.php
+++ b/src/applications/auth/phid/PhabricatorAuthPasswordPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorAuthApplication';
+ return PhabricatorAuthApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/auth/phid/PhabricatorAuthSSHKeyPHIDType.php b/src/applications/auth/phid/PhabricatorAuthSSHKeyPHIDType.php
--- a/src/applications/auth/phid/PhabricatorAuthSSHKeyPHIDType.php
+++ b/src/applications/auth/phid/PhabricatorAuthSSHKeyPHIDType.php
@@ -14,7 +14,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorAuthApplication';
+ return PhabricatorAuthApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/auth/phid/PhabricatorAuthSessionPHIDType.php b/src/applications/auth/phid/PhabricatorAuthSessionPHIDType.php
--- a/src/applications/auth/phid/PhabricatorAuthSessionPHIDType.php
+++ b/src/applications/auth/phid/PhabricatorAuthSessionPHIDType.php
@@ -14,7 +14,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorAuthApplication';
+ return PhabricatorAuthApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/auth/query/PhabricatorAuthChallengeQuery.php b/src/applications/auth/query/PhabricatorAuthChallengeQuery.php
--- a/src/applications/auth/query/PhabricatorAuthChallengeQuery.php
+++ b/src/applications/auth/query/PhabricatorAuthChallengeQuery.php
@@ -89,7 +89,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorAuthApplication';
+ return PhabricatorAuthApplication::class;
}
}
diff --git a/src/applications/auth/query/PhabricatorAuthContactNumberQuery.php b/src/applications/auth/query/PhabricatorAuthContactNumberQuery.php
--- a/src/applications/auth/query/PhabricatorAuthContactNumberQuery.php
+++ b/src/applications/auth/query/PhabricatorAuthContactNumberQuery.php
@@ -93,7 +93,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorAuthApplication';
+ return PhabricatorAuthApplication::class;
}
}
diff --git a/src/applications/auth/query/PhabricatorAuthFactorConfigQuery.php b/src/applications/auth/query/PhabricatorAuthFactorConfigQuery.php
--- a/src/applications/auth/query/PhabricatorAuthFactorConfigQuery.php
+++ b/src/applications/auth/query/PhabricatorAuthFactorConfigQuery.php
@@ -121,7 +121,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorAuthApplication';
+ return PhabricatorAuthApplication::class;
}
}
diff --git a/src/applications/auth/query/PhabricatorAuthFactorProviderQuery.php b/src/applications/auth/query/PhabricatorAuthFactorProviderQuery.php
--- a/src/applications/auth/query/PhabricatorAuthFactorProviderQuery.php
+++ b/src/applications/auth/query/PhabricatorAuthFactorProviderQuery.php
@@ -84,7 +84,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorAuthApplication';
+ return PhabricatorAuthApplication::class;
}
}
diff --git a/src/applications/auth/query/PhabricatorAuthInviteSearchEngine.php b/src/applications/auth/query/PhabricatorAuthInviteSearchEngine.php
--- a/src/applications/auth/query/PhabricatorAuthInviteSearchEngine.php
+++ b/src/applications/auth/query/PhabricatorAuthInviteSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorAuthApplication';
+ return PhabricatorAuthApplication::class;
}
public function canUseInPanelContext() {
diff --git a/src/applications/auth/query/PhabricatorAuthMessageQuery.php b/src/applications/auth/query/PhabricatorAuthMessageQuery.php
--- a/src/applications/auth/query/PhabricatorAuthMessageQuery.php
+++ b/src/applications/auth/query/PhabricatorAuthMessageQuery.php
@@ -73,7 +73,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorAuthApplication';
+ return PhabricatorAuthApplication::class;
}
}
diff --git a/src/applications/auth/query/PhabricatorAuthPasswordQuery.php b/src/applications/auth/query/PhabricatorAuthPasswordQuery.php
--- a/src/applications/auth/query/PhabricatorAuthPasswordQuery.php
+++ b/src/applications/auth/query/PhabricatorAuthPasswordQuery.php
@@ -104,7 +104,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorAuthApplication';
+ return PhabricatorAuthApplication::class;
}
}
diff --git a/src/applications/auth/query/PhabricatorAuthProviderConfigQuery.php b/src/applications/auth/query/PhabricatorAuthProviderConfigQuery.php
--- a/src/applications/auth/query/PhabricatorAuthProviderConfigQuery.php
+++ b/src/applications/auth/query/PhabricatorAuthProviderConfigQuery.php
@@ -80,7 +80,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorAuthApplication';
+ return PhabricatorAuthApplication::class;
}
}
diff --git a/src/applications/auth/query/PhabricatorAuthSSHKeyQuery.php b/src/applications/auth/query/PhabricatorAuthSSHKeyQuery.php
--- a/src/applications/auth/query/PhabricatorAuthSSHKeyQuery.php
+++ b/src/applications/auth/query/PhabricatorAuthSSHKeyQuery.php
@@ -128,7 +128,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorAuthApplication';
+ return PhabricatorAuthApplication::class;
}
}
diff --git a/src/applications/auth/query/PhabricatorAuthSSHKeySearchEngine.php b/src/applications/auth/query/PhabricatorAuthSSHKeySearchEngine.php
--- a/src/applications/auth/query/PhabricatorAuthSSHKeySearchEngine.php
+++ b/src/applications/auth/query/PhabricatorAuthSSHKeySearchEngine.php
@@ -23,7 +23,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorAuthApplication';
+ return PhabricatorAuthApplication::class;
}
public function newQuery() {
diff --git a/src/applications/auth/query/PhabricatorAuthSessionQuery.php b/src/applications/auth/query/PhabricatorAuthSessionQuery.php
--- a/src/applications/auth/query/PhabricatorAuthSessionQuery.php
+++ b/src/applications/auth/query/PhabricatorAuthSessionQuery.php
@@ -107,7 +107,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorAuthApplication';
+ return PhabricatorAuthApplication::class;
}
}
diff --git a/src/applications/auth/query/PhabricatorAuthTemporaryTokenQuery.php b/src/applications/auth/query/PhabricatorAuthTemporaryTokenQuery.php
--- a/src/applications/auth/query/PhabricatorAuthTemporaryTokenQuery.php
+++ b/src/applications/auth/query/PhabricatorAuthTemporaryTokenQuery.php
@@ -100,7 +100,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorAuthApplication';
+ return PhabricatorAuthApplication::class;
}
}
diff --git a/src/applications/auth/query/PhabricatorExternalAccountIdentifierQuery.php b/src/applications/auth/query/PhabricatorExternalAccountIdentifierQuery.php
--- a/src/applications/auth/query/PhabricatorExternalAccountIdentifierQuery.php
+++ b/src/applications/auth/query/PhabricatorExternalAccountIdentifierQuery.php
@@ -84,7 +84,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorPeopleApplication';
+ return PhabricatorPeopleApplication::class;
}
}
diff --git a/src/applications/auth/query/PhabricatorExternalAccountQuery.php b/src/applications/auth/query/PhabricatorExternalAccountQuery.php
--- a/src/applications/auth/query/PhabricatorExternalAccountQuery.php
+++ b/src/applications/auth/query/PhabricatorExternalAccountQuery.php
@@ -241,7 +241,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorPeopleApplication';
+ return PhabricatorPeopleApplication::class;
}
}
diff --git a/src/applications/badges/editor/PhabricatorBadgesEditEngine.php b/src/applications/badges/editor/PhabricatorBadgesEditEngine.php
--- a/src/applications/badges/editor/PhabricatorBadgesEditEngine.php
+++ b/src/applications/badges/editor/PhabricatorBadgesEditEngine.php
@@ -10,7 +10,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorBadgesApplication';
+ return PhabricatorBadgesApplication::class;
}
public function getSummaryHeader() {
diff --git a/src/applications/badges/editor/PhabricatorBadgesEditor.php b/src/applications/badges/editor/PhabricatorBadgesEditor.php
--- a/src/applications/badges/editor/PhabricatorBadgesEditor.php
+++ b/src/applications/badges/editor/PhabricatorBadgesEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorBadgesApplication';
+ return PhabricatorBadgesApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/badges/phid/PhabricatorBadgesPHIDType.php b/src/applications/badges/phid/PhabricatorBadgesPHIDType.php
--- a/src/applications/badges/phid/PhabricatorBadgesPHIDType.php
+++ b/src/applications/badges/phid/PhabricatorBadgesPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorBadgesApplication';
+ return PhabricatorBadgesApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/badges/query/PhabricatorBadgesAwardQuery.php b/src/applications/badges/query/PhabricatorBadgesAwardQuery.php
--- a/src/applications/badges/query/PhabricatorBadgesAwardQuery.php
+++ b/src/applications/badges/query/PhabricatorBadgesAwardQuery.php
@@ -115,7 +115,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorBadgesApplication';
+ return PhabricatorBadgesApplication::class;
}
}
diff --git a/src/applications/badges/query/PhabricatorBadgesQuery.php b/src/applications/badges/query/PhabricatorBadgesQuery.php
--- a/src/applications/badges/query/PhabricatorBadgesQuery.php
+++ b/src/applications/badges/query/PhabricatorBadgesQuery.php
@@ -77,7 +77,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorBadgesApplication';
+ return PhabricatorBadgesApplication::class;
}
public function getBuiltinOrders() {
diff --git a/src/applications/badges/query/PhabricatorBadgesSearchEngine.php b/src/applications/badges/query/PhabricatorBadgesSearchEngine.php
--- a/src/applications/badges/query/PhabricatorBadgesSearchEngine.php
+++ b/src/applications/badges/query/PhabricatorBadgesSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorBadgesApplication';
+ return PhabricatorBadgesApplication::class;
}
public function newQuery() {
diff --git a/src/applications/badges/typeahead/PhabricatorBadgesDatasource.php b/src/applications/badges/typeahead/PhabricatorBadgesDatasource.php
--- a/src/applications/badges/typeahead/PhabricatorBadgesDatasource.php
+++ b/src/applications/badges/typeahead/PhabricatorBadgesDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorBadgesApplication';
+ return PhabricatorBadgesApplication::class;
}
public function loadResults() {
diff --git a/src/applications/calendar/editor/PhabricatorCalendarEventEditEngine.php b/src/applications/calendar/editor/PhabricatorCalendarEventEditEngine.php
--- a/src/applications/calendar/editor/PhabricatorCalendarEventEditEngine.php
+++ b/src/applications/calendar/editor/PhabricatorCalendarEventEditEngine.php
@@ -33,7 +33,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorCalendarApplication';
+ return PhabricatorCalendarApplication::class;
}
protected function newEditableObject() {
diff --git a/src/applications/calendar/editor/PhabricatorCalendarEventEditor.php b/src/applications/calendar/editor/PhabricatorCalendarEventEditor.php
--- a/src/applications/calendar/editor/PhabricatorCalendarEventEditor.php
+++ b/src/applications/calendar/editor/PhabricatorCalendarEventEditor.php
@@ -7,7 +7,7 @@
private $newIsAllDay;
public function getEditorApplicationClass() {
- return 'PhabricatorCalendarApplication';
+ return PhabricatorCalendarApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/calendar/editor/PhabricatorCalendarExportEditEngine.php b/src/applications/calendar/editor/PhabricatorCalendarExportEditEngine.php
--- a/src/applications/calendar/editor/PhabricatorCalendarExportEditEngine.php
+++ b/src/applications/calendar/editor/PhabricatorCalendarExportEditEngine.php
@@ -22,7 +22,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorCalendarApplication';
+ return PhabricatorCalendarApplication::class;
}
protected function newEditableObject() {
diff --git a/src/applications/calendar/editor/PhabricatorCalendarExportEditor.php b/src/applications/calendar/editor/PhabricatorCalendarExportEditor.php
--- a/src/applications/calendar/editor/PhabricatorCalendarExportEditor.php
+++ b/src/applications/calendar/editor/PhabricatorCalendarExportEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorCalendarApplication';
+ return PhabricatorCalendarApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/calendar/editor/PhabricatorCalendarImportEditEngine.php b/src/applications/calendar/editor/PhabricatorCalendarImportEditEngine.php
--- a/src/applications/calendar/editor/PhabricatorCalendarImportEditEngine.php
+++ b/src/applications/calendar/editor/PhabricatorCalendarImportEditEngine.php
@@ -33,7 +33,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorCalendarApplication';
+ return PhabricatorCalendarApplication::class;
}
protected function newEditableObject() {
diff --git a/src/applications/calendar/editor/PhabricatorCalendarImportEditor.php b/src/applications/calendar/editor/PhabricatorCalendarImportEditor.php
--- a/src/applications/calendar/editor/PhabricatorCalendarImportEditor.php
+++ b/src/applications/calendar/editor/PhabricatorCalendarImportEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorCalendarApplication';
+ return PhabricatorCalendarApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/calendar/herald/PhabricatorCalendarEventHeraldAdapter.php b/src/applications/calendar/herald/PhabricatorCalendarEventHeraldAdapter.php
--- a/src/applications/calendar/herald/PhabricatorCalendarEventHeraldAdapter.php
+++ b/src/applications/calendar/herald/PhabricatorCalendarEventHeraldAdapter.php
@@ -5,7 +5,7 @@
private $object;
public function getAdapterApplicationClass() {
- return 'PhabricatorCalendarApplication';
+ return PhabricatorCalendarApplication::class;
}
public function getAdapterContentDescription() {
diff --git a/src/applications/calendar/phid/PhabricatorCalendarEventPHIDType.php b/src/applications/calendar/phid/PhabricatorCalendarEventPHIDType.php
--- a/src/applications/calendar/phid/PhabricatorCalendarEventPHIDType.php
+++ b/src/applications/calendar/phid/PhabricatorCalendarEventPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorCalendarApplication';
+ return PhabricatorCalendarApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/calendar/phid/PhabricatorCalendarExportPHIDType.php b/src/applications/calendar/phid/PhabricatorCalendarExportPHIDType.php
--- a/src/applications/calendar/phid/PhabricatorCalendarExportPHIDType.php
+++ b/src/applications/calendar/phid/PhabricatorCalendarExportPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorCalendarApplication';
+ return PhabricatorCalendarApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/calendar/phid/PhabricatorCalendarExternalInviteePHIDType.php b/src/applications/calendar/phid/PhabricatorCalendarExternalInviteePHIDType.php
--- a/src/applications/calendar/phid/PhabricatorCalendarExternalInviteePHIDType.php
+++ b/src/applications/calendar/phid/PhabricatorCalendarExternalInviteePHIDType.php
@@ -14,7 +14,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorCalendarApplication';
+ return PhabricatorCalendarApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/calendar/phid/PhabricatorCalendarImportPHIDType.php b/src/applications/calendar/phid/PhabricatorCalendarImportPHIDType.php
--- a/src/applications/calendar/phid/PhabricatorCalendarImportPHIDType.php
+++ b/src/applications/calendar/phid/PhabricatorCalendarImportPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorCalendarApplication';
+ return PhabricatorCalendarApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/calendar/query/PhabricatorCalendarEventInviteeQuery.php b/src/applications/calendar/query/PhabricatorCalendarEventInviteeQuery.php
--- a/src/applications/calendar/query/PhabricatorCalendarEventInviteeQuery.php
+++ b/src/applications/calendar/query/PhabricatorCalendarEventInviteeQuery.php
@@ -93,7 +93,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorCalendarApplication';
+ return PhabricatorCalendarApplication::class;
}
}
diff --git a/src/applications/calendar/query/PhabricatorCalendarEventQuery.php b/src/applications/calendar/query/PhabricatorCalendarEventQuery.php
--- a/src/applications/calendar/query/PhabricatorCalendarEventQuery.php
+++ b/src/applications/calendar/query/PhabricatorCalendarEventQuery.php
@@ -513,7 +513,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorCalendarApplication';
+ return PhabricatorCalendarApplication::class;
}
protected function willFilterPage(array $events) {
diff --git a/src/applications/calendar/query/PhabricatorCalendarEventSearchEngine.php b/src/applications/calendar/query/PhabricatorCalendarEventSearchEngine.php
--- a/src/applications/calendar/query/PhabricatorCalendarEventSearchEngine.php
+++ b/src/applications/calendar/query/PhabricatorCalendarEventSearchEngine.php
@@ -12,7 +12,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorCalendarApplication';
+ return PhabricatorCalendarApplication::class;
}
public function newQuery() {
diff --git a/src/applications/calendar/query/PhabricatorCalendarExportQuery.php b/src/applications/calendar/query/PhabricatorCalendarExportQuery.php
--- a/src/applications/calendar/query/PhabricatorCalendarExportQuery.php
+++ b/src/applications/calendar/query/PhabricatorCalendarExportQuery.php
@@ -84,7 +84,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorCalendarApplication';
+ return PhabricatorCalendarApplication::class;
}
}
diff --git a/src/applications/calendar/query/PhabricatorCalendarExportSearchEngine.php b/src/applications/calendar/query/PhabricatorCalendarExportSearchEngine.php
--- a/src/applications/calendar/query/PhabricatorCalendarExportSearchEngine.php
+++ b/src/applications/calendar/query/PhabricatorCalendarExportSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorCalendarApplication';
+ return PhabricatorCalendarApplication::class;
}
public function canUseInPanelContext() {
diff --git a/src/applications/calendar/query/PhabricatorCalendarExternalInviteeQuery.php b/src/applications/calendar/query/PhabricatorCalendarExternalInviteeQuery.php
--- a/src/applications/calendar/query/PhabricatorCalendarExternalInviteeQuery.php
+++ b/src/applications/calendar/query/PhabricatorCalendarExternalInviteeQuery.php
@@ -58,7 +58,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorCalendarApplication';
+ return PhabricatorCalendarApplication::class;
}
}
diff --git a/src/applications/calendar/query/PhabricatorCalendarImportLogQuery.php b/src/applications/calendar/query/PhabricatorCalendarImportLogQuery.php
--- a/src/applications/calendar/query/PhabricatorCalendarImportLogQuery.php
+++ b/src/applications/calendar/query/PhabricatorCalendarImportLogQuery.php
@@ -101,7 +101,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorCalendarApplication';
+ return PhabricatorCalendarApplication::class;
}
}
diff --git a/src/applications/calendar/query/PhabricatorCalendarImportLogSearchEngine.php b/src/applications/calendar/query/PhabricatorCalendarImportLogSearchEngine.php
--- a/src/applications/calendar/query/PhabricatorCalendarImportLogSearchEngine.php
+++ b/src/applications/calendar/query/PhabricatorCalendarImportLogSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorCalendarApplication';
+ return PhabricatorCalendarApplication::class;
}
public function canUseInPanelContext() {
diff --git a/src/applications/calendar/query/PhabricatorCalendarImportQuery.php b/src/applications/calendar/query/PhabricatorCalendarImportQuery.php
--- a/src/applications/calendar/query/PhabricatorCalendarImportQuery.php
+++ b/src/applications/calendar/query/PhabricatorCalendarImportQuery.php
@@ -89,7 +89,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorCalendarApplication';
+ return PhabricatorCalendarApplication::class;
}
}
diff --git a/src/applications/calendar/query/PhabricatorCalendarImportSearchEngine.php b/src/applications/calendar/query/PhabricatorCalendarImportSearchEngine.php
--- a/src/applications/calendar/query/PhabricatorCalendarImportSearchEngine.php
+++ b/src/applications/calendar/query/PhabricatorCalendarImportSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorCalendarApplication';
+ return PhabricatorCalendarApplication::class;
}
public function canUseInPanelContext() {
diff --git a/src/applications/calendar/typeahead/PhabricatorCalendarInviteeDatasource.php b/src/applications/calendar/typeahead/PhabricatorCalendarInviteeDatasource.php
--- a/src/applications/calendar/typeahead/PhabricatorCalendarInviteeDatasource.php
+++ b/src/applications/calendar/typeahead/PhabricatorCalendarInviteeDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorCalendarApplication';
+ return PhabricatorCalendarApplication::class;
}
public function getComponentDatasources() {
diff --git a/src/applications/calendar/typeahead/PhabricatorCalendarInviteeUserDatasource.php b/src/applications/calendar/typeahead/PhabricatorCalendarInviteeUserDatasource.php
--- a/src/applications/calendar/typeahead/PhabricatorCalendarInviteeUserDatasource.php
+++ b/src/applications/calendar/typeahead/PhabricatorCalendarInviteeUserDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorCalendarApplication';
+ return PhabricatorCalendarApplication::class;
}
public function getComponentDatasources() {
diff --git a/src/applications/calendar/typeahead/PhabricatorCalendarInviteeViewerFunctionDatasource.php b/src/applications/calendar/typeahead/PhabricatorCalendarInviteeViewerFunctionDatasource.php
--- a/src/applications/calendar/typeahead/PhabricatorCalendarInviteeViewerFunctionDatasource.php
+++ b/src/applications/calendar/typeahead/PhabricatorCalendarInviteeViewerFunctionDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorPeopleApplication';
+ return PhabricatorPeopleApplication::class;
}
public function getDatasourceFunctions() {
diff --git a/src/applications/conduit/query/PhabricatorConduitLogQuery.php b/src/applications/conduit/query/PhabricatorConduitLogQuery.php
--- a/src/applications/conduit/query/PhabricatorConduitLogQuery.php
+++ b/src/applications/conduit/query/PhabricatorConduitLogQuery.php
@@ -107,7 +107,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorConduitApplication';
+ return PhabricatorConduitApplication::class;
}
}
diff --git a/src/applications/conduit/query/PhabricatorConduitLogSearchEngine.php b/src/applications/conduit/query/PhabricatorConduitLogSearchEngine.php
--- a/src/applications/conduit/query/PhabricatorConduitLogSearchEngine.php
+++ b/src/applications/conduit/query/PhabricatorConduitLogSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorConduitApplication';
+ return PhabricatorConduitApplication::class;
}
public function canUseInPanelContext() {
diff --git a/src/applications/conduit/query/PhabricatorConduitMethodQuery.php b/src/applications/conduit/query/PhabricatorConduitMethodQuery.php
--- a/src/applications/conduit/query/PhabricatorConduitMethodQuery.php
+++ b/src/applications/conduit/query/PhabricatorConduitMethodQuery.php
@@ -152,7 +152,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorConduitApplication';
+ return PhabricatorConduitApplication::class;
}
}
diff --git a/src/applications/conduit/query/PhabricatorConduitSearchEngine.php b/src/applications/conduit/query/PhabricatorConduitSearchEngine.php
--- a/src/applications/conduit/query/PhabricatorConduitSearchEngine.php
+++ b/src/applications/conduit/query/PhabricatorConduitSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorConduitApplication';
+ return PhabricatorConduitApplication::class;
}
public function canUseInPanelContext() {
diff --git a/src/applications/conduit/query/PhabricatorConduitTokenQuery.php b/src/applications/conduit/query/PhabricatorConduitTokenQuery.php
--- a/src/applications/conduit/query/PhabricatorConduitTokenQuery.php
+++ b/src/applications/conduit/query/PhabricatorConduitTokenQuery.php
@@ -109,7 +109,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorConduitApplication';
+ return PhabricatorConduitApplication::class;
}
}
diff --git a/src/applications/config/editor/PhabricatorConfigEditor.php b/src/applications/config/editor/PhabricatorConfigEditor.php
--- a/src/applications/config/editor/PhabricatorConfigEditor.php
+++ b/src/applications/config/editor/PhabricatorConfigEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorConfigApplication';
+ return PhabricatorConfigApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/config/phid/PhabricatorConfigConfigPHIDType.php b/src/applications/config/phid/PhabricatorConfigConfigPHIDType.php
--- a/src/applications/config/phid/PhabricatorConfigConfigPHIDType.php
+++ b/src/applications/config/phid/PhabricatorConfigConfigPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorConfigApplication';
+ return PhabricatorConfigApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/config/query/PhabricatorConfigEntryQuery.php b/src/applications/config/query/PhabricatorConfigEntryQuery.php
--- a/src/applications/config/query/PhabricatorConfigEntryQuery.php
+++ b/src/applications/config/query/PhabricatorConfigEntryQuery.php
@@ -54,7 +54,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorConfigApplication';
+ return PhabricatorConfigApplication::class;
}
}
diff --git a/src/applications/conpherence/editor/ConpherenceEditEngine.php b/src/applications/conpherence/editor/ConpherenceEditEngine.php
--- a/src/applications/conpherence/editor/ConpherenceEditEngine.php
+++ b/src/applications/conpherence/editor/ConpherenceEditEngine.php
@@ -10,7 +10,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorConpherenceApplication';
+ return PhabricatorConpherenceApplication::class;
}
public function getSummaryHeader() {
diff --git a/src/applications/conpherence/editor/ConpherenceEditor.php b/src/applications/conpherence/editor/ConpherenceEditor.php
--- a/src/applications/conpherence/editor/ConpherenceEditor.php
+++ b/src/applications/conpherence/editor/ConpherenceEditor.php
@@ -6,7 +6,7 @@
const ERROR_EMPTY_MESSAGE = 'error-empty-message';
public function getEditorApplicationClass() {
- return 'PhabricatorConpherenceApplication';
+ return PhabricatorConpherenceApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/conpherence/phid/PhabricatorConpherenceThreadPHIDType.php b/src/applications/conpherence/phid/PhabricatorConpherenceThreadPHIDType.php
--- a/src/applications/conpherence/phid/PhabricatorConpherenceThreadPHIDType.php
+++ b/src/applications/conpherence/phid/PhabricatorConpherenceThreadPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorConpherenceApplication';
+ return PhabricatorConpherenceApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/conpherence/query/ConpherenceThreadQuery.php b/src/applications/conpherence/query/ConpherenceThreadQuery.php
--- a/src/applications/conpherence/query/ConpherenceThreadQuery.php
+++ b/src/applications/conpherence/query/ConpherenceThreadQuery.php
@@ -335,7 +335,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorConpherenceApplication';
+ return PhabricatorConpherenceApplication::class;
}
protected function getPrimaryTableAlias() {
diff --git a/src/applications/conpherence/query/ConpherenceThreadSearchEngine.php b/src/applications/conpherence/query/ConpherenceThreadSearchEngine.php
--- a/src/applications/conpherence/query/ConpherenceThreadSearchEngine.php
+++ b/src/applications/conpherence/query/ConpherenceThreadSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorConpherenceApplication';
+ return PhabricatorConpherenceApplication::class;
}
public function newQuery() {
diff --git a/src/applications/conpherence/typeahead/ConpherenceThreadDatasource.php b/src/applications/conpherence/typeahead/ConpherenceThreadDatasource.php
--- a/src/applications/conpherence/typeahead/ConpherenceThreadDatasource.php
+++ b/src/applications/conpherence/typeahead/ConpherenceThreadDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorConpherenceApplication';
+ return PhabricatorConpherenceApplication::class;
}
public function loadResults() {
diff --git a/src/applications/countdown/editor/PhabricatorCountdownEditEngine.php b/src/applications/countdown/editor/PhabricatorCountdownEditEngine.php
--- a/src/applications/countdown/editor/PhabricatorCountdownEditEngine.php
+++ b/src/applications/countdown/editor/PhabricatorCountdownEditEngine.php
@@ -22,7 +22,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorCountdownApplication';
+ return PhabricatorCountdownApplication::class;
}
protected function newEditableObject() {
diff --git a/src/applications/countdown/editor/PhabricatorCountdownEditor.php b/src/applications/countdown/editor/PhabricatorCountdownEditor.php
--- a/src/applications/countdown/editor/PhabricatorCountdownEditor.php
+++ b/src/applications/countdown/editor/PhabricatorCountdownEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorCountdownApplication';
+ return PhabricatorCountdownApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/countdown/phid/PhabricatorCountdownCountdownPHIDType.php b/src/applications/countdown/phid/PhabricatorCountdownCountdownPHIDType.php
--- a/src/applications/countdown/phid/PhabricatorCountdownCountdownPHIDType.php
+++ b/src/applications/countdown/phid/PhabricatorCountdownCountdownPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorCountdownApplication';
+ return PhabricatorCountdownApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/countdown/query/PhabricatorCountdownQuery.php b/src/applications/countdown/query/PhabricatorCountdownQuery.php
--- a/src/applications/countdown/query/PhabricatorCountdownQuery.php
+++ b/src/applications/countdown/query/PhabricatorCountdownQuery.php
@@ -67,7 +67,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorCountdownApplication';
+ return PhabricatorCountdownApplication::class;
}
public function getBuiltinOrders() {
diff --git a/src/applications/countdown/query/PhabricatorCountdownSearchEngine.php b/src/applications/countdown/query/PhabricatorCountdownSearchEngine.php
--- a/src/applications/countdown/query/PhabricatorCountdownSearchEngine.php
+++ b/src/applications/countdown/query/PhabricatorCountdownSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorCountdownApplication';
+ return PhabricatorCountdownApplication::class;
}
public function newQuery() {
diff --git a/src/applications/daemon/query/PhabricatorDaemonLogQuery.php b/src/applications/daemon/query/PhabricatorDaemonLogQuery.php
--- a/src/applications/daemon/query/PhabricatorDaemonLogQuery.php
+++ b/src/applications/daemon/query/PhabricatorDaemonLogQuery.php
@@ -189,7 +189,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorDaemonsApplication';
+ return PhabricatorDaemonsApplication::class;
}
}
diff --git a/src/applications/dashboard/editor/PhabricatorDashboardEditEngine.php b/src/applications/dashboard/editor/PhabricatorDashboardEditEngine.php
--- a/src/applications/dashboard/editor/PhabricatorDashboardEditEngine.php
+++ b/src/applications/dashboard/editor/PhabricatorDashboardEditEngine.php
@@ -22,7 +22,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorDashboardApplication';
+ return PhabricatorDashboardApplication::class;
}
protected function newEditableObject() {
diff --git a/src/applications/dashboard/editor/PhabricatorDashboardPanelEditEngine.php b/src/applications/dashboard/editor/PhabricatorDashboardPanelEditEngine.php
--- a/src/applications/dashboard/editor/PhabricatorDashboardPanelEditEngine.php
+++ b/src/applications/dashboard/editor/PhabricatorDashboardPanelEditEngine.php
@@ -57,7 +57,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorDashboardApplication';
+ return PhabricatorDashboardApplication::class;
}
protected function newEditableObject() {
diff --git a/src/applications/dashboard/editor/PhabricatorDashboardPanelTransactionEditor.php b/src/applications/dashboard/editor/PhabricatorDashboardPanelTransactionEditor.php
--- a/src/applications/dashboard/editor/PhabricatorDashboardPanelTransactionEditor.php
+++ b/src/applications/dashboard/editor/PhabricatorDashboardPanelTransactionEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorDashboardApplication';
+ return PhabricatorDashboardApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/dashboard/editor/PhabricatorDashboardPortalEditEngine.php b/src/applications/dashboard/editor/PhabricatorDashboardPortalEditEngine.php
--- a/src/applications/dashboard/editor/PhabricatorDashboardPortalEditEngine.php
+++ b/src/applications/dashboard/editor/PhabricatorDashboardPortalEditEngine.php
@@ -22,7 +22,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorDashboardApplication';
+ return PhabricatorDashboardApplication::class;
}
protected function newEditableObject() {
diff --git a/src/applications/dashboard/editor/PhabricatorDashboardPortalEditor.php b/src/applications/dashboard/editor/PhabricatorDashboardPortalEditor.php
--- a/src/applications/dashboard/editor/PhabricatorDashboardPortalEditor.php
+++ b/src/applications/dashboard/editor/PhabricatorDashboardPortalEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorDashboardApplication';
+ return PhabricatorDashboardApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/dashboard/editor/PhabricatorDashboardTransactionEditor.php b/src/applications/dashboard/editor/PhabricatorDashboardTransactionEditor.php
--- a/src/applications/dashboard/editor/PhabricatorDashboardTransactionEditor.php
+++ b/src/applications/dashboard/editor/PhabricatorDashboardTransactionEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorDashboardApplication';
+ return PhabricatorDashboardApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/dashboard/phid/PhabricatorDashboardDashboardPHIDType.php b/src/applications/dashboard/phid/PhabricatorDashboardDashboardPHIDType.php
--- a/src/applications/dashboard/phid/PhabricatorDashboardDashboardPHIDType.php
+++ b/src/applications/dashboard/phid/PhabricatorDashboardDashboardPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorDashboardApplication';
+ return PhabricatorDashboardApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/dashboard/phid/PhabricatorDashboardPanelPHIDType.php b/src/applications/dashboard/phid/PhabricatorDashboardPanelPHIDType.php
--- a/src/applications/dashboard/phid/PhabricatorDashboardPanelPHIDType.php
+++ b/src/applications/dashboard/phid/PhabricatorDashboardPanelPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorDashboardApplication';
+ return PhabricatorDashboardApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/dashboard/phid/PhabricatorDashboardPortalPHIDType.php b/src/applications/dashboard/phid/PhabricatorDashboardPortalPHIDType.php
--- a/src/applications/dashboard/phid/PhabricatorDashboardPortalPHIDType.php
+++ b/src/applications/dashboard/phid/PhabricatorDashboardPortalPHIDType.php
@@ -14,7 +14,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorDashboardApplication';
+ return PhabricatorDashboardApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/dashboard/query/PhabricatorDashboardPanelQuery.php b/src/applications/dashboard/query/PhabricatorDashboardPanelQuery.php
--- a/src/applications/dashboard/query/PhabricatorDashboardPanelQuery.php
+++ b/src/applications/dashboard/query/PhabricatorDashboardPanelQuery.php
@@ -95,7 +95,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorDashboardApplication';
+ return PhabricatorDashboardApplication::class;
}
protected function getPrimaryTableAlias() {
diff --git a/src/applications/dashboard/query/PhabricatorDashboardPanelSearchEngine.php b/src/applications/dashboard/query/PhabricatorDashboardPanelSearchEngine.php
--- a/src/applications/dashboard/query/PhabricatorDashboardPanelSearchEngine.php
+++ b/src/applications/dashboard/query/PhabricatorDashboardPanelSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorDashboardApplication';
+ return PhabricatorDashboardApplication::class;
}
public function newQuery() {
diff --git a/src/applications/dashboard/query/PhabricatorDashboardPortalQuery.php b/src/applications/dashboard/query/PhabricatorDashboardPortalQuery.php
--- a/src/applications/dashboard/query/PhabricatorDashboardPortalQuery.php
+++ b/src/applications/dashboard/query/PhabricatorDashboardPortalQuery.php
@@ -54,7 +54,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorDashboardApplication';
+ return PhabricatorDashboardApplication::class;
}
protected function getPrimaryTableAlias() {
diff --git a/src/applications/dashboard/query/PhabricatorDashboardPortalSearchEngine.php b/src/applications/dashboard/query/PhabricatorDashboardPortalSearchEngine.php
--- a/src/applications/dashboard/query/PhabricatorDashboardPortalSearchEngine.php
+++ b/src/applications/dashboard/query/PhabricatorDashboardPortalSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorDashboardApplication';
+ return PhabricatorDashboardApplication::class;
}
public function newQuery() {
diff --git a/src/applications/dashboard/query/PhabricatorDashboardQuery.php b/src/applications/dashboard/query/PhabricatorDashboardQuery.php
--- a/src/applications/dashboard/query/PhabricatorDashboardQuery.php
+++ b/src/applications/dashboard/query/PhabricatorDashboardQuery.php
@@ -89,7 +89,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorDashboardApplication';
+ return PhabricatorDashboardApplication::class;
}
protected function getPrimaryTableAlias() {
diff --git a/src/applications/dashboard/query/PhabricatorDashboardSearchEngine.php b/src/applications/dashboard/query/PhabricatorDashboardSearchEngine.php
--- a/src/applications/dashboard/query/PhabricatorDashboardSearchEngine.php
+++ b/src/applications/dashboard/query/PhabricatorDashboardSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorDashboardApplication';
+ return PhabricatorDashboardApplication::class;
}
public function newQuery() {
diff --git a/src/applications/dashboard/typeahead/PhabricatorDashboardDatasource.php b/src/applications/dashboard/typeahead/PhabricatorDashboardDatasource.php
--- a/src/applications/dashboard/typeahead/PhabricatorDashboardDatasource.php
+++ b/src/applications/dashboard/typeahead/PhabricatorDashboardDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorDashboardApplication';
+ return PhabricatorDashboardApplication::class;
}
public function loadResults() {
diff --git a/src/applications/dashboard/typeahead/PhabricatorDashboardPanelDatasource.php b/src/applications/dashboard/typeahead/PhabricatorDashboardPanelDatasource.php
--- a/src/applications/dashboard/typeahead/PhabricatorDashboardPanelDatasource.php
+++ b/src/applications/dashboard/typeahead/PhabricatorDashboardPanelDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorDashboardApplication';
+ return PhabricatorDashboardApplication::class;
}
public function loadResults() {
diff --git a/src/applications/dashboard/typeahead/PhabricatorDashboardPortalDatasource.php b/src/applications/dashboard/typeahead/PhabricatorDashboardPortalDatasource.php
--- a/src/applications/dashboard/typeahead/PhabricatorDashboardPortalDatasource.php
+++ b/src/applications/dashboard/typeahead/PhabricatorDashboardPortalDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorDashboardApplication';
+ return PhabricatorDashboardApplication::class;
}
public function loadResults() {
diff --git a/src/applications/differential/editor/DifferentialDiffEditor.php b/src/applications/differential/editor/DifferentialDiffEditor.php
--- a/src/applications/differential/editor/DifferentialDiffEditor.php
+++ b/src/applications/differential/editor/DifferentialDiffEditor.php
@@ -12,7 +12,7 @@
}
public function getEditorApplicationClass() {
- return 'PhabricatorDifferentialApplication';
+ return PhabricatorDifferentialApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/differential/editor/DifferentialRevisionEditEngine.php b/src/applications/differential/editor/DifferentialRevisionEditEngine.php
--- a/src/applications/differential/editor/DifferentialRevisionEditEngine.php
+++ b/src/applications/differential/editor/DifferentialRevisionEditEngine.php
@@ -24,7 +24,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorDifferentialApplication';
+ return PhabricatorDifferentialApplication::class;
}
public function isEngineConfigurable() {
diff --git a/src/applications/differential/editor/DifferentialTransactionEditor.php b/src/applications/differential/editor/DifferentialTransactionEditor.php
--- a/src/applications/differential/editor/DifferentialTransactionEditor.php
+++ b/src/applications/differential/editor/DifferentialTransactionEditor.php
@@ -15,7 +15,7 @@
private $ownersChangesets;
public function getEditorApplicationClass() {
- return 'PhabricatorDifferentialApplication';
+ return PhabricatorDifferentialApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/differential/herald/HeraldDifferentialDiffAdapter.php b/src/applications/differential/herald/HeraldDifferentialDiffAdapter.php
--- a/src/applications/differential/herald/HeraldDifferentialDiffAdapter.php
+++ b/src/applications/differential/herald/HeraldDifferentialDiffAdapter.php
@@ -3,7 +3,7 @@
final class HeraldDifferentialDiffAdapter extends HeraldDifferentialAdapter {
public function getAdapterApplicationClass() {
- return 'PhabricatorDifferentialApplication';
+ return PhabricatorDifferentialApplication::class;
}
protected function initializeNewAdapter() {
diff --git a/src/applications/differential/herald/HeraldDifferentialRevisionAdapter.php b/src/applications/differential/herald/HeraldDifferentialRevisionAdapter.php
--- a/src/applications/differential/herald/HeraldDifferentialRevisionAdapter.php
+++ b/src/applications/differential/herald/HeraldDifferentialRevisionAdapter.php
@@ -13,7 +13,7 @@
private $buildRequests = array();
public function getAdapterApplicationClass() {
- return 'PhabricatorDifferentialApplication';
+ return PhabricatorDifferentialApplication::class;
}
protected function newObject() {
diff --git a/src/applications/differential/phid/DifferentialChangesetPHIDType.php b/src/applications/differential/phid/DifferentialChangesetPHIDType.php
--- a/src/applications/differential/phid/DifferentialChangesetPHIDType.php
+++ b/src/applications/differential/phid/DifferentialChangesetPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorDifferentialApplication';
+ return PhabricatorDifferentialApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/differential/phid/DifferentialDiffPHIDType.php b/src/applications/differential/phid/DifferentialDiffPHIDType.php
--- a/src/applications/differential/phid/DifferentialDiffPHIDType.php
+++ b/src/applications/differential/phid/DifferentialDiffPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorDifferentialApplication';
+ return PhabricatorDifferentialApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/differential/phid/DifferentialRevisionPHIDType.php b/src/applications/differential/phid/DifferentialRevisionPHIDType.php
--- a/src/applications/differential/phid/DifferentialRevisionPHIDType.php
+++ b/src/applications/differential/phid/DifferentialRevisionPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorDifferentialApplication';
+ return PhabricatorDifferentialApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/differential/query/DifferentialChangesetQuery.php b/src/applications/differential/query/DifferentialChangesetQuery.php
--- a/src/applications/differential/query/DifferentialChangesetQuery.php
+++ b/src/applications/differential/query/DifferentialChangesetQuery.php
@@ -172,7 +172,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorDifferentialApplication';
+ return PhabricatorDifferentialApplication::class;
}
}
diff --git a/src/applications/differential/query/DifferentialChangesetSearchEngine.php b/src/applications/differential/query/DifferentialChangesetSearchEngine.php
--- a/src/applications/differential/query/DifferentialChangesetSearchEngine.php
+++ b/src/applications/differential/query/DifferentialChangesetSearchEngine.php
@@ -19,7 +19,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorDifferentialApplication';
+ return PhabricatorDifferentialApplication::class;
}
public function canUseInPanelContext() {
diff --git a/src/applications/differential/query/DifferentialDiffQuery.php b/src/applications/differential/query/DifferentialDiffQuery.php
--- a/src/applications/differential/query/DifferentialDiffQuery.php
+++ b/src/applications/differential/query/DifferentialDiffQuery.php
@@ -185,7 +185,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorDifferentialApplication';
+ return PhabricatorDifferentialApplication::class;
}
}
diff --git a/src/applications/differential/query/DifferentialDiffSearchEngine.php b/src/applications/differential/query/DifferentialDiffSearchEngine.php
--- a/src/applications/differential/query/DifferentialDiffSearchEngine.php
+++ b/src/applications/differential/query/DifferentialDiffSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorDifferentialApplication';
+ return PhabricatorDifferentialApplication::class;
}
public function newQuery() {
diff --git a/src/applications/differential/query/DifferentialHunkQuery.php b/src/applications/differential/query/DifferentialHunkQuery.php
--- a/src/applications/differential/query/DifferentialHunkQuery.php
+++ b/src/applications/differential/query/DifferentialHunkQuery.php
@@ -78,7 +78,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorDifferentialApplication';
+ return PhabricatorDifferentialApplication::class;
}
protected function getDefaultOrderVector() {
diff --git a/src/applications/differential/query/DifferentialRevisionQuery.php b/src/applications/differential/query/DifferentialRevisionQuery.php
--- a/src/applications/differential/query/DifferentialRevisionQuery.php
+++ b/src/applications/differential/query/DifferentialRevisionQuery.php
@@ -1081,7 +1081,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorDifferentialApplication';
+ return PhabricatorDifferentialApplication::class;
}
protected function getPrimaryTableAlias() {
diff --git a/src/applications/differential/query/DifferentialRevisionSearchEngine.php b/src/applications/differential/query/DifferentialRevisionSearchEngine.php
--- a/src/applications/differential/query/DifferentialRevisionSearchEngine.php
+++ b/src/applications/differential/query/DifferentialRevisionSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorDifferentialApplication';
+ return PhabricatorDifferentialApplication::class;
}
protected function newResultBuckets() {
diff --git a/src/applications/differential/query/DifferentialViewStateQuery.php b/src/applications/differential/query/DifferentialViewStateQuery.php
--- a/src/applications/differential/query/DifferentialViewStateQuery.php
+++ b/src/applications/differential/query/DifferentialViewStateQuery.php
@@ -54,7 +54,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorDifferentialApplication';
+ return PhabricatorDifferentialApplication::class;
}
}
diff --git a/src/applications/differential/typeahead/DifferentialBlockingReviewerDatasource.php b/src/applications/differential/typeahead/DifferentialBlockingReviewerDatasource.php
--- a/src/applications/differential/typeahead/DifferentialBlockingReviewerDatasource.php
+++ b/src/applications/differential/typeahead/DifferentialBlockingReviewerDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorDifferentialApplication';
+ return PhabricatorDifferentialApplication::class;
}
public function getComponentDatasources() {
diff --git a/src/applications/differential/typeahead/DifferentialExactUserFunctionDatasource.php b/src/applications/differential/typeahead/DifferentialExactUserFunctionDatasource.php
--- a/src/applications/differential/typeahead/DifferentialExactUserFunctionDatasource.php
+++ b/src/applications/differential/typeahead/DifferentialExactUserFunctionDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorPeopleApplication';
+ return PhabricatorPeopleApplication::class;
}
public function getComponentDatasources() {
diff --git a/src/applications/differential/typeahead/DifferentialNoReviewersDatasource.php b/src/applications/differential/typeahead/DifferentialNoReviewersDatasource.php
--- a/src/applications/differential/typeahead/DifferentialNoReviewersDatasource.php
+++ b/src/applications/differential/typeahead/DifferentialNoReviewersDatasource.php
@@ -14,7 +14,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorDifferentialApplication';
+ return PhabricatorDifferentialApplication::class;
}
public function getDatasourceFunctions() {
diff --git a/src/applications/differential/typeahead/DifferentialResponsibleDatasource.php b/src/applications/differential/typeahead/DifferentialResponsibleDatasource.php
--- a/src/applications/differential/typeahead/DifferentialResponsibleDatasource.php
+++ b/src/applications/differential/typeahead/DifferentialResponsibleDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorDifferentialApplication';
+ return PhabricatorDifferentialApplication::class;
}
public function getComponentDatasources() {
diff --git a/src/applications/differential/typeahead/DifferentialResponsibleUserDatasource.php b/src/applications/differential/typeahead/DifferentialResponsibleUserDatasource.php
--- a/src/applications/differential/typeahead/DifferentialResponsibleUserDatasource.php
+++ b/src/applications/differential/typeahead/DifferentialResponsibleUserDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorDifferentialApplication';
+ return PhabricatorDifferentialApplication::class;
}
public function getComponentDatasources() {
diff --git a/src/applications/differential/typeahead/DifferentialResponsibleViewerFunctionDatasource.php b/src/applications/differential/typeahead/DifferentialResponsibleViewerFunctionDatasource.php
--- a/src/applications/differential/typeahead/DifferentialResponsibleViewerFunctionDatasource.php
+++ b/src/applications/differential/typeahead/DifferentialResponsibleViewerFunctionDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorPeopleApplication';
+ return PhabricatorPeopleApplication::class;
}
public function getDatasourceFunctions() {
diff --git a/src/applications/differential/typeahead/DifferentialReviewerDatasource.php b/src/applications/differential/typeahead/DifferentialReviewerDatasource.php
--- a/src/applications/differential/typeahead/DifferentialReviewerDatasource.php
+++ b/src/applications/differential/typeahead/DifferentialReviewerDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorDifferentialApplication';
+ return PhabricatorDifferentialApplication::class;
}
public function getComponentDatasources() {
diff --git a/src/applications/differential/typeahead/DifferentialReviewerFunctionDatasource.php b/src/applications/differential/typeahead/DifferentialReviewerFunctionDatasource.php
--- a/src/applications/differential/typeahead/DifferentialReviewerFunctionDatasource.php
+++ b/src/applications/differential/typeahead/DifferentialReviewerFunctionDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorDifferentialApplication';
+ return PhabricatorDifferentialApplication::class;
}
public function getComponentDatasources() {
diff --git a/src/applications/differential/typeahead/DifferentialRevisionClosedStatusDatasource.php b/src/applications/differential/typeahead/DifferentialRevisionClosedStatusDatasource.php
--- a/src/applications/differential/typeahead/DifferentialRevisionClosedStatusDatasource.php
+++ b/src/applications/differential/typeahead/DifferentialRevisionClosedStatusDatasource.php
@@ -14,7 +14,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorDifferentialApplication';
+ return PhabricatorDifferentialApplication::class;
}
public function getDatasourceFunctions() {
diff --git a/src/applications/differential/typeahead/DifferentialRevisionOpenStatusDatasource.php b/src/applications/differential/typeahead/DifferentialRevisionOpenStatusDatasource.php
--- a/src/applications/differential/typeahead/DifferentialRevisionOpenStatusDatasource.php
+++ b/src/applications/differential/typeahead/DifferentialRevisionOpenStatusDatasource.php
@@ -14,7 +14,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorDifferentialApplication';
+ return PhabricatorDifferentialApplication::class;
}
public function getDatasourceFunctions() {
diff --git a/src/applications/differential/typeahead/DifferentialRevisionStatusDatasource.php b/src/applications/differential/typeahead/DifferentialRevisionStatusDatasource.php
--- a/src/applications/differential/typeahead/DifferentialRevisionStatusDatasource.php
+++ b/src/applications/differential/typeahead/DifferentialRevisionStatusDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorDifferentialApplication';
+ return PhabricatorDifferentialApplication::class;
}
public function loadResults() {
diff --git a/src/applications/diffusion/editor/DiffusionCommitEditEngine.php b/src/applications/diffusion/editor/DiffusionCommitEditEngine.php
--- a/src/applications/diffusion/editor/DiffusionCommitEditEngine.php
+++ b/src/applications/diffusion/editor/DiffusionCommitEditEngine.php
@@ -25,7 +25,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorDiffusionApplication';
+ return PhabricatorDiffusionApplication::class;
}
protected function newEditableObject() {
diff --git a/src/applications/diffusion/editor/DiffusionRepositoryEditEngine.php b/src/applications/diffusion/editor/DiffusionRepositoryEditEngine.php
--- a/src/applications/diffusion/editor/DiffusionRepositoryEditEngine.php
+++ b/src/applications/diffusion/editor/DiffusionRepositoryEditEngine.php
@@ -41,7 +41,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorDiffusionApplication';
+ return PhabricatorDiffusionApplication::class;
}
protected function newEditableObject() {
diff --git a/src/applications/diffusion/editor/DiffusionRepositoryIdentityEditor.php b/src/applications/diffusion/editor/DiffusionRepositoryIdentityEditor.php
--- a/src/applications/diffusion/editor/DiffusionRepositoryIdentityEditor.php
+++ b/src/applications/diffusion/editor/DiffusionRepositoryIdentityEditor.php
@@ -20,7 +20,7 @@
}
public function getEditorApplicationClass() {
- return 'PhabricatorDiffusionApplication';
+ return PhabricatorDiffusionApplication::class;
}
}
diff --git a/src/applications/diffusion/editor/DiffusionURIEditEngine.php b/src/applications/diffusion/editor/DiffusionURIEditEngine.php
--- a/src/applications/diffusion/editor/DiffusionURIEditEngine.php
+++ b/src/applications/diffusion/editor/DiffusionURIEditEngine.php
@@ -33,7 +33,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorDiffusionApplication';
+ return PhabricatorDiffusionApplication::class;
}
protected function newEditableObject() {
diff --git a/src/applications/diffusion/editor/DiffusionURIEditor.php b/src/applications/diffusion/editor/DiffusionURIEditor.php
--- a/src/applications/diffusion/editor/DiffusionURIEditor.php
+++ b/src/applications/diffusion/editor/DiffusionURIEditor.php
@@ -7,7 +7,7 @@
private $repositoryPHID;
public function getEditorApplicationClass() {
- return 'PhabricatorDiffusionApplication';
+ return PhabricatorDiffusionApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/diffusion/herald/HeraldCommitAdapter.php b/src/applications/diffusion/herald/HeraldCommitAdapter.php
--- a/src/applications/diffusion/herald/HeraldCommitAdapter.php
+++ b/src/applications/diffusion/herald/HeraldCommitAdapter.php
@@ -18,7 +18,7 @@
private $buildRequests = array();
public function getAdapterApplicationClass() {
- return 'PhabricatorDiffusionApplication';
+ return PhabricatorDiffusionApplication::class;
}
protected function newObject() {
diff --git a/src/applications/diffusion/herald/HeraldPreCommitAdapter.php b/src/applications/diffusion/herald/HeraldPreCommitAdapter.php
--- a/src/applications/diffusion/herald/HeraldPreCommitAdapter.php
+++ b/src/applications/diffusion/herald/HeraldPreCommitAdapter.php
@@ -22,7 +22,7 @@
}
public function getAdapterApplicationClass() {
- return 'PhabricatorDiffusionApplication';
+ return PhabricatorDiffusionApplication::class;
}
public function isTestAdapterForObject($object) {
diff --git a/src/applications/diffusion/query/DiffusionCommitHintQuery.php b/src/applications/diffusion/query/DiffusionCommitHintQuery.php
--- a/src/applications/diffusion/query/DiffusionCommitHintQuery.php
+++ b/src/applications/diffusion/query/DiffusionCommitHintQuery.php
@@ -106,7 +106,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorDiffusionApplication';
+ return PhabricatorDiffusionApplication::class;
}
}
diff --git a/src/applications/diffusion/query/DiffusionCommitQuery.php b/src/applications/diffusion/query/DiffusionCommitQuery.php
--- a/src/applications/diffusion/query/DiffusionCommitQuery.php
+++ b/src/applications/diffusion/query/DiffusionCommitQuery.php
@@ -931,7 +931,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorDiffusionApplication';
+ return PhabricatorDiffusionApplication::class;
}
public function getOrderableColumns() {
diff --git a/src/applications/diffusion/query/DiffusionPullLogSearchEngine.php b/src/applications/diffusion/query/DiffusionPullLogSearchEngine.php
--- a/src/applications/diffusion/query/DiffusionPullLogSearchEngine.php
+++ b/src/applications/diffusion/query/DiffusionPullLogSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorDiffusionApplication';
+ return PhabricatorDiffusionApplication::class;
}
public function newQuery() {
diff --git a/src/applications/diffusion/query/DiffusionRepositoryIdentitySearchEngine.php b/src/applications/diffusion/query/DiffusionRepositoryIdentitySearchEngine.php
--- a/src/applications/diffusion/query/DiffusionRepositoryIdentitySearchEngine.php
+++ b/src/applications/diffusion/query/DiffusionRepositoryIdentitySearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorDiffusionApplication';
+ return PhabricatorDiffusionApplication::class;
}
public function newQuery() {
diff --git a/src/applications/diffusion/query/DiffusionSyncLogSearchEngine.php b/src/applications/diffusion/query/DiffusionSyncLogSearchEngine.php
--- a/src/applications/diffusion/query/DiffusionSyncLogSearchEngine.php
+++ b/src/applications/diffusion/query/DiffusionSyncLogSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorDiffusionApplication';
+ return PhabricatorDiffusionApplication::class;
}
public function newQuery() {
diff --git a/src/applications/diffusion/typeahead/DiffusionAuditorDatasource.php b/src/applications/diffusion/typeahead/DiffusionAuditorDatasource.php
--- a/src/applications/diffusion/typeahead/DiffusionAuditorDatasource.php
+++ b/src/applications/diffusion/typeahead/DiffusionAuditorDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorDiffusionApplication';
+ return PhabricatorDiffusionApplication::class;
}
public function getComponentDatasources() {
diff --git a/src/applications/diffusion/typeahead/DiffusionAuditorFunctionDatasource.php b/src/applications/diffusion/typeahead/DiffusionAuditorFunctionDatasource.php
--- a/src/applications/diffusion/typeahead/DiffusionAuditorFunctionDatasource.php
+++ b/src/applications/diffusion/typeahead/DiffusionAuditorFunctionDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorDiffusionApplication';
+ return PhabricatorDiffusionApplication::class;
}
public function getComponentDatasources() {
diff --git a/src/applications/diffusion/typeahead/DiffusionIdentityUnassignedDatasource.php b/src/applications/diffusion/typeahead/DiffusionIdentityUnassignedDatasource.php
--- a/src/applications/diffusion/typeahead/DiffusionIdentityUnassignedDatasource.php
+++ b/src/applications/diffusion/typeahead/DiffusionIdentityUnassignedDatasource.php
@@ -14,7 +14,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorDiffusionApplication';
+ return PhabricatorDiffusionApplication::class;
}
public function getDatasourceFunctions() {
diff --git a/src/applications/diffusion/typeahead/DiffusionRefDatasource.php b/src/applications/diffusion/typeahead/DiffusionRefDatasource.php
--- a/src/applications/diffusion/typeahead/DiffusionRefDatasource.php
+++ b/src/applications/diffusion/typeahead/DiffusionRefDatasource.php
@@ -15,7 +15,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorDiffusionApplication';
+ return PhabricatorDiffusionApplication::class;
}
public function loadResults() {
diff --git a/src/applications/diffusion/typeahead/DiffusionRepositoryDatasource.php b/src/applications/diffusion/typeahead/DiffusionRepositoryDatasource.php
--- a/src/applications/diffusion/typeahead/DiffusionRepositoryDatasource.php
+++ b/src/applications/diffusion/typeahead/DiffusionRepositoryDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorDiffusionApplication';
+ return PhabricatorDiffusionApplication::class;
}
public function loadResults() {
diff --git a/src/applications/diffusion/typeahead/DiffusionRepositoryFunctionDatasource.php b/src/applications/diffusion/typeahead/DiffusionRepositoryFunctionDatasource.php
--- a/src/applications/diffusion/typeahead/DiffusionRepositoryFunctionDatasource.php
+++ b/src/applications/diffusion/typeahead/DiffusionRepositoryFunctionDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorDifferentialApplication';
+ return PhabricatorDifferentialApplication::class;
}
public function getComponentDatasources() {
diff --git a/src/applications/diffusion/typeahead/DiffusionSymbolDatasource.php b/src/applications/diffusion/typeahead/DiffusionSymbolDatasource.php
--- a/src/applications/diffusion/typeahead/DiffusionSymbolDatasource.php
+++ b/src/applications/diffusion/typeahead/DiffusionSymbolDatasource.php
@@ -18,7 +18,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorDiffusionApplication';
+ return PhabricatorDiffusionApplication::class;
}
public function loadResults() {
diff --git a/src/applications/diffusion/typeahead/DiffusionTaggedRepositoriesFunctionDatasource.php b/src/applications/diffusion/typeahead/DiffusionTaggedRepositoriesFunctionDatasource.php
--- a/src/applications/diffusion/typeahead/DiffusionTaggedRepositoriesFunctionDatasource.php
+++ b/src/applications/diffusion/typeahead/DiffusionTaggedRepositoriesFunctionDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorProjectApplication';
+ return PhabricatorProjectApplication::class;
}
public function getComponentDatasources() {
diff --git a/src/applications/diviner/editor/DivinerLiveBookEditor.php b/src/applications/diviner/editor/DivinerLiveBookEditor.php
--- a/src/applications/diviner/editor/DivinerLiveBookEditor.php
+++ b/src/applications/diviner/editor/DivinerLiveBookEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorDivinerApplication';
+ return PhabricatorDivinerApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/diviner/phid/DivinerAtomPHIDType.php b/src/applications/diviner/phid/DivinerAtomPHIDType.php
--- a/src/applications/diviner/phid/DivinerAtomPHIDType.php
+++ b/src/applications/diviner/phid/DivinerAtomPHIDType.php
@@ -17,7 +17,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorDivinerApplication';
+ return PhabricatorDivinerApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/diviner/phid/DivinerBookPHIDType.php b/src/applications/diviner/phid/DivinerBookPHIDType.php
--- a/src/applications/diviner/phid/DivinerBookPHIDType.php
+++ b/src/applications/diviner/phid/DivinerBookPHIDType.php
@@ -17,7 +17,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorDivinerApplication';
+ return PhabricatorDivinerApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/diviner/query/DivinerAtomQuery.php b/src/applications/diviner/query/DivinerAtomQuery.php
--- a/src/applications/diviner/query/DivinerAtomQuery.php
+++ b/src/applications/diviner/query/DivinerAtomQuery.php
@@ -505,7 +505,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorDivinerApplication';
+ return PhabricatorDivinerApplication::class;
}
}
diff --git a/src/applications/diviner/query/DivinerAtomSearchEngine.php b/src/applications/diviner/query/DivinerAtomSearchEngine.php
--- a/src/applications/diviner/query/DivinerAtomSearchEngine.php
+++ b/src/applications/diviner/query/DivinerAtomSearchEngine.php
@@ -7,7 +7,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorDivinerApplication';
+ return PhabricatorDivinerApplication::class;
}
public function canUseInPanelContext() {
diff --git a/src/applications/diviner/query/DivinerBookQuery.php b/src/applications/diviner/query/DivinerBookQuery.php
--- a/src/applications/diviner/query/DivinerBookQuery.php
+++ b/src/applications/diviner/query/DivinerBookQuery.php
@@ -167,7 +167,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorDivinerApplication';
+ return PhabricatorDivinerApplication::class;
}
public function getOrderableColumns() {
diff --git a/src/applications/diviner/typeahead/DivinerBookDatasource.php b/src/applications/diviner/typeahead/DivinerBookDatasource.php
--- a/src/applications/diviner/typeahead/DivinerBookDatasource.php
+++ b/src/applications/diviner/typeahead/DivinerBookDatasource.php
@@ -11,7 +11,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorDivinerApplication';
+ return PhabricatorDivinerApplication::class;
}
public function loadResults() {
diff --git a/src/applications/doorkeeper/phid/DoorkeeperExternalObjectPHIDType.php b/src/applications/doorkeeper/phid/DoorkeeperExternalObjectPHIDType.php
--- a/src/applications/doorkeeper/phid/DoorkeeperExternalObjectPHIDType.php
+++ b/src/applications/doorkeeper/phid/DoorkeeperExternalObjectPHIDType.php
@@ -14,7 +14,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorDoorkeeperApplication';
+ return PhabricatorDoorkeeperApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/doorkeeper/query/DoorkeeperExternalObjectQuery.php b/src/applications/doorkeeper/query/DoorkeeperExternalObjectQuery.php
--- a/src/applications/doorkeeper/query/DoorkeeperExternalObjectQuery.php
+++ b/src/applications/doorkeeper/query/DoorkeeperExternalObjectQuery.php
@@ -41,7 +41,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorDoorkeeperApplication';
+ return PhabricatorDoorkeeperApplication::class;
}
}
diff --git a/src/applications/drydock/editor/DrydockBlueprintEditEngine.php b/src/applications/drydock/editor/DrydockBlueprintEditEngine.php
--- a/src/applications/drydock/editor/DrydockBlueprintEditEngine.php
+++ b/src/applications/drydock/editor/DrydockBlueprintEditEngine.php
@@ -24,7 +24,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorDrydockApplication';
+ return PhabricatorDrydockApplication::class;
}
public function setBlueprintImplementation(
diff --git a/src/applications/drydock/editor/DrydockBlueprintEditor.php b/src/applications/drydock/editor/DrydockBlueprintEditor.php
--- a/src/applications/drydock/editor/DrydockBlueprintEditor.php
+++ b/src/applications/drydock/editor/DrydockBlueprintEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorDrydockApplication';
+ return PhabricatorDrydockApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/drydock/phid/DrydockAuthorizationPHIDType.php b/src/applications/drydock/phid/DrydockAuthorizationPHIDType.php
--- a/src/applications/drydock/phid/DrydockAuthorizationPHIDType.php
+++ b/src/applications/drydock/phid/DrydockAuthorizationPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorDrydockApplication';
+ return PhabricatorDrydockApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/drydock/phid/DrydockBlueprintPHIDType.php b/src/applications/drydock/phid/DrydockBlueprintPHIDType.php
--- a/src/applications/drydock/phid/DrydockBlueprintPHIDType.php
+++ b/src/applications/drydock/phid/DrydockBlueprintPHIDType.php
@@ -17,7 +17,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorDrydockApplication';
+ return PhabricatorDrydockApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/drydock/phid/DrydockLeasePHIDType.php b/src/applications/drydock/phid/DrydockLeasePHIDType.php
--- a/src/applications/drydock/phid/DrydockLeasePHIDType.php
+++ b/src/applications/drydock/phid/DrydockLeasePHIDType.php
@@ -17,7 +17,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorDrydockApplication';
+ return PhabricatorDrydockApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/drydock/phid/DrydockRepositoryOperationPHIDType.php b/src/applications/drydock/phid/DrydockRepositoryOperationPHIDType.php
--- a/src/applications/drydock/phid/DrydockRepositoryOperationPHIDType.php
+++ b/src/applications/drydock/phid/DrydockRepositoryOperationPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorDrydockApplication';
+ return PhabricatorDrydockApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/drydock/phid/DrydockResourcePHIDType.php b/src/applications/drydock/phid/DrydockResourcePHIDType.php
--- a/src/applications/drydock/phid/DrydockResourcePHIDType.php
+++ b/src/applications/drydock/phid/DrydockResourcePHIDType.php
@@ -17,7 +17,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorDrydockApplication';
+ return PhabricatorDrydockApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/drydock/query/DrydockAuthorizationSearchEngine.php b/src/applications/drydock/query/DrydockAuthorizationSearchEngine.php
--- a/src/applications/drydock/query/DrydockAuthorizationSearchEngine.php
+++ b/src/applications/drydock/query/DrydockAuthorizationSearchEngine.php
@@ -19,7 +19,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorDrydockApplication';
+ return PhabricatorDrydockApplication::class;
}
public function canUseInPanelContext() {
diff --git a/src/applications/drydock/query/DrydockBlueprintSearchEngine.php b/src/applications/drydock/query/DrydockBlueprintSearchEngine.php
--- a/src/applications/drydock/query/DrydockBlueprintSearchEngine.php
+++ b/src/applications/drydock/query/DrydockBlueprintSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorDrydockApplication';
+ return PhabricatorDrydockApplication::class;
}
public function newQuery() {
diff --git a/src/applications/drydock/query/DrydockLeaseSearchEngine.php b/src/applications/drydock/query/DrydockLeaseSearchEngine.php
--- a/src/applications/drydock/query/DrydockLeaseSearchEngine.php
+++ b/src/applications/drydock/query/DrydockLeaseSearchEngine.php
@@ -19,7 +19,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorDrydockApplication';
+ return PhabricatorDrydockApplication::class;
}
public function newQuery() {
diff --git a/src/applications/drydock/query/DrydockLogSearchEngine.php b/src/applications/drydock/query/DrydockLogSearchEngine.php
--- a/src/applications/drydock/query/DrydockLogSearchEngine.php
+++ b/src/applications/drydock/query/DrydockLogSearchEngine.php
@@ -54,7 +54,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorDrydockApplication';
+ return PhabricatorDrydockApplication::class;
}
public function newQuery() {
diff --git a/src/applications/drydock/query/DrydockQuery.php b/src/applications/drydock/query/DrydockQuery.php
--- a/src/applications/drydock/query/DrydockQuery.php
+++ b/src/applications/drydock/query/DrydockQuery.php
@@ -3,7 +3,7 @@
abstract class DrydockQuery extends PhabricatorCursorPagedPolicyAwareQuery {
public function getQueryApplicationClass() {
- return 'PhabricatorDrydockApplication';
+ return PhabricatorDrydockApplication::class;
}
}
diff --git a/src/applications/drydock/query/DrydockRepositoryOperationSearchEngine.php b/src/applications/drydock/query/DrydockRepositoryOperationSearchEngine.php
--- a/src/applications/drydock/query/DrydockRepositoryOperationSearchEngine.php
+++ b/src/applications/drydock/query/DrydockRepositoryOperationSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorDrydockApplication';
+ return PhabricatorDrydockApplication::class;
}
public function newQuery() {
diff --git a/src/applications/drydock/query/DrydockResourceSearchEngine.php b/src/applications/drydock/query/DrydockResourceSearchEngine.php
--- a/src/applications/drydock/query/DrydockResourceSearchEngine.php
+++ b/src/applications/drydock/query/DrydockResourceSearchEngine.php
@@ -19,7 +19,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorDrydockApplication';
+ return PhabricatorDrydockApplication::class;
}
public function newQuery() {
diff --git a/src/applications/drydock/typeahead/DrydockBlueprintDatasource.php b/src/applications/drydock/typeahead/DrydockBlueprintDatasource.php
--- a/src/applications/drydock/typeahead/DrydockBlueprintDatasource.php
+++ b/src/applications/drydock/typeahead/DrydockBlueprintDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorDrydockApplication';
+ return PhabricatorDrydockApplication::class;
}
public function loadResults() {
diff --git a/src/applications/drydock/typeahead/DrydockLeaseDatasource.php b/src/applications/drydock/typeahead/DrydockLeaseDatasource.php
--- a/src/applications/drydock/typeahead/DrydockLeaseDatasource.php
+++ b/src/applications/drydock/typeahead/DrydockLeaseDatasource.php
@@ -8,7 +8,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorDrydockApplication';
+ return PhabricatorDrydockApplication::class;
}
public function loadResults() {
diff --git a/src/applications/drydock/typeahead/DrydockResourceDatasource.php b/src/applications/drydock/typeahead/DrydockResourceDatasource.php
--- a/src/applications/drydock/typeahead/DrydockResourceDatasource.php
+++ b/src/applications/drydock/typeahead/DrydockResourceDatasource.php
@@ -8,7 +8,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorDrydockApplication';
+ return PhabricatorDrydockApplication::class;
}
public function loadResults() {
diff --git a/src/applications/feed/query/PhabricatorFeedQuery.php b/src/applications/feed/query/PhabricatorFeedQuery.php
--- a/src/applications/feed/query/PhabricatorFeedQuery.php
+++ b/src/applications/feed/query/PhabricatorFeedQuery.php
@@ -169,7 +169,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorFeedApplication';
+ return PhabricatorFeedApplication::class;
}
}
diff --git a/src/applications/feed/query/PhabricatorFeedSearchEngine.php b/src/applications/feed/query/PhabricatorFeedSearchEngine.php
--- a/src/applications/feed/query/PhabricatorFeedSearchEngine.php
+++ b/src/applications/feed/query/PhabricatorFeedSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorFeedApplication';
+ return PhabricatorFeedApplication::class;
}
public function newQuery() {
diff --git a/src/applications/feed/query/PhabricatorFeedTransactionQuery.php b/src/applications/feed/query/PhabricatorFeedTransactionQuery.php
--- a/src/applications/feed/query/PhabricatorFeedTransactionQuery.php
+++ b/src/applications/feed/query/PhabricatorFeedTransactionQuery.php
@@ -145,7 +145,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorFeedApplication';
+ return PhabricatorFeedApplication::class;
}
private function newTransactionQueries() {
diff --git a/src/applications/feed/query/PhabricatorFeedTransactionSearchEngine.php b/src/applications/feed/query/PhabricatorFeedTransactionSearchEngine.php
--- a/src/applications/feed/query/PhabricatorFeedTransactionSearchEngine.php
+++ b/src/applications/feed/query/PhabricatorFeedTransactionSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorFeedApplication';
+ return PhabricatorFeedApplication::class;
}
public function newQuery() {
diff --git a/src/applications/files/editor/PhabricatorFileEditEngine.php b/src/applications/files/editor/PhabricatorFileEditEngine.php
--- a/src/applications/files/editor/PhabricatorFileEditEngine.php
+++ b/src/applications/files/editor/PhabricatorFileEditEngine.php
@@ -28,7 +28,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorFilesApplication';
+ return PhabricatorFilesApplication::class;
}
protected function newEditableObject() {
diff --git a/src/applications/files/editor/PhabricatorFileEditor.php b/src/applications/files/editor/PhabricatorFileEditor.php
--- a/src/applications/files/editor/PhabricatorFileEditor.php
+++ b/src/applications/files/editor/PhabricatorFileEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorFilesApplication';
+ return PhabricatorFilesApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/files/phid/PhabricatorFileFilePHIDType.php b/src/applications/files/phid/PhabricatorFileFilePHIDType.php
--- a/src/applications/files/phid/PhabricatorFileFilePHIDType.php
+++ b/src/applications/files/phid/PhabricatorFileFilePHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorFilesApplication';
+ return PhabricatorFilesApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/files/query/PhabricatorFileAttachmentQuery.php b/src/applications/files/query/PhabricatorFileAttachmentQuery.php
--- a/src/applications/files/query/PhabricatorFileAttachmentQuery.php
+++ b/src/applications/files/query/PhabricatorFileAttachmentQuery.php
@@ -125,7 +125,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorFilesApplication';
+ return PhabricatorFilesApplication::class;
}
}
diff --git a/src/applications/files/query/PhabricatorFileChunkQuery.php b/src/applications/files/query/PhabricatorFileChunkQuery.php
--- a/src/applications/files/query/PhabricatorFileChunkQuery.php
+++ b/src/applications/files/query/PhabricatorFileChunkQuery.php
@@ -128,7 +128,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorFilesApplication';
+ return PhabricatorFilesApplication::class;
}
}
diff --git a/src/applications/files/query/PhabricatorFileQuery.php b/src/applications/files/query/PhabricatorFileQuery.php
--- a/src/applications/files/query/PhabricatorFileQuery.php
+++ b/src/applications/files/query/PhabricatorFileQuery.php
@@ -540,7 +540,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorFilesApplication';
+ return PhabricatorFilesApplication::class;
}
}
diff --git a/src/applications/files/query/PhabricatorFileSearchEngine.php b/src/applications/files/query/PhabricatorFileSearchEngine.php
--- a/src/applications/files/query/PhabricatorFileSearchEngine.php
+++ b/src/applications/files/query/PhabricatorFileSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorFilesApplication';
+ return PhabricatorFilesApplication::class;
}
public function canUseInPanelContext() {
diff --git a/src/applications/files/typeahead/PhabricatorIconDatasource.php b/src/applications/files/typeahead/PhabricatorIconDatasource.php
--- a/src/applications/files/typeahead/PhabricatorIconDatasource.php
+++ b/src/applications/files/typeahead/PhabricatorIconDatasource.php
@@ -11,7 +11,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorFilesApplication';
+ return PhabricatorFilesApplication::class;
}
public function loadResults() {
diff --git a/src/applications/flag/query/PhabricatorFlagQuery.php b/src/applications/flag/query/PhabricatorFlagQuery.php
--- a/src/applications/flag/query/PhabricatorFlagQuery.php
+++ b/src/applications/flag/query/PhabricatorFlagQuery.php
@@ -173,7 +173,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorFlagsApplication';
+ return PhabricatorFlagsApplication::class;
}
}
diff --git a/src/applications/flag/query/PhabricatorFlagSearchEngine.php b/src/applications/flag/query/PhabricatorFlagSearchEngine.php
--- a/src/applications/flag/query/PhabricatorFlagSearchEngine.php
+++ b/src/applications/flag/query/PhabricatorFlagSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorFlagsApplication';
+ return PhabricatorFlagsApplication::class;
}
public function buildSavedQueryFromRequest(AphrontRequest $request) {
diff --git a/src/applications/fund/editor/FundBackerEditor.php b/src/applications/fund/editor/FundBackerEditor.php
--- a/src/applications/fund/editor/FundBackerEditor.php
+++ b/src/applications/fund/editor/FundBackerEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorFundApplication';
+ return PhabricatorFundApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/fund/editor/FundInitiativeEditEngine.php b/src/applications/fund/editor/FundInitiativeEditEngine.php
--- a/src/applications/fund/editor/FundInitiativeEditEngine.php
+++ b/src/applications/fund/editor/FundInitiativeEditEngine.php
@@ -10,7 +10,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorFundApplication';
+ return PhabricatorFundApplication::class;
}
public function getSummaryHeader() {
diff --git a/src/applications/fund/editor/FundInitiativeEditor.php b/src/applications/fund/editor/FundInitiativeEditor.php
--- a/src/applications/fund/editor/FundInitiativeEditor.php
+++ b/src/applications/fund/editor/FundInitiativeEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorFundApplication';
+ return PhabricatorFundApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/fund/phid/FundBackerPHIDType.php b/src/applications/fund/phid/FundBackerPHIDType.php
--- a/src/applications/fund/phid/FundBackerPHIDType.php
+++ b/src/applications/fund/phid/FundBackerPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorFundApplication';
+ return PhabricatorFundApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/fund/phid/FundInitiativePHIDType.php b/src/applications/fund/phid/FundInitiativePHIDType.php
--- a/src/applications/fund/phid/FundInitiativePHIDType.php
+++ b/src/applications/fund/phid/FundInitiativePHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorFundApplication';
+ return PhabricatorFundApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/fund/query/FundBackerQuery.php b/src/applications/fund/query/FundBackerQuery.php
--- a/src/applications/fund/query/FundBackerQuery.php
+++ b/src/applications/fund/query/FundBackerQuery.php
@@ -112,7 +112,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorFundApplication';
+ return PhabricatorFundApplication::class;
}
}
diff --git a/src/applications/fund/query/FundBackerSearchEngine.php b/src/applications/fund/query/FundBackerSearchEngine.php
--- a/src/applications/fund/query/FundBackerSearchEngine.php
+++ b/src/applications/fund/query/FundBackerSearchEngine.php
@@ -19,7 +19,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorFundApplication';
+ return PhabricatorFundApplication::class;
}
public function buildSavedQueryFromRequest(AphrontRequest $request) {
diff --git a/src/applications/fund/query/FundInitiativeQuery.php b/src/applications/fund/query/FundInitiativeQuery.php
--- a/src/applications/fund/query/FundInitiativeQuery.php
+++ b/src/applications/fund/query/FundInitiativeQuery.php
@@ -67,7 +67,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorFundApplication';
+ return PhabricatorFundApplication::class;
}
protected function getPrimaryTableAlias() {
diff --git a/src/applications/fund/query/FundInitiativeSearchEngine.php b/src/applications/fund/query/FundInitiativeSearchEngine.php
--- a/src/applications/fund/query/FundInitiativeSearchEngine.php
+++ b/src/applications/fund/query/FundInitiativeSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorFundApplication';
+ return PhabricatorFundApplication::class;
}
public function newQuery() {
diff --git a/src/applications/harbormaster/editor/HarbormasterBuildEditEngine.php b/src/applications/harbormaster/editor/HarbormasterBuildEditEngine.php
--- a/src/applications/harbormaster/editor/HarbormasterBuildEditEngine.php
+++ b/src/applications/harbormaster/editor/HarbormasterBuildEditEngine.php
@@ -22,7 +22,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorHarbormasterApplication';
+ return PhabricatorHarbormasterApplication::class;
}
protected function newEditableObject() {
diff --git a/src/applications/harbormaster/editor/HarbormasterBuildPlanEditEngine.php b/src/applications/harbormaster/editor/HarbormasterBuildPlanEditEngine.php
--- a/src/applications/harbormaster/editor/HarbormasterBuildPlanEditEngine.php
+++ b/src/applications/harbormaster/editor/HarbormasterBuildPlanEditEngine.php
@@ -22,7 +22,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorHarbormasterApplication';
+ return PhabricatorHarbormasterApplication::class;
}
protected function newEditableObject() {
diff --git a/src/applications/harbormaster/editor/HarbormasterBuildPlanEditor.php b/src/applications/harbormaster/editor/HarbormasterBuildPlanEditor.php
--- a/src/applications/harbormaster/editor/HarbormasterBuildPlanEditor.php
+++ b/src/applications/harbormaster/editor/HarbormasterBuildPlanEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorHarbormasterApplication';
+ return PhabricatorHarbormasterApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/harbormaster/editor/HarbormasterBuildStepEditEngine.php b/src/applications/harbormaster/editor/HarbormasterBuildStepEditEngine.php
--- a/src/applications/harbormaster/editor/HarbormasterBuildStepEditEngine.php
+++ b/src/applications/harbormaster/editor/HarbormasterBuildStepEditEngine.php
@@ -37,7 +37,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorHarbormasterApplication';
+ return PhabricatorHarbormasterApplication::class;
}
protected function newEditableObject() {
diff --git a/src/applications/harbormaster/editor/HarbormasterBuildStepEditor.php b/src/applications/harbormaster/editor/HarbormasterBuildStepEditor.php
--- a/src/applications/harbormaster/editor/HarbormasterBuildStepEditor.php
+++ b/src/applications/harbormaster/editor/HarbormasterBuildStepEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorHarbormasterApplication';
+ return PhabricatorHarbormasterApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/harbormaster/editor/HarbormasterBuildTransactionEditor.php b/src/applications/harbormaster/editor/HarbormasterBuildTransactionEditor.php
--- a/src/applications/harbormaster/editor/HarbormasterBuildTransactionEditor.php
+++ b/src/applications/harbormaster/editor/HarbormasterBuildTransactionEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorHarbormasterApplication';
+ return PhabricatorHarbormasterApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/harbormaster/editor/HarbormasterBuildableEditEngine.php b/src/applications/harbormaster/editor/HarbormasterBuildableEditEngine.php
--- a/src/applications/harbormaster/editor/HarbormasterBuildableEditEngine.php
+++ b/src/applications/harbormaster/editor/HarbormasterBuildableEditEngine.php
@@ -22,7 +22,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorHarbormasterApplication';
+ return PhabricatorHarbormasterApplication::class;
}
protected function newEditableObject() {
diff --git a/src/applications/harbormaster/editor/HarbormasterBuildableTransactionEditor.php b/src/applications/harbormaster/editor/HarbormasterBuildableTransactionEditor.php
--- a/src/applications/harbormaster/editor/HarbormasterBuildableTransactionEditor.php
+++ b/src/applications/harbormaster/editor/HarbormasterBuildableTransactionEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorHarbormasterApplication';
+ return PhabricatorHarbormasterApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/harbormaster/phid/HarbormasterBuildArtifactPHIDType.php b/src/applications/harbormaster/phid/HarbormasterBuildArtifactPHIDType.php
--- a/src/applications/harbormaster/phid/HarbormasterBuildArtifactPHIDType.php
+++ b/src/applications/harbormaster/phid/HarbormasterBuildArtifactPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorHarbormasterApplication';
+ return PhabricatorHarbormasterApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/harbormaster/phid/HarbormasterBuildLogPHIDType.php b/src/applications/harbormaster/phid/HarbormasterBuildLogPHIDType.php
--- a/src/applications/harbormaster/phid/HarbormasterBuildLogPHIDType.php
+++ b/src/applications/harbormaster/phid/HarbormasterBuildLogPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorHarbormasterApplication';
+ return PhabricatorHarbormasterApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/harbormaster/phid/HarbormasterBuildPHIDType.php b/src/applications/harbormaster/phid/HarbormasterBuildPHIDType.php
--- a/src/applications/harbormaster/phid/HarbormasterBuildPHIDType.php
+++ b/src/applications/harbormaster/phid/HarbormasterBuildPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorHarbormasterApplication';
+ return PhabricatorHarbormasterApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/harbormaster/phid/HarbormasterBuildPlanPHIDType.php b/src/applications/harbormaster/phid/HarbormasterBuildPlanPHIDType.php
--- a/src/applications/harbormaster/phid/HarbormasterBuildPlanPHIDType.php
+++ b/src/applications/harbormaster/phid/HarbormasterBuildPlanPHIDType.php
@@ -17,7 +17,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorHarbormasterApplication';
+ return PhabricatorHarbormasterApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/harbormaster/phid/HarbormasterBuildStepPHIDType.php b/src/applications/harbormaster/phid/HarbormasterBuildStepPHIDType.php
--- a/src/applications/harbormaster/phid/HarbormasterBuildStepPHIDType.php
+++ b/src/applications/harbormaster/phid/HarbormasterBuildStepPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorHarbormasterApplication';
+ return PhabricatorHarbormasterApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/harbormaster/phid/HarbormasterBuildTargetPHIDType.php b/src/applications/harbormaster/phid/HarbormasterBuildTargetPHIDType.php
--- a/src/applications/harbormaster/phid/HarbormasterBuildTargetPHIDType.php
+++ b/src/applications/harbormaster/phid/HarbormasterBuildTargetPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorHarbormasterApplication';
+ return PhabricatorHarbormasterApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/harbormaster/phid/HarbormasterBuildablePHIDType.php b/src/applications/harbormaster/phid/HarbormasterBuildablePHIDType.php
--- a/src/applications/harbormaster/phid/HarbormasterBuildablePHIDType.php
+++ b/src/applications/harbormaster/phid/HarbormasterBuildablePHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorHarbormasterApplication';
+ return PhabricatorHarbormasterApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/harbormaster/query/HarbormasterArtifactSearchEngine.php b/src/applications/harbormaster/query/HarbormasterArtifactSearchEngine.php
--- a/src/applications/harbormaster/query/HarbormasterArtifactSearchEngine.php
+++ b/src/applications/harbormaster/query/HarbormasterArtifactSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorHarbormasterApplication';
+ return PhabricatorHarbormasterApplication::class;
}
public function newQuery() {
diff --git a/src/applications/harbormaster/query/HarbormasterBuildArtifactQuery.php b/src/applications/harbormaster/query/HarbormasterBuildArtifactQuery.php
--- a/src/applications/harbormaster/query/HarbormasterBuildArtifactQuery.php
+++ b/src/applications/harbormaster/query/HarbormasterBuildArtifactQuery.php
@@ -107,7 +107,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorHarbormasterApplication';
+ return PhabricatorHarbormasterApplication::class;
}
}
diff --git a/src/applications/harbormaster/query/HarbormasterBuildLogQuery.php b/src/applications/harbormaster/query/HarbormasterBuildLogQuery.php
--- a/src/applications/harbormaster/query/HarbormasterBuildLogQuery.php
+++ b/src/applications/harbormaster/query/HarbormasterBuildLogQuery.php
@@ -80,7 +80,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorHarbormasterApplication';
+ return PhabricatorHarbormasterApplication::class;
}
}
diff --git a/src/applications/harbormaster/query/HarbormasterBuildLogSearchEngine.php b/src/applications/harbormaster/query/HarbormasterBuildLogSearchEngine.php
--- a/src/applications/harbormaster/query/HarbormasterBuildLogSearchEngine.php
+++ b/src/applications/harbormaster/query/HarbormasterBuildLogSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorHarbormasterApplication';
+ return PhabricatorHarbormasterApplication::class;
}
public function newQuery() {
diff --git a/src/applications/harbormaster/query/HarbormasterBuildMessageQuery.php b/src/applications/harbormaster/query/HarbormasterBuildMessageQuery.php
--- a/src/applications/harbormaster/query/HarbormasterBuildMessageQuery.php
+++ b/src/applications/harbormaster/query/HarbormasterBuildMessageQuery.php
@@ -82,7 +82,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorHarbormasterApplication';
+ return PhabricatorHarbormasterApplication::class;
}
}
diff --git a/src/applications/harbormaster/query/HarbormasterBuildPlanQuery.php b/src/applications/harbormaster/query/HarbormasterBuildPlanQuery.php
--- a/src/applications/harbormaster/query/HarbormasterBuildPlanQuery.php
+++ b/src/applications/harbormaster/query/HarbormasterBuildPlanQuery.php
@@ -116,7 +116,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorHarbormasterApplication';
+ return PhabricatorHarbormasterApplication::class;
}
public function getOrderableColumns() {
diff --git a/src/applications/harbormaster/query/HarbormasterBuildPlanSearchEngine.php b/src/applications/harbormaster/query/HarbormasterBuildPlanSearchEngine.php
--- a/src/applications/harbormaster/query/HarbormasterBuildPlanSearchEngine.php
+++ b/src/applications/harbormaster/query/HarbormasterBuildPlanSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorHarbormasterApplication';
+ return PhabricatorHarbormasterApplication::class;
}
public function newQuery() {
diff --git a/src/applications/harbormaster/query/HarbormasterBuildQuery.php b/src/applications/harbormaster/query/HarbormasterBuildQuery.php
--- a/src/applications/harbormaster/query/HarbormasterBuildQuery.php
+++ b/src/applications/harbormaster/query/HarbormasterBuildQuery.php
@@ -219,7 +219,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorHarbormasterApplication';
+ return PhabricatorHarbormasterApplication::class;
}
protected function getPrimaryTableAlias() {
diff --git a/src/applications/harbormaster/query/HarbormasterBuildSearchEngine.php b/src/applications/harbormaster/query/HarbormasterBuildSearchEngine.php
--- a/src/applications/harbormaster/query/HarbormasterBuildSearchEngine.php
+++ b/src/applications/harbormaster/query/HarbormasterBuildSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorHarbormasterApplication';
+ return PhabricatorHarbormasterApplication::class;
}
public function newQuery() {
diff --git a/src/applications/harbormaster/query/HarbormasterBuildStepQuery.php b/src/applications/harbormaster/query/HarbormasterBuildStepQuery.php
--- a/src/applications/harbormaster/query/HarbormasterBuildStepQuery.php
+++ b/src/applications/harbormaster/query/HarbormasterBuildStepQuery.php
@@ -79,7 +79,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorHarbormasterApplication';
+ return PhabricatorHarbormasterApplication::class;
}
}
diff --git a/src/applications/harbormaster/query/HarbormasterBuildStepSearchEngine.php b/src/applications/harbormaster/query/HarbormasterBuildStepSearchEngine.php
--- a/src/applications/harbormaster/query/HarbormasterBuildStepSearchEngine.php
+++ b/src/applications/harbormaster/query/HarbormasterBuildStepSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorHarbormasterApplication';
+ return PhabricatorHarbormasterApplication::class;
}
public function newQuery() {
diff --git a/src/applications/harbormaster/query/HarbormasterBuildTargetQuery.php b/src/applications/harbormaster/query/HarbormasterBuildTargetQuery.php
--- a/src/applications/harbormaster/query/HarbormasterBuildTargetQuery.php
+++ b/src/applications/harbormaster/query/HarbormasterBuildTargetQuery.php
@@ -203,7 +203,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorHarbormasterApplication';
+ return PhabricatorHarbormasterApplication::class;
}
}
diff --git a/src/applications/harbormaster/query/HarbormasterBuildTargetSearchEngine.php b/src/applications/harbormaster/query/HarbormasterBuildTargetSearchEngine.php
--- a/src/applications/harbormaster/query/HarbormasterBuildTargetSearchEngine.php
+++ b/src/applications/harbormaster/query/HarbormasterBuildTargetSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorHarbormasterApplication';
+ return PhabricatorHarbormasterApplication::class;
}
public function newQuery() {
diff --git a/src/applications/harbormaster/query/HarbormasterBuildUnitMessageQuery.php b/src/applications/harbormaster/query/HarbormasterBuildUnitMessageQuery.php
--- a/src/applications/harbormaster/query/HarbormasterBuildUnitMessageQuery.php
+++ b/src/applications/harbormaster/query/HarbormasterBuildUnitMessageQuery.php
@@ -85,7 +85,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorHarbormasterApplication';
+ return PhabricatorHarbormasterApplication::class;
}
}
diff --git a/src/applications/harbormaster/query/HarbormasterBuildableQuery.php b/src/applications/harbormaster/query/HarbormasterBuildableQuery.php
--- a/src/applications/harbormaster/query/HarbormasterBuildableQuery.php
+++ b/src/applications/harbormaster/query/HarbormasterBuildableQuery.php
@@ -174,7 +174,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorHarbormasterApplication';
+ return PhabricatorHarbormasterApplication::class;
}
}
diff --git a/src/applications/harbormaster/query/HarbormasterBuildableSearchEngine.php b/src/applications/harbormaster/query/HarbormasterBuildableSearchEngine.php
--- a/src/applications/harbormaster/query/HarbormasterBuildableSearchEngine.php
+++ b/src/applications/harbormaster/query/HarbormasterBuildableSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorHarbormasterApplication';
+ return PhabricatorHarbormasterApplication::class;
}
public function newQuery() {
diff --git a/src/applications/harbormaster/typeahead/HarbormasterBuildDependencyDatasource.php b/src/applications/harbormaster/typeahead/HarbormasterBuildDependencyDatasource.php
--- a/src/applications/harbormaster/typeahead/HarbormasterBuildDependencyDatasource.php
+++ b/src/applications/harbormaster/typeahead/HarbormasterBuildDependencyDatasource.php
@@ -17,7 +17,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorHarbormasterApplication';
+ return PhabricatorHarbormasterApplication::class;
}
public function loadResults() {
diff --git a/src/applications/harbormaster/typeahead/HarbormasterBuildPlanDatasource.php b/src/applications/harbormaster/typeahead/HarbormasterBuildPlanDatasource.php
--- a/src/applications/harbormaster/typeahead/HarbormasterBuildPlanDatasource.php
+++ b/src/applications/harbormaster/typeahead/HarbormasterBuildPlanDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorHarbormasterApplication';
+ return PhabricatorHarbormasterApplication::class;
}
public function loadResults() {
diff --git a/src/applications/harbormaster/typeahead/HarbormasterBuildStatusDatasource.php b/src/applications/harbormaster/typeahead/HarbormasterBuildStatusDatasource.php
--- a/src/applications/harbormaster/typeahead/HarbormasterBuildStatusDatasource.php
+++ b/src/applications/harbormaster/typeahead/HarbormasterBuildStatusDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorHarbormasterApplication';
+ return PhabricatorHarbormasterApplication::class;
}
public function loadResults() {
diff --git a/src/applications/herald/adapter/HeraldRuleAdapter.php b/src/applications/herald/adapter/HeraldRuleAdapter.php
--- a/src/applications/herald/adapter/HeraldRuleAdapter.php
+++ b/src/applications/herald/adapter/HeraldRuleAdapter.php
@@ -9,7 +9,7 @@
}
public function getAdapterApplicationClass() {
- return 'PhabricatorHeraldApplication';
+ return PhabricatorHeraldApplication::class;
}
public function getAdapterContentDescription() {
diff --git a/src/applications/herald/editor/HeraldRuleEditor.php b/src/applications/herald/editor/HeraldRuleEditor.php
--- a/src/applications/herald/editor/HeraldRuleEditor.php
+++ b/src/applications/herald/editor/HeraldRuleEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorHeraldApplication';
+ return PhabricatorHeraldApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/herald/editor/HeraldWebhookEditEngine.php b/src/applications/herald/editor/HeraldWebhookEditEngine.php
--- a/src/applications/herald/editor/HeraldWebhookEditEngine.php
+++ b/src/applications/herald/editor/HeraldWebhookEditEngine.php
@@ -22,7 +22,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorHeraldApplication';
+ return PhabricatorHeraldApplication::class;
}
protected function newEditableObject() {
diff --git a/src/applications/herald/editor/HeraldWebhookEditor.php b/src/applications/herald/editor/HeraldWebhookEditor.php
--- a/src/applications/herald/editor/HeraldWebhookEditor.php
+++ b/src/applications/herald/editor/HeraldWebhookEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorHeraldApplication';
+ return PhabricatorHeraldApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/herald/phid/HeraldRulePHIDType.php b/src/applications/herald/phid/HeraldRulePHIDType.php
--- a/src/applications/herald/phid/HeraldRulePHIDType.php
+++ b/src/applications/herald/phid/HeraldRulePHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorHeraldApplication';
+ return PhabricatorHeraldApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/herald/phid/HeraldTranscriptPHIDType.php b/src/applications/herald/phid/HeraldTranscriptPHIDType.php
--- a/src/applications/herald/phid/HeraldTranscriptPHIDType.php
+++ b/src/applications/herald/phid/HeraldTranscriptPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorHeraldApplication';
+ return PhabricatorHeraldApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/herald/phid/HeraldWebhookPHIDType.php b/src/applications/herald/phid/HeraldWebhookPHIDType.php
--- a/src/applications/herald/phid/HeraldWebhookPHIDType.php
+++ b/src/applications/herald/phid/HeraldWebhookPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorHeraldApplication';
+ return PhabricatorHeraldApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/herald/phid/HeraldWebhookRequestPHIDType.php b/src/applications/herald/phid/HeraldWebhookRequestPHIDType.php
--- a/src/applications/herald/phid/HeraldWebhookRequestPHIDType.php
+++ b/src/applications/herald/phid/HeraldWebhookRequestPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorHeraldApplication';
+ return PhabricatorHeraldApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/herald/query/HeraldRuleQuery.php b/src/applications/herald/query/HeraldRuleQuery.php
--- a/src/applications/herald/query/HeraldRuleQuery.php
+++ b/src/applications/herald/query/HeraldRuleQuery.php
@@ -327,7 +327,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorHeraldApplication';
+ return PhabricatorHeraldApplication::class;
}
protected function getPrimaryTableAlias() {
diff --git a/src/applications/herald/query/HeraldRuleSearchEngine.php b/src/applications/herald/query/HeraldRuleSearchEngine.php
--- a/src/applications/herald/query/HeraldRuleSearchEngine.php
+++ b/src/applications/herald/query/HeraldRuleSearchEngine.php
@@ -7,7 +7,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorHeraldApplication';
+ return PhabricatorHeraldApplication::class;
}
public function newQuery() {
diff --git a/src/applications/herald/query/HeraldTranscriptQuery.php b/src/applications/herald/query/HeraldTranscriptQuery.php
--- a/src/applications/herald/query/HeraldTranscriptQuery.php
+++ b/src/applications/herald/query/HeraldTranscriptQuery.php
@@ -130,7 +130,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorHeraldApplication';
+ return PhabricatorHeraldApplication::class;
}
}
diff --git a/src/applications/herald/query/HeraldTranscriptSearchEngine.php b/src/applications/herald/query/HeraldTranscriptSearchEngine.php
--- a/src/applications/herald/query/HeraldTranscriptSearchEngine.php
+++ b/src/applications/herald/query/HeraldTranscriptSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorHeraldApplication';
+ return PhabricatorHeraldApplication::class;
}
public function canUseInPanelContext() {
diff --git a/src/applications/herald/query/HeraldWebhookQuery.php b/src/applications/herald/query/HeraldWebhookQuery.php
--- a/src/applications/herald/query/HeraldWebhookQuery.php
+++ b/src/applications/herald/query/HeraldWebhookQuery.php
@@ -54,7 +54,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorHeraldApplication';
+ return PhabricatorHeraldApplication::class;
}
}
diff --git a/src/applications/herald/query/HeraldWebhookRequestQuery.php b/src/applications/herald/query/HeraldWebhookRequestQuery.php
--- a/src/applications/herald/query/HeraldWebhookRequestQuery.php
+++ b/src/applications/herald/query/HeraldWebhookRequestQuery.php
@@ -116,7 +116,7 @@
public function getQueryApplicationClass() {
- return 'PhabricatorHeraldApplication';
+ return PhabricatorHeraldApplication::class;
}
}
diff --git a/src/applications/herald/query/HeraldWebhookSearchEngine.php b/src/applications/herald/query/HeraldWebhookSearchEngine.php
--- a/src/applications/herald/query/HeraldWebhookSearchEngine.php
+++ b/src/applications/herald/query/HeraldWebhookSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorHeraldApplication';
+ return PhabricatorHeraldApplication::class;
}
public function newQuery() {
diff --git a/src/applications/herald/typeahead/HeraldAdapterDatasource.php b/src/applications/herald/typeahead/HeraldAdapterDatasource.php
--- a/src/applications/herald/typeahead/HeraldAdapterDatasource.php
+++ b/src/applications/herald/typeahead/HeraldAdapterDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorHeraldApplication';
+ return PhabricatorHeraldApplication::class;
}
public function loadResults() {
diff --git a/src/applications/herald/typeahead/HeraldRuleDatasource.php b/src/applications/herald/typeahead/HeraldRuleDatasource.php
--- a/src/applications/herald/typeahead/HeraldRuleDatasource.php
+++ b/src/applications/herald/typeahead/HeraldRuleDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorHeraldApplication';
+ return PhabricatorHeraldApplication::class;
}
public function loadResults() {
diff --git a/src/applications/herald/typeahead/HeraldRuleTypeDatasource.php b/src/applications/herald/typeahead/HeraldRuleTypeDatasource.php
--- a/src/applications/herald/typeahead/HeraldRuleTypeDatasource.php
+++ b/src/applications/herald/typeahead/HeraldRuleTypeDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorHeraldApplication';
+ return PhabricatorHeraldApplication::class;
}
public function loadResults() {
diff --git a/src/applications/herald/typeahead/HeraldWebhookDatasource.php b/src/applications/herald/typeahead/HeraldWebhookDatasource.php
--- a/src/applications/herald/typeahead/HeraldWebhookDatasource.php
+++ b/src/applications/herald/typeahead/HeraldWebhookDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorHeraldApplication';
+ return PhabricatorHeraldApplication::class;
}
public function loadResults() {
diff --git a/src/applications/legalpad/editor/LegalpadDocumentEditEngine.php b/src/applications/legalpad/editor/LegalpadDocumentEditEngine.php
--- a/src/applications/legalpad/editor/LegalpadDocumentEditEngine.php
+++ b/src/applications/legalpad/editor/LegalpadDocumentEditEngine.php
@@ -10,7 +10,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorLegalpadApplication';
+ return PhabricatorLegalpadApplication::class;
}
public function getSummaryHeader() {
diff --git a/src/applications/legalpad/editor/LegalpadDocumentEditor.php b/src/applications/legalpad/editor/LegalpadDocumentEditor.php
--- a/src/applications/legalpad/editor/LegalpadDocumentEditor.php
+++ b/src/applications/legalpad/editor/LegalpadDocumentEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorLegalpadApplication';
+ return PhabricatorLegalpadApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/legalpad/phid/PhabricatorLegalpadDocumentPHIDType.php b/src/applications/legalpad/phid/PhabricatorLegalpadDocumentPHIDType.php
--- a/src/applications/legalpad/phid/PhabricatorLegalpadDocumentPHIDType.php
+++ b/src/applications/legalpad/phid/PhabricatorLegalpadDocumentPHIDType.php
@@ -17,7 +17,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorLegalpadApplication';
+ return PhabricatorLegalpadApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/legalpad/phid/PhabricatorLegalpadDocumentSignaturePHIDType.php b/src/applications/legalpad/phid/PhabricatorLegalpadDocumentSignaturePHIDType.php
--- a/src/applications/legalpad/phid/PhabricatorLegalpadDocumentSignaturePHIDType.php
+++ b/src/applications/legalpad/phid/PhabricatorLegalpadDocumentSignaturePHIDType.php
@@ -18,7 +18,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorLegalpadApplication';
+ return PhabricatorLegalpadApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/legalpad/query/LegalpadDocumentQuery.php b/src/applications/legalpad/query/LegalpadDocumentQuery.php
--- a/src/applications/legalpad/query/LegalpadDocumentQuery.php
+++ b/src/applications/legalpad/query/LegalpadDocumentQuery.php
@@ -259,7 +259,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorLegalpadApplication';
+ return PhabricatorLegalpadApplication::class;
}
protected function getPrimaryTableAlias() {
diff --git a/src/applications/legalpad/query/LegalpadDocumentSearchEngine.php b/src/applications/legalpad/query/LegalpadDocumentSearchEngine.php
--- a/src/applications/legalpad/query/LegalpadDocumentSearchEngine.php
+++ b/src/applications/legalpad/query/LegalpadDocumentSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorLegalpadApplication';
+ return PhabricatorLegalpadApplication::class;
}
public function newQuery() {
diff --git a/src/applications/legalpad/query/LegalpadDocumentSignatureQuery.php b/src/applications/legalpad/query/LegalpadDocumentSignatureQuery.php
--- a/src/applications/legalpad/query/LegalpadDocumentSignatureQuery.php
+++ b/src/applications/legalpad/query/LegalpadDocumentSignatureQuery.php
@@ -151,7 +151,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorLegalpadApplication';
+ return PhabricatorLegalpadApplication::class;
}
}
diff --git a/src/applications/legalpad/query/LegalpadDocumentSignatureSearchEngine.php b/src/applications/legalpad/query/LegalpadDocumentSignatureSearchEngine.php
--- a/src/applications/legalpad/query/LegalpadDocumentSignatureSearchEngine.php
+++ b/src/applications/legalpad/query/LegalpadDocumentSignatureSearchEngine.php
@@ -79,7 +79,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorLegalpadApplication';
+ return PhabricatorLegalpadApplication::class;
}
public function setDocument(LegalpadDocument $document) {
diff --git a/src/applications/legalpad/typeahead/LegalpadDocumentDatasource.php b/src/applications/legalpad/typeahead/LegalpadDocumentDatasource.php
--- a/src/applications/legalpad/typeahead/LegalpadDocumentDatasource.php
+++ b/src/applications/legalpad/typeahead/LegalpadDocumentDatasource.php
@@ -16,7 +16,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorLegalpadApplication';
+ return PhabricatorLegalpadApplication::class;
}
public function loadResults() {
diff --git a/src/applications/macro/editor/PhabricatorMacroEditEngine.php b/src/applications/macro/editor/PhabricatorMacroEditEngine.php
--- a/src/applications/macro/editor/PhabricatorMacroEditEngine.php
+++ b/src/applications/macro/editor/PhabricatorMacroEditEngine.php
@@ -18,7 +18,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorMacroApplication';
+ return PhabricatorMacroApplication::class;
}
public function isEngineConfigurable() {
diff --git a/src/applications/macro/editor/PhabricatorMacroEditor.php b/src/applications/macro/editor/PhabricatorMacroEditor.php
--- a/src/applications/macro/editor/PhabricatorMacroEditor.php
+++ b/src/applications/macro/editor/PhabricatorMacroEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorMacroApplication';
+ return PhabricatorMacroApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/macro/phid/PhabricatorMacroMacroPHIDType.php b/src/applications/macro/phid/PhabricatorMacroMacroPHIDType.php
--- a/src/applications/macro/phid/PhabricatorMacroMacroPHIDType.php
+++ b/src/applications/macro/phid/PhabricatorMacroMacroPHIDType.php
@@ -9,7 +9,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorMacroApplication';
+ return PhabricatorMacroApplication::class;
}
public function getTypeIcon() {
diff --git a/src/applications/macro/query/PhabricatorMacroQuery.php b/src/applications/macro/query/PhabricatorMacroQuery.php
--- a/src/applications/macro/query/PhabricatorMacroQuery.php
+++ b/src/applications/macro/query/PhabricatorMacroQuery.php
@@ -230,7 +230,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorMacroApplication';
+ return PhabricatorMacroApplication::class;
}
public function getOrderableColumns() {
diff --git a/src/applications/macro/query/PhabricatorMacroSearchEngine.php b/src/applications/macro/query/PhabricatorMacroSearchEngine.php
--- a/src/applications/macro/query/PhabricatorMacroSearchEngine.php
+++ b/src/applications/macro/query/PhabricatorMacroSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorMacroApplication';
+ return PhabricatorMacroApplication::class;
}
public function newQuery() {
diff --git a/src/applications/macro/typeahead/PhabricatorEmojiDatasource.php b/src/applications/macro/typeahead/PhabricatorEmojiDatasource.php
--- a/src/applications/macro/typeahead/PhabricatorEmojiDatasource.php
+++ b/src/applications/macro/typeahead/PhabricatorEmojiDatasource.php
@@ -11,7 +11,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorMacroApplication';
+ return PhabricatorMacroApplication::class;
}
public function loadResults() {
diff --git a/src/applications/macro/typeahead/PhabricatorMacroDatasource.php b/src/applications/macro/typeahead/PhabricatorMacroDatasource.php
--- a/src/applications/macro/typeahead/PhabricatorMacroDatasource.php
+++ b/src/applications/macro/typeahead/PhabricatorMacroDatasource.php
@@ -11,7 +11,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorMacroApplication';
+ return PhabricatorMacroApplication::class;
}
public function loadResults() {
diff --git a/src/applications/maniphest/editor/ManiphestEditEngine.php b/src/applications/maniphest/editor/ManiphestEditEngine.php
--- a/src/applications/maniphest/editor/ManiphestEditEngine.php
+++ b/src/applications/maniphest/editor/ManiphestEditEngine.php
@@ -18,7 +18,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorManiphestApplication';
+ return PhabricatorManiphestApplication::class;
}
public function isDefaultQuickCreateEngine() {
diff --git a/src/applications/maniphest/editor/ManiphestTransactionEditor.php b/src/applications/maniphest/editor/ManiphestTransactionEditor.php
--- a/src/applications/maniphest/editor/ManiphestTransactionEditor.php
+++ b/src/applications/maniphest/editor/ManiphestTransactionEditor.php
@@ -7,7 +7,7 @@
private $moreValidationErrors = array();
public function getEditorApplicationClass() {
- return 'PhabricatorManiphestApplication';
+ return PhabricatorManiphestApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/maniphest/herald/HeraldManiphestTaskAdapter.php b/src/applications/maniphest/herald/HeraldManiphestTaskAdapter.php
--- a/src/applications/maniphest/herald/HeraldManiphestTaskAdapter.php
+++ b/src/applications/maniphest/herald/HeraldManiphestTaskAdapter.php
@@ -9,7 +9,7 @@
}
public function getAdapterApplicationClass() {
- return 'PhabricatorManiphestApplication';
+ return PhabricatorManiphestApplication::class;
}
public function getAdapterContentDescription() {
diff --git a/src/applications/maniphest/phid/ManiphestTaskPHIDType.php b/src/applications/maniphest/phid/ManiphestTaskPHIDType.php
--- a/src/applications/maniphest/phid/ManiphestTaskPHIDType.php
+++ b/src/applications/maniphest/phid/ManiphestTaskPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorManiphestApplication';
+ return PhabricatorManiphestApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/maniphest/query/ManiphestTaskQuery.php b/src/applications/maniphest/query/ManiphestTaskQuery.php
--- a/src/applications/maniphest/query/ManiphestTaskQuery.php
+++ b/src/applications/maniphest/query/ManiphestTaskQuery.php
@@ -1048,7 +1048,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorManiphestApplication';
+ return PhabricatorManiphestApplication::class;
}
}
diff --git a/src/applications/maniphest/query/ManiphestTaskSearchEngine.php b/src/applications/maniphest/query/ManiphestTaskSearchEngine.php
--- a/src/applications/maniphest/query/ManiphestTaskSearchEngine.php
+++ b/src/applications/maniphest/query/ManiphestTaskSearchEngine.php
@@ -35,7 +35,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorManiphestApplication';
+ return PhabricatorManiphestApplication::class;
}
public function newQuery() {
diff --git a/src/applications/maniphest/typeahead/ManiphestTaskClosedStatusDatasource.php b/src/applications/maniphest/typeahead/ManiphestTaskClosedStatusDatasource.php
--- a/src/applications/maniphest/typeahead/ManiphestTaskClosedStatusDatasource.php
+++ b/src/applications/maniphest/typeahead/ManiphestTaskClosedStatusDatasource.php
@@ -14,7 +14,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorManiphestApplication';
+ return PhabricatorManiphestApplication::class;
}
public function getDatasourceFunctions() {
diff --git a/src/applications/maniphest/typeahead/ManiphestTaskOpenStatusDatasource.php b/src/applications/maniphest/typeahead/ManiphestTaskOpenStatusDatasource.php
--- a/src/applications/maniphest/typeahead/ManiphestTaskOpenStatusDatasource.php
+++ b/src/applications/maniphest/typeahead/ManiphestTaskOpenStatusDatasource.php
@@ -14,7 +14,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorManiphestApplication';
+ return PhabricatorManiphestApplication::class;
}
public function getDatasourceFunctions() {
diff --git a/src/applications/maniphest/typeahead/ManiphestTaskPriorityDatasource.php b/src/applications/maniphest/typeahead/ManiphestTaskPriorityDatasource.php
--- a/src/applications/maniphest/typeahead/ManiphestTaskPriorityDatasource.php
+++ b/src/applications/maniphest/typeahead/ManiphestTaskPriorityDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorManiphestApplication';
+ return PhabricatorManiphestApplication::class;
}
public function loadResults() {
diff --git a/src/applications/maniphest/typeahead/ManiphestTaskStatusDatasource.php b/src/applications/maniphest/typeahead/ManiphestTaskStatusDatasource.php
--- a/src/applications/maniphest/typeahead/ManiphestTaskStatusDatasource.php
+++ b/src/applications/maniphest/typeahead/ManiphestTaskStatusDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorManiphestApplication';
+ return PhabricatorManiphestApplication::class;
}
public function loadResults() {
diff --git a/src/applications/maniphest/typeahead/ManiphestTaskSubtypeDatasource.php b/src/applications/maniphest/typeahead/ManiphestTaskSubtypeDatasource.php
--- a/src/applications/maniphest/typeahead/ManiphestTaskSubtypeDatasource.php
+++ b/src/applications/maniphest/typeahead/ManiphestTaskSubtypeDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorManiphestApplication';
+ return PhabricatorManiphestApplication::class;
}
public function loadResults() {
diff --git a/src/applications/meta/editor/PhabricatorApplicationEditEngine.php b/src/applications/meta/editor/PhabricatorApplicationEditEngine.php
--- a/src/applications/meta/editor/PhabricatorApplicationEditEngine.php
+++ b/src/applications/meta/editor/PhabricatorApplicationEditEngine.php
@@ -6,7 +6,7 @@
const ENGINECONST = 'application.application';
public function getEngineApplicationClass() {
- return 'PhabricatorApplicationsApplication';
+ return PhabricatorApplicationsApplication::class;
}
public function getEngineName() {
diff --git a/src/applications/meta/editor/PhabricatorApplicationEditor.php b/src/applications/meta/editor/PhabricatorApplicationEditor.php
--- a/src/applications/meta/editor/PhabricatorApplicationEditor.php
+++ b/src/applications/meta/editor/PhabricatorApplicationEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorApplicationsApplication';
+ return PhabricatorApplicationsApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/meta/phid/PhabricatorApplicationApplicationPHIDType.php b/src/applications/meta/phid/PhabricatorApplicationApplicationPHIDType.php
--- a/src/applications/meta/phid/PhabricatorApplicationApplicationPHIDType.php
+++ b/src/applications/meta/phid/PhabricatorApplicationApplicationPHIDType.php
@@ -18,7 +18,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorApplicationsApplication';
+ return PhabricatorApplicationsApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/meta/query/PhabricatorAppSearchEngine.php b/src/applications/meta/query/PhabricatorAppSearchEngine.php
--- a/src/applications/meta/query/PhabricatorAppSearchEngine.php
+++ b/src/applications/meta/query/PhabricatorAppSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorApplicationsApplication';
+ return PhabricatorApplicationsApplication::class;
}
public function getPageSize(PhabricatorSavedQuery $saved) {
diff --git a/src/applications/meta/typeahead/PhabricatorApplicationDatasource.php b/src/applications/meta/typeahead/PhabricatorApplicationDatasource.php
--- a/src/applications/meta/typeahead/PhabricatorApplicationDatasource.php
+++ b/src/applications/meta/typeahead/PhabricatorApplicationDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorApplicationsApplication';
+ return PhabricatorApplicationsApplication::class;
}
public function loadResults() {
diff --git a/src/applications/metamta/editor/PhabricatorMetaMTAApplicationEmailEditor.php b/src/applications/metamta/editor/PhabricatorMetaMTAApplicationEmailEditor.php
--- a/src/applications/metamta/editor/PhabricatorMetaMTAApplicationEmailEditor.php
+++ b/src/applications/metamta/editor/PhabricatorMetaMTAApplicationEmailEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return pht('PhabricatorMetaMTAApplication');
+ return PhabricatorMetaMTAApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/metamta/herald/PhabricatorMailOutboundMailHeraldAdapter.php b/src/applications/metamta/herald/PhabricatorMailOutboundMailHeraldAdapter.php
--- a/src/applications/metamta/herald/PhabricatorMailOutboundMailHeraldAdapter.php
+++ b/src/applications/metamta/herald/PhabricatorMailOutboundMailHeraldAdapter.php
@@ -6,7 +6,7 @@
private $mail;
public function getAdapterApplicationClass() {
- return 'PhabricatorMetaMTAApplication';
+ return PhabricatorMetaMTAApplication::class;
}
public function getAdapterContentDescription() {
diff --git a/src/applications/metamta/phid/PhabricatorMetaMTAMailPHIDType.php b/src/applications/metamta/phid/PhabricatorMetaMTAMailPHIDType.php
--- a/src/applications/metamta/phid/PhabricatorMetaMTAMailPHIDType.php
+++ b/src/applications/metamta/phid/PhabricatorMetaMTAMailPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorMetaMTAApplication';
+ return PhabricatorMetaMTAApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/metamta/query/PhabricatorMetaMTAApplicationEmailQuery.php b/src/applications/metamta/query/PhabricatorMetaMTAApplicationEmailQuery.php
--- a/src/applications/metamta/query/PhabricatorMetaMTAApplicationEmailQuery.php
+++ b/src/applications/metamta/query/PhabricatorMetaMTAApplicationEmailQuery.php
@@ -105,7 +105,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorMetaMTAApplication';
+ return PhabricatorMetaMTAApplication::class;
}
}
diff --git a/src/applications/metamta/query/PhabricatorMetaMTAMailPropertiesQuery.php b/src/applications/metamta/query/PhabricatorMetaMTAMailPropertiesQuery.php
--- a/src/applications/metamta/query/PhabricatorMetaMTAMailPropertiesQuery.php
+++ b/src/applications/metamta/query/PhabricatorMetaMTAMailPropertiesQuery.php
@@ -41,7 +41,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorMetaMTAApplication';
+ return PhabricatorMetaMTAApplication::class;
}
}
diff --git a/src/applications/metamta/query/PhabricatorMetaMTAMailQuery.php b/src/applications/metamta/query/PhabricatorMetaMTAMailQuery.php
--- a/src/applications/metamta/query/PhabricatorMetaMTAMailQuery.php
+++ b/src/applications/metamta/query/PhabricatorMetaMTAMailQuery.php
@@ -112,7 +112,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorMetaMTAApplication';
+ return PhabricatorMetaMTAApplication::class;
}
protected function shouldGroupQueryResultRows() {
diff --git a/src/applications/metamta/query/PhabricatorMetaMTAMailSearchEngine.php b/src/applications/metamta/query/PhabricatorMetaMTAMailSearchEngine.php
--- a/src/applications/metamta/query/PhabricatorMetaMTAMailSearchEngine.php
+++ b/src/applications/metamta/query/PhabricatorMetaMTAMailSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorMetaMTAApplication';
+ return PhabricatorMetaMTAApplication::class;
}
public function canUseInPanelContext() {
diff --git a/src/applications/metamta/typeahead/PhabricatorMetaMTAApplicationEmailDatasource.php b/src/applications/metamta/typeahead/PhabricatorMetaMTAApplicationEmailDatasource.php
--- a/src/applications/metamta/typeahead/PhabricatorMetaMTAApplicationEmailDatasource.php
+++ b/src/applications/metamta/typeahead/PhabricatorMetaMTAApplicationEmailDatasource.php
@@ -17,7 +17,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorMetaMTAApplication';
+ return PhabricatorMetaMTAApplication::class;
}
public function loadResults() {
diff --git a/src/applications/metamta/typeahead/PhabricatorMetaMTAMailableDatasource.php b/src/applications/metamta/typeahead/PhabricatorMetaMTAMailableDatasource.php
--- a/src/applications/metamta/typeahead/PhabricatorMetaMTAMailableDatasource.php
+++ b/src/applications/metamta/typeahead/PhabricatorMetaMTAMailableDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorMetaMTAApplication';
+ return PhabricatorMetaMTAApplication::class;
}
public function getComponentDatasources() {
diff --git a/src/applications/metamta/typeahead/PhabricatorMetaMTAMailableFunctionDatasource.php b/src/applications/metamta/typeahead/PhabricatorMetaMTAMailableFunctionDatasource.php
--- a/src/applications/metamta/typeahead/PhabricatorMetaMTAMailableFunctionDatasource.php
+++ b/src/applications/metamta/typeahead/PhabricatorMetaMTAMailableFunctionDatasource.php
@@ -13,7 +13,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorMetaMTAApplication';
+ return PhabricatorMetaMTAApplication::class;
}
public function getComponentDatasources() {
diff --git a/src/applications/notification/query/PhabricatorNotificationQuery.php b/src/applications/notification/query/PhabricatorNotificationQuery.php
--- a/src/applications/notification/query/PhabricatorNotificationQuery.php
+++ b/src/applications/notification/query/PhabricatorNotificationQuery.php
@@ -190,7 +190,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorNotificationsApplication';
+ return PhabricatorNotificationsApplication::class;
}
}
diff --git a/src/applications/notification/query/PhabricatorNotificationSearchEngine.php b/src/applications/notification/query/PhabricatorNotificationSearchEngine.php
--- a/src/applications/notification/query/PhabricatorNotificationSearchEngine.php
+++ b/src/applications/notification/query/PhabricatorNotificationSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorNotificationsApplication';
+ return PhabricatorNotificationsApplication::class;
}
public function buildSavedQueryFromRequest(AphrontRequest $request) {
diff --git a/src/applications/nuance/editor/NuanceItemEditor.php b/src/applications/nuance/editor/NuanceItemEditor.php
--- a/src/applications/nuance/editor/NuanceItemEditor.php
+++ b/src/applications/nuance/editor/NuanceItemEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorNuanceApplication';
+ return PhabricatorNuanceApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/nuance/editor/NuanceQueueEditEngine.php b/src/applications/nuance/editor/NuanceQueueEditEngine.php
--- a/src/applications/nuance/editor/NuanceQueueEditEngine.php
+++ b/src/applications/nuance/editor/NuanceQueueEditEngine.php
@@ -22,7 +22,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorNuanceApplication';
+ return PhabricatorNuanceApplication::class;
}
protected function newEditableObject() {
diff --git a/src/applications/nuance/editor/NuanceQueueEditor.php b/src/applications/nuance/editor/NuanceQueueEditor.php
--- a/src/applications/nuance/editor/NuanceQueueEditor.php
+++ b/src/applications/nuance/editor/NuanceQueueEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorNuanceApplication';
+ return PhabricatorNuanceApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/nuance/editor/NuanceSourceEditEngine.php b/src/applications/nuance/editor/NuanceSourceEditEngine.php
--- a/src/applications/nuance/editor/NuanceSourceEditEngine.php
+++ b/src/applications/nuance/editor/NuanceSourceEditEngine.php
@@ -34,7 +34,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorNuanceApplication';
+ return PhabricatorNuanceApplication::class;
}
protected function newEditableObject() {
diff --git a/src/applications/nuance/editor/NuanceSourceEditor.php b/src/applications/nuance/editor/NuanceSourceEditor.php
--- a/src/applications/nuance/editor/NuanceSourceEditor.php
+++ b/src/applications/nuance/editor/NuanceSourceEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorNuanceApplication';
+ return PhabricatorNuanceApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/nuance/phid/NuanceImportCursorPHIDType.php b/src/applications/nuance/phid/NuanceImportCursorPHIDType.php
--- a/src/applications/nuance/phid/NuanceImportCursorPHIDType.php
+++ b/src/applications/nuance/phid/NuanceImportCursorPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorNuanceApplication';
+ return PhabricatorNuanceApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/nuance/phid/NuanceItemPHIDType.php b/src/applications/nuance/phid/NuanceItemPHIDType.php
--- a/src/applications/nuance/phid/NuanceItemPHIDType.php
+++ b/src/applications/nuance/phid/NuanceItemPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorNuanceApplication';
+ return PhabricatorNuanceApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/nuance/phid/NuanceQueuePHIDType.php b/src/applications/nuance/phid/NuanceQueuePHIDType.php
--- a/src/applications/nuance/phid/NuanceQueuePHIDType.php
+++ b/src/applications/nuance/phid/NuanceQueuePHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorNuanceApplication';
+ return PhabricatorNuanceApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/nuance/phid/NuanceSourcePHIDType.php b/src/applications/nuance/phid/NuanceSourcePHIDType.php
--- a/src/applications/nuance/phid/NuanceSourcePHIDType.php
+++ b/src/applications/nuance/phid/NuanceSourcePHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorNuanceApplication';
+ return PhabricatorNuanceApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/nuance/query/NuanceItemSearchEngine.php b/src/applications/nuance/query/NuanceItemSearchEngine.php
--- a/src/applications/nuance/query/NuanceItemSearchEngine.php
+++ b/src/applications/nuance/query/NuanceItemSearchEngine.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationSearchEngine {
public function getApplicationClassName() {
- return 'PhabricatorNuanceApplication';
+ return PhabricatorNuanceApplication::class;
}
public function getResultTypeDescription() {
diff --git a/src/applications/nuance/query/NuanceQuery.php b/src/applications/nuance/query/NuanceQuery.php
--- a/src/applications/nuance/query/NuanceQuery.php
+++ b/src/applications/nuance/query/NuanceQuery.php
@@ -3,7 +3,7 @@
abstract class NuanceQuery extends PhabricatorCursorPagedPolicyAwareQuery {
public function getQueryApplicationClass() {
- return 'PhabricatorNuanceApplication';
+ return PhabricatorNuanceApplication::class;
}
}
diff --git a/src/applications/nuance/query/NuanceQueueSearchEngine.php b/src/applications/nuance/query/NuanceQueueSearchEngine.php
--- a/src/applications/nuance/query/NuanceQueueSearchEngine.php
+++ b/src/applications/nuance/query/NuanceQueueSearchEngine.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationSearchEngine {
public function getApplicationClassName() {
- return 'PhabricatorNuanceApplication';
+ return PhabricatorNuanceApplication::class;
}
public function getResultTypeDescription() {
diff --git a/src/applications/nuance/query/NuanceSourceSearchEngine.php b/src/applications/nuance/query/NuanceSourceSearchEngine.php
--- a/src/applications/nuance/query/NuanceSourceSearchEngine.php
+++ b/src/applications/nuance/query/NuanceSourceSearchEngine.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationSearchEngine {
public function getApplicationClassName() {
- return 'PhabricatorNuanceApplication';
+ return PhabricatorNuanceApplication::class;
}
public function getResultTypeDescription() {
diff --git a/src/applications/nuance/typeahead/NuanceQueueDatasource.php b/src/applications/nuance/typeahead/NuanceQueueDatasource.php
--- a/src/applications/nuance/typeahead/NuanceQueueDatasource.php
+++ b/src/applications/nuance/typeahead/NuanceQueueDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorNuanceApplication';
+ return PhabricatorNuanceApplication::class;
}
public function loadResults() {
diff --git a/src/applications/oauthserver/editor/PhabricatorOAuthServerEditEngine.php b/src/applications/oauthserver/editor/PhabricatorOAuthServerEditEngine.php
--- a/src/applications/oauthserver/editor/PhabricatorOAuthServerEditEngine.php
+++ b/src/applications/oauthserver/editor/PhabricatorOAuthServerEditEngine.php
@@ -22,7 +22,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorOAuthServerApplication';
+ return PhabricatorOAuthServerApplication::class;
}
protected function newEditableObject() {
diff --git a/src/applications/oauthserver/editor/PhabricatorOAuthServerEditor.php b/src/applications/oauthserver/editor/PhabricatorOAuthServerEditor.php
--- a/src/applications/oauthserver/editor/PhabricatorOAuthServerEditor.php
+++ b/src/applications/oauthserver/editor/PhabricatorOAuthServerEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorOAuthServerApplication';
+ return PhabricatorOAuthServerApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/oauthserver/phid/PhabricatorOAuthServerClientAuthorizationPHIDType.php b/src/applications/oauthserver/phid/PhabricatorOAuthServerClientAuthorizationPHIDType.php
--- a/src/applications/oauthserver/phid/PhabricatorOAuthServerClientAuthorizationPHIDType.php
+++ b/src/applications/oauthserver/phid/PhabricatorOAuthServerClientAuthorizationPHIDType.php
@@ -14,7 +14,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorOAuthServerApplication';
+ return PhabricatorOAuthServerApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/oauthserver/phid/PhabricatorOAuthServerClientPHIDType.php b/src/applications/oauthserver/phid/PhabricatorOAuthServerClientPHIDType.php
--- a/src/applications/oauthserver/phid/PhabricatorOAuthServerClientPHIDType.php
+++ b/src/applications/oauthserver/phid/PhabricatorOAuthServerClientPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorOAuthServerApplication';
+ return PhabricatorOAuthServerApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/oauthserver/query/PhabricatorOAuthClientAuthorizationQuery.php b/src/applications/oauthserver/query/PhabricatorOAuthClientAuthorizationQuery.php
--- a/src/applications/oauthserver/query/PhabricatorOAuthClientAuthorizationQuery.php
+++ b/src/applications/oauthserver/query/PhabricatorOAuthClientAuthorizationQuery.php
@@ -79,7 +79,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorOAuthServerApplication';
+ return PhabricatorOAuthServerApplication::class;
}
}
diff --git a/src/applications/oauthserver/query/PhabricatorOAuthServerClientQuery.php b/src/applications/oauthserver/query/PhabricatorOAuthServerClientQuery.php
--- a/src/applications/oauthserver/query/PhabricatorOAuthServerClientQuery.php
+++ b/src/applications/oauthserver/query/PhabricatorOAuthServerClientQuery.php
@@ -67,7 +67,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorOAuthServerApplication';
+ return PhabricatorOAuthServerApplication::class;
}
}
diff --git a/src/applications/oauthserver/query/PhabricatorOAuthServerClientSearchEngine.php b/src/applications/oauthserver/query/PhabricatorOAuthServerClientSearchEngine.php
--- a/src/applications/oauthserver/query/PhabricatorOAuthServerClientSearchEngine.php
+++ b/src/applications/oauthserver/query/PhabricatorOAuthServerClientSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorOAuthServerApplication';
+ return PhabricatorOAuthServerApplication::class;
}
public function canUseInPanelContext() {
diff --git a/src/applications/owners/editor/PhabricatorOwnersPackageEditEngine.php b/src/applications/owners/editor/PhabricatorOwnersPackageEditEngine.php
--- a/src/applications/owners/editor/PhabricatorOwnersPackageEditEngine.php
+++ b/src/applications/owners/editor/PhabricatorOwnersPackageEditEngine.php
@@ -18,7 +18,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorOwnersApplication';
+ return PhabricatorOwnersApplication::class;
}
protected function newEditableObject() {
diff --git a/src/applications/owners/editor/PhabricatorOwnersPackageTransactionEditor.php b/src/applications/owners/editor/PhabricatorOwnersPackageTransactionEditor.php
--- a/src/applications/owners/editor/PhabricatorOwnersPackageTransactionEditor.php
+++ b/src/applications/owners/editor/PhabricatorOwnersPackageTransactionEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorOwnersApplication';
+ return PhabricatorOwnersApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/owners/phid/PhabricatorOwnersPackagePHIDType.php b/src/applications/owners/phid/PhabricatorOwnersPackagePHIDType.php
--- a/src/applications/owners/phid/PhabricatorOwnersPackagePHIDType.php
+++ b/src/applications/owners/phid/PhabricatorOwnersPackagePHIDType.php
@@ -17,7 +17,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorOwnersApplication';
+ return PhabricatorOwnersApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/owners/query/PhabricatorOwnersPackageQuery.php b/src/applications/owners/query/PhabricatorOwnersPackageQuery.php
--- a/src/applications/owners/query/PhabricatorOwnersPackageQuery.php
+++ b/src/applications/owners/query/PhabricatorOwnersPackageQuery.php
@@ -284,7 +284,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorOwnersApplication';
+ return PhabricatorOwnersApplication::class;
}
protected function getPrimaryTableAlias() {
diff --git a/src/applications/owners/query/PhabricatorOwnersPackageSearchEngine.php b/src/applications/owners/query/PhabricatorOwnersPackageSearchEngine.php
--- a/src/applications/owners/query/PhabricatorOwnersPackageSearchEngine.php
+++ b/src/applications/owners/query/PhabricatorOwnersPackageSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorOwnersApplication';
+ return PhabricatorOwnersApplication::class;
}
public function newQuery() {
diff --git a/src/applications/owners/typeahead/PhabricatorOwnersPackageDatasource.php b/src/applications/owners/typeahead/PhabricatorOwnersPackageDatasource.php
--- a/src/applications/owners/typeahead/PhabricatorOwnersPackageDatasource.php
+++ b/src/applications/owners/typeahead/PhabricatorOwnersPackageDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorOwnersApplication';
+ return PhabricatorOwnersApplication::class;
}
public function loadResults() {
diff --git a/src/applications/owners/typeahead/PhabricatorOwnersPackageFunctionDatasource.php b/src/applications/owners/typeahead/PhabricatorOwnersPackageFunctionDatasource.php
--- a/src/applications/owners/typeahead/PhabricatorOwnersPackageFunctionDatasource.php
+++ b/src/applications/owners/typeahead/PhabricatorOwnersPackageFunctionDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorOwnersApplication';
+ return PhabricatorOwnersApplication::class;
}
public function getComponentDatasources() {
diff --git a/src/applications/owners/typeahead/PhabricatorOwnersPackageOwnerDatasource.php b/src/applications/owners/typeahead/PhabricatorOwnersPackageOwnerDatasource.php
--- a/src/applications/owners/typeahead/PhabricatorOwnersPackageOwnerDatasource.php
+++ b/src/applications/owners/typeahead/PhabricatorOwnersPackageOwnerDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorOwnersApplication';
+ return PhabricatorOwnersApplication::class;
}
public function getComponentDatasources() {
diff --git a/src/applications/packages/editor/PhabricatorPackagesEditEngine.php b/src/applications/packages/editor/PhabricatorPackagesEditEngine.php
--- a/src/applications/packages/editor/PhabricatorPackagesEditEngine.php
+++ b/src/applications/packages/editor/PhabricatorPackagesEditEngine.php
@@ -8,7 +8,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorPackagesApplication';
+ return PhabricatorPackagesApplication::class;
}
}
diff --git a/src/applications/packages/editor/PhabricatorPackagesEditor.php b/src/applications/packages/editor/PhabricatorPackagesEditor.php
--- a/src/applications/packages/editor/PhabricatorPackagesEditor.php
+++ b/src/applications/packages/editor/PhabricatorPackagesEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorPackagesApplication';
+ return PhabricatorPackagesApplication::class;
}
protected function supportsSearch() {
diff --git a/src/applications/packages/phid/PhabricatorPackagesPackagePHIDType.php b/src/applications/packages/phid/PhabricatorPackagesPackagePHIDType.php
--- a/src/applications/packages/phid/PhabricatorPackagesPackagePHIDType.php
+++ b/src/applications/packages/phid/PhabricatorPackagesPackagePHIDType.php
@@ -14,7 +14,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorPackagesApplication';
+ return PhabricatorPackagesApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/packages/phid/PhabricatorPackagesPublisherPHIDType.php b/src/applications/packages/phid/PhabricatorPackagesPublisherPHIDType.php
--- a/src/applications/packages/phid/PhabricatorPackagesPublisherPHIDType.php
+++ b/src/applications/packages/phid/PhabricatorPackagesPublisherPHIDType.php
@@ -14,7 +14,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorPackagesApplication';
+ return PhabricatorPackagesApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/packages/phid/PhabricatorPackagesVersionPHIDType.php b/src/applications/packages/phid/PhabricatorPackagesVersionPHIDType.php
--- a/src/applications/packages/phid/PhabricatorPackagesVersionPHIDType.php
+++ b/src/applications/packages/phid/PhabricatorPackagesVersionPHIDType.php
@@ -14,7 +14,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorPackagesApplication';
+ return PhabricatorPackagesApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/packages/query/PhabricatorPackagesPackageSearchEngine.php b/src/applications/packages/query/PhabricatorPackagesPackageSearchEngine.php
--- a/src/applications/packages/query/PhabricatorPackagesPackageSearchEngine.php
+++ b/src/applications/packages/query/PhabricatorPackagesPackageSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorPackagesApplication';
+ return PhabricatorPackagesApplication::class;
}
public function newQuery() {
diff --git a/src/applications/packages/query/PhabricatorPackagesPublisherSearchEngine.php b/src/applications/packages/query/PhabricatorPackagesPublisherSearchEngine.php
--- a/src/applications/packages/query/PhabricatorPackagesPublisherSearchEngine.php
+++ b/src/applications/packages/query/PhabricatorPackagesPublisherSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorPackagesApplication';
+ return PhabricatorPackagesApplication::class;
}
public function newQuery() {
diff --git a/src/applications/packages/query/PhabricatorPackagesQuery.php b/src/applications/packages/query/PhabricatorPackagesQuery.php
--- a/src/applications/packages/query/PhabricatorPackagesQuery.php
+++ b/src/applications/packages/query/PhabricatorPackagesQuery.php
@@ -4,7 +4,7 @@
extends PhabricatorCursorPagedPolicyAwareQuery {
public function getQueryApplicationClass() {
- return 'PhabricatorPackagesApplication';
+ return PhabricatorPackagesApplication::class;
}
protected function buildFullKeyClauseParts(
diff --git a/src/applications/packages/query/PhabricatorPackagesVersionSearchEngine.php b/src/applications/packages/query/PhabricatorPackagesVersionSearchEngine.php
--- a/src/applications/packages/query/PhabricatorPackagesVersionSearchEngine.php
+++ b/src/applications/packages/query/PhabricatorPackagesVersionSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorPackagesApplication';
+ return PhabricatorPackagesApplication::class;
}
public function newQuery() {
diff --git a/src/applications/packages/typeahead/PhabricatorPackagesPackageDatasource.php b/src/applications/packages/typeahead/PhabricatorPackagesPackageDatasource.php
--- a/src/applications/packages/typeahead/PhabricatorPackagesPackageDatasource.php
+++ b/src/applications/packages/typeahead/PhabricatorPackagesPackageDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorPackagesApplication';
+ return PhabricatorPackagesApplication::class;
}
public function loadResults() {
diff --git a/src/applications/packages/typeahead/PhabricatorPackagesPublisherDatasource.php b/src/applications/packages/typeahead/PhabricatorPackagesPublisherDatasource.php
--- a/src/applications/packages/typeahead/PhabricatorPackagesPublisherDatasource.php
+++ b/src/applications/packages/typeahead/PhabricatorPackagesPublisherDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorPackagesApplication';
+ return PhabricatorPackagesApplication::class;
}
public function loadResults() {
diff --git a/src/applications/passphrase/editor/PassphraseCredentialTransactionEditor.php b/src/applications/passphrase/editor/PassphraseCredentialTransactionEditor.php
--- a/src/applications/passphrase/editor/PassphraseCredentialTransactionEditor.php
+++ b/src/applications/passphrase/editor/PassphraseCredentialTransactionEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorPassphraseApplication';
+ return PhabricatorPassphraseApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/passphrase/phid/PassphraseCredentialPHIDType.php b/src/applications/passphrase/phid/PassphraseCredentialPHIDType.php
--- a/src/applications/passphrase/phid/PassphraseCredentialPHIDType.php
+++ b/src/applications/passphrase/phid/PassphraseCredentialPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorPassphraseApplication';
+ return PhabricatorPassphraseApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/passphrase/query/PassphraseCredentialQuery.php b/src/applications/passphrase/query/PassphraseCredentialQuery.php
--- a/src/applications/passphrase/query/PassphraseCredentialQuery.php
+++ b/src/applications/passphrase/query/PassphraseCredentialQuery.php
@@ -155,7 +155,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorPassphraseApplication';
+ return PhabricatorPassphraseApplication::class;
}
protected function getPrimaryTableAlias() {
diff --git a/src/applications/passphrase/query/PassphraseCredentialSearchEngine.php b/src/applications/passphrase/query/PassphraseCredentialSearchEngine.php
--- a/src/applications/passphrase/query/PassphraseCredentialSearchEngine.php
+++ b/src/applications/passphrase/query/PassphraseCredentialSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorPassphraseApplication';
+ return PhabricatorPassphraseApplication::class;
}
public function newQuery() {
diff --git a/src/applications/paste/editor/PhabricatorPasteEditEngine.php b/src/applications/paste/editor/PhabricatorPasteEditEngine.php
--- a/src/applications/paste/editor/PhabricatorPasteEditEngine.php
+++ b/src/applications/paste/editor/PhabricatorPasteEditEngine.php
@@ -18,7 +18,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorPasteApplication';
+ return PhabricatorPasteApplication::class;
}
protected function newEditableObject() {
diff --git a/src/applications/paste/editor/PhabricatorPasteEditor.php b/src/applications/paste/editor/PhabricatorPasteEditor.php
--- a/src/applications/paste/editor/PhabricatorPasteEditor.php
+++ b/src/applications/paste/editor/PhabricatorPasteEditor.php
@@ -10,7 +10,7 @@
}
public function getEditorApplicationClass() {
- return 'PhabricatorPasteApplication';
+ return PhabricatorPasteApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/paste/phid/PhabricatorPastePastePHIDType.php b/src/applications/paste/phid/PhabricatorPastePastePHIDType.php
--- a/src/applications/paste/phid/PhabricatorPastePastePHIDType.php
+++ b/src/applications/paste/phid/PhabricatorPastePastePHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorPasteApplication';
+ return PhabricatorPasteApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/paste/query/PhabricatorPasteQuery.php b/src/applications/paste/query/PhabricatorPasteQuery.php
--- a/src/applications/paste/query/PhabricatorPasteQuery.php
+++ b/src/applications/paste/query/PhabricatorPasteQuery.php
@@ -390,7 +390,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorPasteApplication';
+ return PhabricatorPasteApplication::class;
}
}
diff --git a/src/applications/paste/query/PhabricatorPasteSearchEngine.php b/src/applications/paste/query/PhabricatorPasteSearchEngine.php
--- a/src/applications/paste/query/PhabricatorPasteSearchEngine.php
+++ b/src/applications/paste/query/PhabricatorPasteSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorPasteApplication';
+ return PhabricatorPasteApplication::class;
}
public function newQuery() {
diff --git a/src/applications/paste/typeahead/PasteLanguageSelectDatasource.php b/src/applications/paste/typeahead/PasteLanguageSelectDatasource.php
--- a/src/applications/paste/typeahead/PasteLanguageSelectDatasource.php
+++ b/src/applications/paste/typeahead/PasteLanguageSelectDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorPasteApplication';
+ return PhabricatorPasteApplication::class;
}
public function loadResults() {
diff --git a/src/applications/people/editor/PhabricatorUserEditEngine.php b/src/applications/people/editor/PhabricatorUserEditEngine.php
--- a/src/applications/people/editor/PhabricatorUserEditEngine.php
+++ b/src/applications/people/editor/PhabricatorUserEditEngine.php
@@ -22,7 +22,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorPeopleApplication';
+ return PhabricatorPeopleApplication::class;
}
protected function newEditableObject() {
diff --git a/src/applications/people/editor/PhabricatorUserTransactionEditor.php b/src/applications/people/editor/PhabricatorUserTransactionEditor.php
--- a/src/applications/people/editor/PhabricatorUserTransactionEditor.php
+++ b/src/applications/people/editor/PhabricatorUserTransactionEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorPeopleApplication';
+ return PhabricatorPeopleApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/people/phid/PhabricatorPeopleExternalIdentifierPHIDType.php b/src/applications/people/phid/PhabricatorPeopleExternalIdentifierPHIDType.php
--- a/src/applications/people/phid/PhabricatorPeopleExternalIdentifierPHIDType.php
+++ b/src/applications/people/phid/PhabricatorPeopleExternalIdentifierPHIDType.php
@@ -14,7 +14,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorPeopleApplication';
+ return PhabricatorPeopleApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/people/phid/PhabricatorPeopleExternalPHIDType.php b/src/applications/people/phid/PhabricatorPeopleExternalPHIDType.php
--- a/src/applications/people/phid/PhabricatorPeopleExternalPHIDType.php
+++ b/src/applications/people/phid/PhabricatorPeopleExternalPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorPeopleApplication';
+ return PhabricatorPeopleApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/people/phid/PhabricatorPeopleUserEmailPHIDType.php b/src/applications/people/phid/PhabricatorPeopleUserEmailPHIDType.php
--- a/src/applications/people/phid/PhabricatorPeopleUserEmailPHIDType.php
+++ b/src/applications/people/phid/PhabricatorPeopleUserEmailPHIDType.php
@@ -14,7 +14,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorPeopleApplication';
+ return PhabricatorPeopleApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/people/phid/PhabricatorPeopleUserPHIDType.php b/src/applications/people/phid/PhabricatorPeopleUserPHIDType.php
--- a/src/applications/people/phid/PhabricatorPeopleUserPHIDType.php
+++ b/src/applications/people/phid/PhabricatorPeopleUserPHIDType.php
@@ -17,7 +17,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorPeopleApplication';
+ return PhabricatorPeopleApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/people/query/PhabricatorPeopleLogQuery.php b/src/applications/people/query/PhabricatorPeopleLogQuery.php
--- a/src/applications/people/query/PhabricatorPeopleLogQuery.php
+++ b/src/applications/people/query/PhabricatorPeopleLogQuery.php
@@ -129,7 +129,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorPeopleApplication';
+ return PhabricatorPeopleApplication::class;
}
}
diff --git a/src/applications/people/query/PhabricatorPeopleLogSearchEngine.php b/src/applications/people/query/PhabricatorPeopleLogSearchEngine.php
--- a/src/applications/people/query/PhabricatorPeopleLogSearchEngine.php
+++ b/src/applications/people/query/PhabricatorPeopleLogSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorPeopleApplication';
+ return PhabricatorPeopleApplication::class;
}
public function getPageSize(PhabricatorSavedQuery $saved) {
diff --git a/src/applications/people/query/PhabricatorPeopleQuery.php b/src/applications/people/query/PhabricatorPeopleQuery.php
--- a/src/applications/people/query/PhabricatorPeopleQuery.php
+++ b/src/applications/people/query/PhabricatorPeopleQuery.php
@@ -360,7 +360,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorPeopleApplication';
+ return PhabricatorPeopleApplication::class;
}
public function getOrderableColumns() {
diff --git a/src/applications/people/query/PhabricatorPeopleSearchEngine.php b/src/applications/people/query/PhabricatorPeopleSearchEngine.php
--- a/src/applications/people/query/PhabricatorPeopleSearchEngine.php
+++ b/src/applications/people/query/PhabricatorPeopleSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorPeopleApplication';
+ return PhabricatorPeopleApplication::class;
}
public function newQuery() {
diff --git a/src/applications/people/query/PhabricatorPeopleUserEmailQuery.php b/src/applications/people/query/PhabricatorPeopleUserEmailQuery.php
--- a/src/applications/people/query/PhabricatorPeopleUserEmailQuery.php
+++ b/src/applications/people/query/PhabricatorPeopleUserEmailQuery.php
@@ -71,7 +71,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorPeopleApplication';
+ return PhabricatorPeopleApplication::class;
}
}
diff --git a/src/applications/people/typeahead/PhabricatorPeopleAnyOwnerDatasource.php b/src/applications/people/typeahead/PhabricatorPeopleAnyOwnerDatasource.php
--- a/src/applications/people/typeahead/PhabricatorPeopleAnyOwnerDatasource.php
+++ b/src/applications/people/typeahead/PhabricatorPeopleAnyOwnerDatasource.php
@@ -14,7 +14,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorPeopleApplication';
+ return PhabricatorPeopleApplication::class;
}
public function getDatasourceFunctions() {
diff --git a/src/applications/people/typeahead/PhabricatorPeopleDatasource.php b/src/applications/people/typeahead/PhabricatorPeopleDatasource.php
--- a/src/applications/people/typeahead/PhabricatorPeopleDatasource.php
+++ b/src/applications/people/typeahead/PhabricatorPeopleDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorPeopleApplication';
+ return PhabricatorPeopleApplication::class;
}
public function loadResults() {
diff --git a/src/applications/people/typeahead/PhabricatorPeopleNoOwnerDatasource.php b/src/applications/people/typeahead/PhabricatorPeopleNoOwnerDatasource.php
--- a/src/applications/people/typeahead/PhabricatorPeopleNoOwnerDatasource.php
+++ b/src/applications/people/typeahead/PhabricatorPeopleNoOwnerDatasource.php
@@ -14,7 +14,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorPeopleApplication';
+ return PhabricatorPeopleApplication::class;
}
public function getDatasourceFunctions() {
diff --git a/src/applications/people/typeahead/PhabricatorUserLogTypeDatasource.php b/src/applications/people/typeahead/PhabricatorUserLogTypeDatasource.php
--- a/src/applications/people/typeahead/PhabricatorUserLogTypeDatasource.php
+++ b/src/applications/people/typeahead/PhabricatorUserLogTypeDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorPeopleApplication';
+ return PhabricatorPeopleApplication::class;
}
public function loadResults() {
diff --git a/src/applications/people/typeahead/PhabricatorViewerDatasource.php b/src/applications/people/typeahead/PhabricatorViewerDatasource.php
--- a/src/applications/people/typeahead/PhabricatorViewerDatasource.php
+++ b/src/applications/people/typeahead/PhabricatorViewerDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorPeopleApplication';
+ return PhabricatorPeopleApplication::class;
}
public function getDatasourceFunctions() {
diff --git a/src/applications/phame/editor/PhameBlogEditEngine.php b/src/applications/phame/editor/PhameBlogEditEngine.php
--- a/src/applications/phame/editor/PhameBlogEditEngine.php
+++ b/src/applications/phame/editor/PhameBlogEditEngine.php
@@ -10,7 +10,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorPhameApplication';
+ return PhabricatorPhameApplication::class;
}
public function getSummaryHeader() {
diff --git a/src/applications/phame/editor/PhameBlogEditor.php b/src/applications/phame/editor/PhameBlogEditor.php
--- a/src/applications/phame/editor/PhameBlogEditor.php
+++ b/src/applications/phame/editor/PhameBlogEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorPhameApplication';
+ return PhabricatorPhameApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/phame/editor/PhamePostEditEngine.php b/src/applications/phame/editor/PhamePostEditEngine.php
--- a/src/applications/phame/editor/PhamePostEditEngine.php
+++ b/src/applications/phame/editor/PhamePostEditEngine.php
@@ -25,7 +25,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorPhameApplication';
+ return PhabricatorPhameApplication::class;
}
protected function newEditableObject() {
diff --git a/src/applications/phame/editor/PhamePostEditor.php b/src/applications/phame/editor/PhamePostEditor.php
--- a/src/applications/phame/editor/PhamePostEditor.php
+++ b/src/applications/phame/editor/PhamePostEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorPhameApplication';
+ return PhabricatorPhameApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/phame/herald/HeraldPhameBlogAdapter.php b/src/applications/phame/herald/HeraldPhameBlogAdapter.php
--- a/src/applications/phame/herald/HeraldPhameBlogAdapter.php
+++ b/src/applications/phame/herald/HeraldPhameBlogAdapter.php
@@ -9,7 +9,7 @@
}
public function getAdapterApplicationClass() {
- return 'PhabricatorPhameApplication';
+ return PhabricatorPhameApplication::class;
}
public function getAdapterContentDescription() {
diff --git a/src/applications/phame/herald/HeraldPhamePostAdapter.php b/src/applications/phame/herald/HeraldPhamePostAdapter.php
--- a/src/applications/phame/herald/HeraldPhamePostAdapter.php
+++ b/src/applications/phame/herald/HeraldPhamePostAdapter.php
@@ -9,7 +9,7 @@
}
public function getAdapterApplicationClass() {
- return 'PhabricatorPhameApplication';
+ return PhabricatorPhameApplication::class;
}
public function getAdapterContentDescription() {
diff --git a/src/applications/phame/phid/PhabricatorPhameBlogPHIDType.php b/src/applications/phame/phid/PhabricatorPhameBlogPHIDType.php
--- a/src/applications/phame/phid/PhabricatorPhameBlogPHIDType.php
+++ b/src/applications/phame/phid/PhabricatorPhameBlogPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorPhameApplication';
+ return PhabricatorPhameApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/phame/phid/PhabricatorPhamePostPHIDType.php b/src/applications/phame/phid/PhabricatorPhamePostPHIDType.php
--- a/src/applications/phame/phid/PhabricatorPhamePostPHIDType.php
+++ b/src/applications/phame/phid/PhabricatorPhamePostPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorPhameApplication';
+ return PhabricatorPhameApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/phame/query/PhameBlogSearchEngine.php b/src/applications/phame/query/PhameBlogSearchEngine.php
--- a/src/applications/phame/query/PhameBlogSearchEngine.php
+++ b/src/applications/phame/query/PhameBlogSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorPhameApplication';
+ return PhabricatorPhameApplication::class;
}
public function newQuery() {
diff --git a/src/applications/phame/query/PhamePostSearchEngine.php b/src/applications/phame/query/PhamePostSearchEngine.php
--- a/src/applications/phame/query/PhamePostSearchEngine.php
+++ b/src/applications/phame/query/PhamePostSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorPhameApplication';
+ return PhabricatorPhameApplication::class;
}
public function newQuery() {
diff --git a/src/applications/phame/typeahead/PhameBlogDatasource.php b/src/applications/phame/typeahead/PhameBlogDatasource.php
--- a/src/applications/phame/typeahead/PhameBlogDatasource.php
+++ b/src/applications/phame/typeahead/PhameBlogDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorPhameApplication';
+ return PhabricatorPhameApplication::class;
}
public function loadResults() {
diff --git a/src/applications/phid/PhabricatorMetaMTAApplicationEmailPHIDType.php b/src/applications/phid/PhabricatorMetaMTAApplicationEmailPHIDType.php
--- a/src/applications/phid/PhabricatorMetaMTAApplicationEmailPHIDType.php
+++ b/src/applications/phid/PhabricatorMetaMTAApplicationEmailPHIDType.php
@@ -18,7 +18,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorMetaMTAApplication';
+ return PhabricatorMetaMTAApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/phlux/editor/PhluxVariableEditor.php b/src/applications/phlux/editor/PhluxVariableEditor.php
--- a/src/applications/phlux/editor/PhluxVariableEditor.php
+++ b/src/applications/phlux/editor/PhluxVariableEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorPhluxApplication';
+ return PhabricatorPhluxApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/phlux/phid/PhluxVariablePHIDType.php b/src/applications/phlux/phid/PhluxVariablePHIDType.php
--- a/src/applications/phlux/phid/PhluxVariablePHIDType.php
+++ b/src/applications/phlux/phid/PhluxVariablePHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorPhluxApplication';
+ return PhabricatorPhluxApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/phlux/query/PhluxVariableQuery.php b/src/applications/phlux/query/PhluxVariableQuery.php
--- a/src/applications/phlux/query/PhluxVariableQuery.php
+++ b/src/applications/phlux/query/PhluxVariableQuery.php
@@ -89,7 +89,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorPhluxApplication';
+ return PhabricatorPhluxApplication::class;
}
}
diff --git a/src/applications/pholio/editor/PholioMockEditor.php b/src/applications/pholio/editor/PholioMockEditor.php
--- a/src/applications/pholio/editor/PholioMockEditor.php
+++ b/src/applications/pholio/editor/PholioMockEditor.php
@@ -5,7 +5,7 @@
private $images = array();
public function getEditorApplicationClass() {
- return 'PhabricatorPholioApplication';
+ return PhabricatorPholioApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/pholio/herald/HeraldPholioMockAdapter.php b/src/applications/pholio/herald/HeraldPholioMockAdapter.php
--- a/src/applications/pholio/herald/HeraldPholioMockAdapter.php
+++ b/src/applications/pholio/herald/HeraldPholioMockAdapter.php
@@ -5,7 +5,7 @@
private $mock;
public function getAdapterApplicationClass() {
- return 'PhabricatorPholioApplication';
+ return PhabricatorPholioApplication::class;
}
public function getAdapterContentDescription() {
diff --git a/src/applications/pholio/phid/PholioImagePHIDType.php b/src/applications/pholio/phid/PholioImagePHIDType.php
--- a/src/applications/pholio/phid/PholioImagePHIDType.php
+++ b/src/applications/pholio/phid/PholioImagePHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorPholioApplication';
+ return PhabricatorPholioApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/pholio/phid/PholioMockPHIDType.php b/src/applications/pholio/phid/PholioMockPHIDType.php
--- a/src/applications/pholio/phid/PholioMockPHIDType.php
+++ b/src/applications/pholio/phid/PholioMockPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorPholioApplication';
+ return PhabricatorPholioApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/pholio/query/PholioImageQuery.php b/src/applications/pholio/query/PholioImageQuery.php
--- a/src/applications/pholio/query/PholioImageQuery.php
+++ b/src/applications/pholio/query/PholioImageQuery.php
@@ -152,7 +152,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorPholioApplication';
+ return PhabricatorPholioApplication::class;
}
}
diff --git a/src/applications/pholio/query/PholioMockQuery.php b/src/applications/pholio/query/PholioMockQuery.php
--- a/src/applications/pholio/query/PholioMockQuery.php
+++ b/src/applications/pholio/query/PholioMockQuery.php
@@ -152,7 +152,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorPholioApplication';
+ return PhabricatorPholioApplication::class;
}
protected function getPrimaryTableAlias() {
diff --git a/src/applications/pholio/query/PholioMockSearchEngine.php b/src/applications/pholio/query/PholioMockSearchEngine.php
--- a/src/applications/pholio/query/PholioMockSearchEngine.php
+++ b/src/applications/pholio/query/PholioMockSearchEngine.php
@@ -7,7 +7,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorPholioApplication';
+ return PhabricatorPholioApplication::class;
}
public function newQuery() {
diff --git a/src/applications/phortune/editor/PhortuneAccountEditEngine.php b/src/applications/phortune/editor/PhortuneAccountEditEngine.php
--- a/src/applications/phortune/editor/PhortuneAccountEditEngine.php
+++ b/src/applications/phortune/editor/PhortuneAccountEditEngine.php
@@ -10,7 +10,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorPhortuneApplication';
+ return PhabricatorPhortuneApplication::class;
}
public function getSummaryHeader() {
diff --git a/src/applications/phortune/editor/PhortuneAccountEditor.php b/src/applications/phortune/editor/PhortuneAccountEditor.php
--- a/src/applications/phortune/editor/PhortuneAccountEditor.php
+++ b/src/applications/phortune/editor/PhortuneAccountEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorPhortuneApplication';
+ return PhabricatorPhortuneApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/phortune/editor/PhortuneAccountEmailEditEngine.php b/src/applications/phortune/editor/PhortuneAccountEmailEditEngine.php
--- a/src/applications/phortune/editor/PhortuneAccountEmailEditEngine.php
+++ b/src/applications/phortune/editor/PhortuneAccountEmailEditEngine.php
@@ -21,7 +21,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorPhortuneApplication';
+ return PhabricatorPhortuneApplication::class;
}
public function getSummaryHeader() {
diff --git a/src/applications/phortune/editor/PhortuneAccountEmailEditor.php b/src/applications/phortune/editor/PhortuneAccountEmailEditor.php
--- a/src/applications/phortune/editor/PhortuneAccountEmailEditor.php
+++ b/src/applications/phortune/editor/PhortuneAccountEmailEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorPhortuneApplication';
+ return PhabricatorPhortuneApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/phortune/editor/PhortuneCartEditor.php b/src/applications/phortune/editor/PhortuneCartEditor.php
--- a/src/applications/phortune/editor/PhortuneCartEditor.php
+++ b/src/applications/phortune/editor/PhortuneCartEditor.php
@@ -19,7 +19,7 @@
}
public function getEditorApplicationClass() {
- return 'PhabricatorPhortuneApplication';
+ return PhabricatorPhortuneApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/phortune/editor/PhortuneMerchantEditEngine.php b/src/applications/phortune/editor/PhortuneMerchantEditEngine.php
--- a/src/applications/phortune/editor/PhortuneMerchantEditEngine.php
+++ b/src/applications/phortune/editor/PhortuneMerchantEditEngine.php
@@ -10,7 +10,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorPhortuneApplication';
+ return PhabricatorPhortuneApplication::class;
}
public function getSummaryHeader() {
diff --git a/src/applications/phortune/editor/PhortuneMerchantEditor.php b/src/applications/phortune/editor/PhortuneMerchantEditor.php
--- a/src/applications/phortune/editor/PhortuneMerchantEditor.php
+++ b/src/applications/phortune/editor/PhortuneMerchantEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorPhortuneApplication';
+ return PhabricatorPhortuneApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/phortune/editor/PhortunePaymentMethodEditor.php b/src/applications/phortune/editor/PhortunePaymentMethodEditor.php
--- a/src/applications/phortune/editor/PhortunePaymentMethodEditor.php
+++ b/src/applications/phortune/editor/PhortunePaymentMethodEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorPhortuneApplication';
+ return PhabricatorPhortuneApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/phortune/editor/PhortunePaymentProviderConfigEditor.php b/src/applications/phortune/editor/PhortunePaymentProviderConfigEditor.php
--- a/src/applications/phortune/editor/PhortunePaymentProviderConfigEditor.php
+++ b/src/applications/phortune/editor/PhortunePaymentProviderConfigEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorPhortuneApplication';
+ return PhabricatorPhortuneApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/phortune/editor/PhortuneSubscriptionEditor.php b/src/applications/phortune/editor/PhortuneSubscriptionEditor.php
--- a/src/applications/phortune/editor/PhortuneSubscriptionEditor.php
+++ b/src/applications/phortune/editor/PhortuneSubscriptionEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorPhortuneApplication';
+ return PhabricatorPhortuneApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/phortune/phid/PhortuneAccountEmailPHIDType.php b/src/applications/phortune/phid/PhortuneAccountEmailPHIDType.php
--- a/src/applications/phortune/phid/PhortuneAccountEmailPHIDType.php
+++ b/src/applications/phortune/phid/PhortuneAccountEmailPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorPhortuneApplication';
+ return PhabricatorPhortuneApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/phortune/phid/PhortuneAccountPHIDType.php b/src/applications/phortune/phid/PhortuneAccountPHIDType.php
--- a/src/applications/phortune/phid/PhortuneAccountPHIDType.php
+++ b/src/applications/phortune/phid/PhortuneAccountPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorPhortuneApplication';
+ return PhabricatorPhortuneApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/phortune/phid/PhortuneCartPHIDType.php b/src/applications/phortune/phid/PhortuneCartPHIDType.php
--- a/src/applications/phortune/phid/PhortuneCartPHIDType.php
+++ b/src/applications/phortune/phid/PhortuneCartPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorPhortuneApplication';
+ return PhabricatorPhortuneApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/phortune/phid/PhortuneChargePHIDType.php b/src/applications/phortune/phid/PhortuneChargePHIDType.php
--- a/src/applications/phortune/phid/PhortuneChargePHIDType.php
+++ b/src/applications/phortune/phid/PhortuneChargePHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorPhortuneApplication';
+ return PhabricatorPhortuneApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/phortune/phid/PhortuneMerchantPHIDType.php b/src/applications/phortune/phid/PhortuneMerchantPHIDType.php
--- a/src/applications/phortune/phid/PhortuneMerchantPHIDType.php
+++ b/src/applications/phortune/phid/PhortuneMerchantPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorPhortuneApplication';
+ return PhabricatorPhortuneApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/phortune/phid/PhortunePaymentMethodPHIDType.php b/src/applications/phortune/phid/PhortunePaymentMethodPHIDType.php
--- a/src/applications/phortune/phid/PhortunePaymentMethodPHIDType.php
+++ b/src/applications/phortune/phid/PhortunePaymentMethodPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorPhortuneApplication';
+ return PhabricatorPhortuneApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/phortune/phid/PhortunePaymentProviderPHIDType.php b/src/applications/phortune/phid/PhortunePaymentProviderPHIDType.php
--- a/src/applications/phortune/phid/PhortunePaymentProviderPHIDType.php
+++ b/src/applications/phortune/phid/PhortunePaymentProviderPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorPhortuneApplication';
+ return PhabricatorPhortuneApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/phortune/phid/PhortuneProductPHIDType.php b/src/applications/phortune/phid/PhortuneProductPHIDType.php
--- a/src/applications/phortune/phid/PhortuneProductPHIDType.php
+++ b/src/applications/phortune/phid/PhortuneProductPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorPhortuneApplication';
+ return PhabricatorPhortuneApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/phortune/phid/PhortunePurchasePHIDType.php b/src/applications/phortune/phid/PhortunePurchasePHIDType.php
--- a/src/applications/phortune/phid/PhortunePurchasePHIDType.php
+++ b/src/applications/phortune/phid/PhortunePurchasePHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorPhortuneApplication';
+ return PhabricatorPhortuneApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/phortune/phid/PhortuneSubscriptionPHIDType.php b/src/applications/phortune/phid/PhortuneSubscriptionPHIDType.php
--- a/src/applications/phortune/phid/PhortuneSubscriptionPHIDType.php
+++ b/src/applications/phortune/phid/PhortuneSubscriptionPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorPhortuneApplication';
+ return PhabricatorPhortuneApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/phortune/query/PhortuneAccountEmailQuery.php b/src/applications/phortune/query/PhortuneAccountEmailQuery.php
--- a/src/applications/phortune/query/PhortuneAccountEmailQuery.php
+++ b/src/applications/phortune/query/PhortuneAccountEmailQuery.php
@@ -103,7 +103,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorPhortuneApplication';
+ return PhabricatorPhortuneApplication::class;
}
protected function getPrimaryTableAlias() {
diff --git a/src/applications/phortune/query/PhortuneAccountQuery.php b/src/applications/phortune/query/PhortuneAccountQuery.php
--- a/src/applications/phortune/query/PhortuneAccountQuery.php
+++ b/src/applications/phortune/query/PhortuneAccountQuery.php
@@ -124,7 +124,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorPhortuneApplication';
+ return PhabricatorPhortuneApplication::class;
}
protected function getPrimaryTableAlias() {
diff --git a/src/applications/phortune/query/PhortuneCartQuery.php b/src/applications/phortune/query/PhortuneCartQuery.php
--- a/src/applications/phortune/query/PhortuneCartQuery.php
+++ b/src/applications/phortune/query/PhortuneCartQuery.php
@@ -217,7 +217,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorPhortuneApplication';
+ return PhabricatorPhortuneApplication::class;
}
}
diff --git a/src/applications/phortune/query/PhortuneCartSearchEngine.php b/src/applications/phortune/query/PhortuneCartSearchEngine.php
--- a/src/applications/phortune/query/PhortuneCartSearchEngine.php
+++ b/src/applications/phortune/query/PhortuneCartSearchEngine.php
@@ -44,7 +44,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorPhortuneApplication';
+ return PhabricatorPhortuneApplication::class;
}
public function buildSavedQueryFromRequest(AphrontRequest $request) {
diff --git a/src/applications/phortune/query/PhortuneChargeQuery.php b/src/applications/phortune/query/PhortuneChargeQuery.php
--- a/src/applications/phortune/query/PhortuneChargeQuery.php
+++ b/src/applications/phortune/query/PhortuneChargeQuery.php
@@ -138,7 +138,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorPhortuneApplication';
+ return PhabricatorPhortuneApplication::class;
}
}
diff --git a/src/applications/phortune/query/PhortuneChargeSearchEngine.php b/src/applications/phortune/query/PhortuneChargeSearchEngine.php
--- a/src/applications/phortune/query/PhortuneChargeSearchEngine.php
+++ b/src/applications/phortune/query/PhortuneChargeSearchEngine.php
@@ -24,7 +24,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorPhortuneApplication';
+ return PhabricatorPhortuneApplication::class;
}
public function buildSavedQueryFromRequest(AphrontRequest $request) {
diff --git a/src/applications/phortune/query/PhortuneMerchantQuery.php b/src/applications/phortune/query/PhortuneMerchantQuery.php
--- a/src/applications/phortune/query/PhortuneMerchantQuery.php
+++ b/src/applications/phortune/query/PhortuneMerchantQuery.php
@@ -118,7 +118,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorPhortuneApplication';
+ return PhabricatorPhortuneApplication::class;
}
protected function getPrimaryTableAlias() {
diff --git a/src/applications/phortune/query/PhortuneMerchantSearchEngine.php b/src/applications/phortune/query/PhortuneMerchantSearchEngine.php
--- a/src/applications/phortune/query/PhortuneMerchantSearchEngine.php
+++ b/src/applications/phortune/query/PhortuneMerchantSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorPhortuneApplication';
+ return PhabricatorPhortuneApplication::class;
}
public function buildSavedQueryFromRequest(AphrontRequest $request) {
diff --git a/src/applications/phortune/query/PhortunePaymentMethodQuery.php b/src/applications/phortune/query/PhortunePaymentMethodQuery.php
--- a/src/applications/phortune/query/PhortunePaymentMethodQuery.php
+++ b/src/applications/phortune/query/PhortunePaymentMethodQuery.php
@@ -140,7 +140,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorPhortuneApplication';
+ return PhabricatorPhortuneApplication::class;
}
}
diff --git a/src/applications/phortune/query/PhortunePaymentProviderConfigQuery.php b/src/applications/phortune/query/PhortunePaymentProviderConfigQuery.php
--- a/src/applications/phortune/query/PhortunePaymentProviderConfigQuery.php
+++ b/src/applications/phortune/query/PhortunePaymentProviderConfigQuery.php
@@ -89,7 +89,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorPhortuneApplication';
+ return PhabricatorPhortuneApplication::class;
}
}
diff --git a/src/applications/phortune/query/PhortuneProductQuery.php b/src/applications/phortune/query/PhortuneProductQuery.php
--- a/src/applications/phortune/query/PhortuneProductQuery.php
+++ b/src/applications/phortune/query/PhortuneProductQuery.php
@@ -114,7 +114,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorPhortuneApplication';
+ return PhabricatorPhortuneApplication::class;
}
}
diff --git a/src/applications/phortune/query/PhortunePurchaseQuery.php b/src/applications/phortune/query/PhortunePurchaseQuery.php
--- a/src/applications/phortune/query/PhortunePurchaseQuery.php
+++ b/src/applications/phortune/query/PhortunePurchaseQuery.php
@@ -104,7 +104,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorPhortuneApplication';
+ return PhabricatorPhortuneApplication::class;
}
}
diff --git a/src/applications/phortune/query/PhortuneSubscriptionQuery.php b/src/applications/phortune/query/PhortuneSubscriptionQuery.php
--- a/src/applications/phortune/query/PhortuneSubscriptionQuery.php
+++ b/src/applications/phortune/query/PhortuneSubscriptionQuery.php
@@ -194,7 +194,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorPhortuneApplication';
+ return PhabricatorPhortuneApplication::class;
}
}
diff --git a/src/applications/phortune/query/PhortuneSubscriptionSearchEngine.php b/src/applications/phortune/query/PhortuneSubscriptionSearchEngine.php
--- a/src/applications/phortune/query/PhortuneSubscriptionSearchEngine.php
+++ b/src/applications/phortune/query/PhortuneSubscriptionSearchEngine.php
@@ -34,7 +34,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorPhortuneApplication';
+ return PhabricatorPhortuneApplication::class;
}
public function buildSavedQueryFromRequest(AphrontRequest $request) {
diff --git a/src/applications/phrequent/query/PhrequentSearchEngine.php b/src/applications/phrequent/query/PhrequentSearchEngine.php
--- a/src/applications/phrequent/query/PhrequentSearchEngine.php
+++ b/src/applications/phrequent/query/PhrequentSearchEngine.php
@@ -7,7 +7,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorPhrequentApplication';
+ return PhabricatorPhrequentApplication::class;
}
public function getPageSize(PhabricatorSavedQuery $saved) {
diff --git a/src/applications/phrequent/query/PhrequentUserTimeQuery.php b/src/applications/phrequent/query/PhrequentUserTimeQuery.php
--- a/src/applications/phrequent/query/PhrequentUserTimeQuery.php
+++ b/src/applications/phrequent/query/PhrequentUserTimeQuery.php
@@ -326,7 +326,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorPhrequentApplication';
+ return PhabricatorPhrequentApplication::class;
}
}
diff --git a/src/applications/phriction/editor/PhrictionDocumentEditEngine.php b/src/applications/phriction/editor/PhrictionDocumentEditEngine.php
--- a/src/applications/phriction/editor/PhrictionDocumentEditEngine.php
+++ b/src/applications/phriction/editor/PhrictionDocumentEditEngine.php
@@ -22,7 +22,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorPhrictionApplication';
+ return PhabricatorPhrictionApplication::class;
}
protected function newEditableObject() {
diff --git a/src/applications/phriction/editor/PhrictionTransactionEditor.php b/src/applications/phriction/editor/PhrictionTransactionEditor.php
--- a/src/applications/phriction/editor/PhrictionTransactionEditor.php
+++ b/src/applications/phriction/editor/PhrictionTransactionEditor.php
@@ -90,7 +90,7 @@
}
public function getEditorApplicationClass() {
- return 'PhabricatorPhrictionApplication';
+ return PhabricatorPhrictionApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/phriction/herald/PhrictionDocumentHeraldAdapter.php b/src/applications/phriction/herald/PhrictionDocumentHeraldAdapter.php
--- a/src/applications/phriction/herald/PhrictionDocumentHeraldAdapter.php
+++ b/src/applications/phriction/herald/PhrictionDocumentHeraldAdapter.php
@@ -5,7 +5,7 @@
private $document;
public function getAdapterApplicationClass() {
- return 'PhabricatorPhrictionApplication';
+ return PhabricatorPhrictionApplication::class;
}
public function getAdapterContentDescription() {
diff --git a/src/applications/phriction/phid/PhrictionContentPHIDType.php b/src/applications/phriction/phid/PhrictionContentPHIDType.php
--- a/src/applications/phriction/phid/PhrictionContentPHIDType.php
+++ b/src/applications/phriction/phid/PhrictionContentPHIDType.php
@@ -14,7 +14,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorPhrictionApplication';
+ return PhabricatorPhrictionApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/phriction/phid/PhrictionDocumentPHIDType.php b/src/applications/phriction/phid/PhrictionDocumentPHIDType.php
--- a/src/applications/phriction/phid/PhrictionDocumentPHIDType.php
+++ b/src/applications/phriction/phid/PhrictionDocumentPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorPhrictionApplication';
+ return PhabricatorPhrictionApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/phriction/query/PhrictionContentQuery.php b/src/applications/phriction/query/PhrictionContentQuery.php
--- a/src/applications/phriction/query/PhrictionContentQuery.php
+++ b/src/applications/phriction/query/PhrictionContentQuery.php
@@ -118,7 +118,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorPhrictionApplication';
+ return PhabricatorPhrictionApplication::class;
}
}
diff --git a/src/applications/phriction/query/PhrictionContentSearchEngine.php b/src/applications/phriction/query/PhrictionContentSearchEngine.php
--- a/src/applications/phriction/query/PhrictionContentSearchEngine.php
+++ b/src/applications/phriction/query/PhrictionContentSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorPhrictionApplication';
+ return PhabricatorPhrictionApplication::class;
}
public function newQuery() {
diff --git a/src/applications/phriction/query/PhrictionDocumentQuery.php b/src/applications/phriction/query/PhrictionDocumentQuery.php
--- a/src/applications/phriction/query/PhrictionDocumentQuery.php
+++ b/src/applications/phriction/query/PhrictionDocumentQuery.php
@@ -392,7 +392,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorPhrictionApplication';
+ return PhabricatorPhrictionApplication::class;
}
}
diff --git a/src/applications/phriction/query/PhrictionDocumentSearchEngine.php b/src/applications/phriction/query/PhrictionDocumentSearchEngine.php
--- a/src/applications/phriction/query/PhrictionDocumentSearchEngine.php
+++ b/src/applications/phriction/query/PhrictionDocumentSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorPhrictionApplication';
+ return PhabricatorPhrictionApplication::class;
}
public function newQuery() {
diff --git a/src/applications/phriction/typeahead/PhrictionDocumentDatasource.php b/src/applications/phriction/typeahead/PhrictionDocumentDatasource.php
--- a/src/applications/phriction/typeahead/PhrictionDocumentDatasource.php
+++ b/src/applications/phriction/typeahead/PhrictionDocumentDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorPhrictionApplication';
+ return PhabricatorPhrictionApplication::class;
}
public function loadResults() {
diff --git a/src/applications/phurl/editor/PhabricatorPhurlURLEditEngine.php b/src/applications/phurl/editor/PhabricatorPhurlURLEditEngine.php
--- a/src/applications/phurl/editor/PhabricatorPhurlURLEditEngine.php
+++ b/src/applications/phurl/editor/PhabricatorPhurlURLEditEngine.php
@@ -10,7 +10,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorPhurlApplication';
+ return PhabricatorPhurlApplication::class;
}
public function getSummaryHeader() {
diff --git a/src/applications/phurl/editor/PhabricatorPhurlURLEditor.php b/src/applications/phurl/editor/PhabricatorPhurlURLEditor.php
--- a/src/applications/phurl/editor/PhabricatorPhurlURLEditor.php
+++ b/src/applications/phurl/editor/PhabricatorPhurlURLEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorPhurlApplication';
+ return PhabricatorPhurlApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/phurl/phid/PhabricatorPhurlURLPHIDType.php b/src/applications/phurl/phid/PhabricatorPhurlURLPHIDType.php
--- a/src/applications/phurl/phid/PhabricatorPhurlURLPHIDType.php
+++ b/src/applications/phurl/phid/PhabricatorPhurlURLPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorPhurlApplication';
+ return PhabricatorPhurlApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/phurl/query/PhabricatorPhurlURLQuery.php b/src/applications/phurl/query/PhabricatorPhurlURLQuery.php
--- a/src/applications/phurl/query/PhabricatorPhurlURLQuery.php
+++ b/src/applications/phurl/query/PhabricatorPhurlURLQuery.php
@@ -103,6 +103,6 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorPhurlApplication';
+ return PhabricatorPhurlApplication::class;
}
}
diff --git a/src/applications/phurl/query/PhabricatorPhurlURLSearchEngine.php b/src/applications/phurl/query/PhabricatorPhurlURLSearchEngine.php
--- a/src/applications/phurl/query/PhabricatorPhurlURLSearchEngine.php
+++ b/src/applications/phurl/query/PhabricatorPhurlURLSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorPhurlApplication';
+ return PhabricatorPhurlApplication::class;
}
public function newQuery() {
diff --git a/src/applications/phurl/typeahead/PhabricatorPhurlURLDatasource.php b/src/applications/phurl/typeahead/PhabricatorPhurlURLDatasource.php
--- a/src/applications/phurl/typeahead/PhabricatorPhurlURLDatasource.php
+++ b/src/applications/phurl/typeahead/PhabricatorPhurlURLDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorPhurlApplication';
+ return PhabricatorPhurlApplication::class;
}
public function loadResults() {
diff --git a/src/applications/policy/phid/PhabricatorPolicyPHIDTypePolicy.php b/src/applications/policy/phid/PhabricatorPolicyPHIDTypePolicy.php
--- a/src/applications/policy/phid/PhabricatorPolicyPHIDTypePolicy.php
+++ b/src/applications/policy/phid/PhabricatorPolicyPHIDTypePolicy.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorPolicyApplication';
+ return PhabricatorPolicyApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/policy/query/PhabricatorPolicyQuery.php b/src/applications/policy/query/PhabricatorPolicyQuery.php
--- a/src/applications/policy/query/PhabricatorPolicyQuery.php
+++ b/src/applications/policy/query/PhabricatorPolicyQuery.php
@@ -286,7 +286,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorPolicyApplication';
+ return PhabricatorPolicyApplication::class;
}
public static function isSpecialPolicy($identifier) {
diff --git a/src/applications/ponder/editor/PonderEditor.php b/src/applications/ponder/editor/PonderEditor.php
--- a/src/applications/ponder/editor/PonderEditor.php
+++ b/src/applications/ponder/editor/PonderEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorPonderApplication';
+ return PhabricatorPonderApplication::class;
}
protected function getMailSubjectPrefix() {
diff --git a/src/applications/ponder/editor/PonderQuestionEditEngine.php b/src/applications/ponder/editor/PonderQuestionEditEngine.php
--- a/src/applications/ponder/editor/PonderQuestionEditEngine.php
+++ b/src/applications/ponder/editor/PonderQuestionEditEngine.php
@@ -10,7 +10,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorPonderApplication';
+ return PhabricatorPonderApplication::class;
}
public function getSummaryHeader() {
diff --git a/src/applications/ponder/herald/HeraldPonderQuestionAdapter.php b/src/applications/ponder/herald/HeraldPonderQuestionAdapter.php
--- a/src/applications/ponder/herald/HeraldPonderQuestionAdapter.php
+++ b/src/applications/ponder/herald/HeraldPonderQuestionAdapter.php
@@ -9,7 +9,7 @@
}
public function getAdapterApplicationClass() {
- return 'PhabricatorPonderApplication';
+ return PhabricatorPonderApplication::class;
}
public function getAdapterContentDescription() {
diff --git a/src/applications/ponder/phid/PonderAnswerPHIDType.php b/src/applications/ponder/phid/PonderAnswerPHIDType.php
--- a/src/applications/ponder/phid/PonderAnswerPHIDType.php
+++ b/src/applications/ponder/phid/PonderAnswerPHIDType.php
@@ -9,7 +9,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorPonderApplication';
+ return PhabricatorPonderApplication::class;
}
public function newObject() {
diff --git a/src/applications/ponder/phid/PonderQuestionPHIDType.php b/src/applications/ponder/phid/PonderQuestionPHIDType.php
--- a/src/applications/ponder/phid/PonderQuestionPHIDType.php
+++ b/src/applications/ponder/phid/PonderQuestionPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorPonderApplication';
+ return PhabricatorPonderApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/ponder/query/PonderAnswerQuery.php b/src/applications/ponder/query/PonderAnswerQuery.php
--- a/src/applications/ponder/query/PonderAnswerQuery.php
+++ b/src/applications/ponder/query/PonderAnswerQuery.php
@@ -78,7 +78,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorPonderApplication';
+ return PhabricatorPonderApplication::class;
}
}
diff --git a/src/applications/ponder/query/PonderQuestionQuery.php b/src/applications/ponder/query/PonderQuestionQuery.php
--- a/src/applications/ponder/query/PonderQuestionQuery.php
+++ b/src/applications/ponder/query/PonderQuestionQuery.php
@@ -144,7 +144,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorPonderApplication';
+ return PhabricatorPonderApplication::class;
}
}
diff --git a/src/applications/ponder/query/PonderQuestionSearchEngine.php b/src/applications/ponder/query/PonderQuestionSearchEngine.php
--- a/src/applications/ponder/query/PonderQuestionSearchEngine.php
+++ b/src/applications/ponder/query/PonderQuestionSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorPonderApplication';
+ return PhabricatorPonderApplication::class;
}
public function newQuery() {
diff --git a/src/applications/project/editor/PhabricatorProjectColumnTransactionEditor.php b/src/applications/project/editor/PhabricatorProjectColumnTransactionEditor.php
--- a/src/applications/project/editor/PhabricatorProjectColumnTransactionEditor.php
+++ b/src/applications/project/editor/PhabricatorProjectColumnTransactionEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorProjectApplication';
+ return PhabricatorProjectApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/project/editor/PhabricatorProjectTransactionEditor.php b/src/applications/project/editor/PhabricatorProjectTransactionEditor.php
--- a/src/applications/project/editor/PhabricatorProjectTransactionEditor.php
+++ b/src/applications/project/editor/PhabricatorProjectTransactionEditor.php
@@ -15,7 +15,7 @@
}
public function getEditorApplicationClass() {
- return 'PhabricatorProjectApplication';
+ return PhabricatorProjectApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/project/editor/PhabricatorProjectTriggerEditor.php b/src/applications/project/editor/PhabricatorProjectTriggerEditor.php
--- a/src/applications/project/editor/PhabricatorProjectTriggerEditor.php
+++ b/src/applications/project/editor/PhabricatorProjectTriggerEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorProjectApplication';
+ return PhabricatorProjectApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/project/engine/PhabricatorProjectEditEngine.php b/src/applications/project/engine/PhabricatorProjectEditEngine.php
--- a/src/applications/project/engine/PhabricatorProjectEditEngine.php
+++ b/src/applications/project/engine/PhabricatorProjectEditEngine.php
@@ -47,7 +47,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorProjectApplication';
+ return PhabricatorProjectApplication::class;
}
protected function newEditableObject() {
diff --git a/src/applications/project/herald/PhabricatorProjectHeraldAdapter.php b/src/applications/project/herald/PhabricatorProjectHeraldAdapter.php
--- a/src/applications/project/herald/PhabricatorProjectHeraldAdapter.php
+++ b/src/applications/project/herald/PhabricatorProjectHeraldAdapter.php
@@ -9,7 +9,7 @@
}
public function getAdapterApplicationClass() {
- return 'PhabricatorProjectApplication';
+ return PhabricatorProjectApplication::class;
}
public function getAdapterContentDescription() {
diff --git a/src/applications/project/phid/PhabricatorProjectColumnPHIDType.php b/src/applications/project/phid/PhabricatorProjectColumnPHIDType.php
--- a/src/applications/project/phid/PhabricatorProjectColumnPHIDType.php
+++ b/src/applications/project/phid/PhabricatorProjectColumnPHIDType.php
@@ -17,7 +17,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorProjectApplication';
+ return PhabricatorProjectApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/project/phid/PhabricatorProjectProjectPHIDType.php b/src/applications/project/phid/PhabricatorProjectProjectPHIDType.php
--- a/src/applications/project/phid/PhabricatorProjectProjectPHIDType.php
+++ b/src/applications/project/phid/PhabricatorProjectProjectPHIDType.php
@@ -17,7 +17,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorProjectApplication';
+ return PhabricatorProjectApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/project/phid/PhabricatorProjectTriggerPHIDType.php b/src/applications/project/phid/PhabricatorProjectTriggerPHIDType.php
--- a/src/applications/project/phid/PhabricatorProjectTriggerPHIDType.php
+++ b/src/applications/project/phid/PhabricatorProjectTriggerPHIDType.php
@@ -18,7 +18,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorProjectApplication';
+ return PhabricatorProjectApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/project/query/PhabricatorProjectColumnPositionQuery.php b/src/applications/project/query/PhabricatorProjectColumnPositionQuery.php
--- a/src/applications/project/query/PhabricatorProjectColumnPositionQuery.php
+++ b/src/applications/project/query/PhabricatorProjectColumnPositionQuery.php
@@ -67,7 +67,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorProjectApplication';
+ return PhabricatorProjectApplication::class;
}
}
diff --git a/src/applications/project/query/PhabricatorProjectColumnQuery.php b/src/applications/project/query/PhabricatorProjectColumnQuery.php
--- a/src/applications/project/query/PhabricatorProjectColumnQuery.php
+++ b/src/applications/project/query/PhabricatorProjectColumnQuery.php
@@ -225,7 +225,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorProjectApplication';
+ return PhabricatorProjectApplication::class;
}
}
diff --git a/src/applications/project/query/PhabricatorProjectColumnSearchEngine.php b/src/applications/project/query/PhabricatorProjectColumnSearchEngine.php
--- a/src/applications/project/query/PhabricatorProjectColumnSearchEngine.php
+++ b/src/applications/project/query/PhabricatorProjectColumnSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorProjectApplication';
+ return PhabricatorProjectApplication::class;
}
public function canUseInPanelContext() {
diff --git a/src/applications/project/query/PhabricatorProjectQuery.php b/src/applications/project/query/PhabricatorProjectQuery.php
--- a/src/applications/project/query/PhabricatorProjectQuery.php
+++ b/src/applications/project/query/PhabricatorProjectQuery.php
@@ -705,7 +705,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorProjectApplication';
+ return PhabricatorProjectApplication::class;
}
protected function getPrimaryTableAlias() {
diff --git a/src/applications/project/query/PhabricatorProjectSearchEngine.php b/src/applications/project/query/PhabricatorProjectSearchEngine.php
--- a/src/applications/project/query/PhabricatorProjectSearchEngine.php
+++ b/src/applications/project/query/PhabricatorProjectSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorProjectApplication';
+ return PhabricatorProjectApplication::class;
}
public function newQuery() {
diff --git a/src/applications/project/query/PhabricatorProjectTriggerQuery.php b/src/applications/project/query/PhabricatorProjectTriggerQuery.php
--- a/src/applications/project/query/PhabricatorProjectTriggerQuery.php
+++ b/src/applications/project/query/PhabricatorProjectTriggerQuery.php
@@ -121,7 +121,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorProjectApplication';
+ return PhabricatorProjectApplication::class;
}
protected function getPrimaryTableAlias() {
diff --git a/src/applications/project/query/PhabricatorProjectTriggerSearchEngine.php b/src/applications/project/query/PhabricatorProjectTriggerSearchEngine.php
--- a/src/applications/project/query/PhabricatorProjectTriggerSearchEngine.php
+++ b/src/applications/project/query/PhabricatorProjectTriggerSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorProjectApplication';
+ return PhabricatorProjectApplication::class;
}
public function newQuery() {
diff --git a/src/applications/project/typeahead/PhabricatorProjectDatasource.php b/src/applications/project/typeahead/PhabricatorProjectDatasource.php
--- a/src/applications/project/typeahead/PhabricatorProjectDatasource.php
+++ b/src/applications/project/typeahead/PhabricatorProjectDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorProjectApplication';
+ return PhabricatorProjectApplication::class;
}
public function loadResults() {
diff --git a/src/applications/project/typeahead/PhabricatorProjectLogicalAncestorDatasource.php b/src/applications/project/typeahead/PhabricatorProjectLogicalAncestorDatasource.php
--- a/src/applications/project/typeahead/PhabricatorProjectLogicalAncestorDatasource.php
+++ b/src/applications/project/typeahead/PhabricatorProjectLogicalAncestorDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorProjectApplication';
+ return PhabricatorProjectApplication::class;
}
public function getComponentDatasources() {
diff --git a/src/applications/project/typeahead/PhabricatorProjectLogicalDatasource.php b/src/applications/project/typeahead/PhabricatorProjectLogicalDatasource.php
--- a/src/applications/project/typeahead/PhabricatorProjectLogicalDatasource.php
+++ b/src/applications/project/typeahead/PhabricatorProjectLogicalDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorProjectApplication';
+ return PhabricatorProjectApplication::class;
}
public function getComponentDatasources() {
diff --git a/src/applications/project/typeahead/PhabricatorProjectLogicalOnlyDatasource.php b/src/applications/project/typeahead/PhabricatorProjectLogicalOnlyDatasource.php
--- a/src/applications/project/typeahead/PhabricatorProjectLogicalOnlyDatasource.php
+++ b/src/applications/project/typeahead/PhabricatorProjectLogicalOnlyDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorProjectApplication';
+ return PhabricatorProjectApplication::class;
}
public function getDatasourceFunctions() {
diff --git a/src/applications/project/typeahead/PhabricatorProjectLogicalOrNotDatasource.php b/src/applications/project/typeahead/PhabricatorProjectLogicalOrNotDatasource.php
--- a/src/applications/project/typeahead/PhabricatorProjectLogicalOrNotDatasource.php
+++ b/src/applications/project/typeahead/PhabricatorProjectLogicalOrNotDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorProjectApplication';
+ return PhabricatorProjectApplication::class;
}
public function getComponentDatasources() {
diff --git a/src/applications/project/typeahead/PhabricatorProjectLogicalUserDatasource.php b/src/applications/project/typeahead/PhabricatorProjectLogicalUserDatasource.php
--- a/src/applications/project/typeahead/PhabricatorProjectLogicalUserDatasource.php
+++ b/src/applications/project/typeahead/PhabricatorProjectLogicalUserDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorProjectApplication';
+ return PhabricatorProjectApplication::class;
}
public function getComponentDatasources() {
diff --git a/src/applications/project/typeahead/PhabricatorProjectLogicalViewerDatasource.php b/src/applications/project/typeahead/PhabricatorProjectLogicalViewerDatasource.php
--- a/src/applications/project/typeahead/PhabricatorProjectLogicalViewerDatasource.php
+++ b/src/applications/project/typeahead/PhabricatorProjectLogicalViewerDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorProjectApplication';
+ return PhabricatorProjectApplication::class;
}
public function getDatasourceFunctions() {
diff --git a/src/applications/project/typeahead/PhabricatorProjectMembersDatasource.php b/src/applications/project/typeahead/PhabricatorProjectMembersDatasource.php
--- a/src/applications/project/typeahead/PhabricatorProjectMembersDatasource.php
+++ b/src/applications/project/typeahead/PhabricatorProjectMembersDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorProjectApplication';
+ return PhabricatorProjectApplication::class;
}
public function getComponentDatasources() {
diff --git a/src/applications/project/typeahead/PhabricatorProjectNoProjectsDatasource.php b/src/applications/project/typeahead/PhabricatorProjectNoProjectsDatasource.php
--- a/src/applications/project/typeahead/PhabricatorProjectNoProjectsDatasource.php
+++ b/src/applications/project/typeahead/PhabricatorProjectNoProjectsDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorProjectApplication';
+ return PhabricatorProjectApplication::class;
}
public function getDatasourceFunctions() {
diff --git a/src/applications/project/typeahead/PhabricatorProjectSubtypeDatasource.php b/src/applications/project/typeahead/PhabricatorProjectSubtypeDatasource.php
--- a/src/applications/project/typeahead/PhabricatorProjectSubtypeDatasource.php
+++ b/src/applications/project/typeahead/PhabricatorProjectSubtypeDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorProjectApplication';
+ return PhabricatorProjectApplication::class;
}
public function loadResults() {
diff --git a/src/applications/project/typeahead/PhabricatorProjectUserFunctionDatasource.php b/src/applications/project/typeahead/PhabricatorProjectUserFunctionDatasource.php
--- a/src/applications/project/typeahead/PhabricatorProjectUserFunctionDatasource.php
+++ b/src/applications/project/typeahead/PhabricatorProjectUserFunctionDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorProjectApplication';
+ return PhabricatorProjectApplication::class;
}
public function getComponentDatasources() {
diff --git a/src/applications/repository/editor/PhabricatorRepositoryEditor.php b/src/applications/repository/editor/PhabricatorRepositoryEditor.php
--- a/src/applications/repository/editor/PhabricatorRepositoryEditor.php
+++ b/src/applications/repository/editor/PhabricatorRepositoryEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorDiffusionApplication';
+ return PhabricatorDiffusionApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/repository/engine/PhabricatorRepositoryIdentityEditEngine.php b/src/applications/repository/engine/PhabricatorRepositoryIdentityEditEngine.php
--- a/src/applications/repository/engine/PhabricatorRepositoryIdentityEditEngine.php
+++ b/src/applications/repository/engine/PhabricatorRepositoryIdentityEditEngine.php
@@ -22,7 +22,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorDiffusionApplication';
+ return PhabricatorDiffusionApplication::class;
}
protected function newEditableObject() {
diff --git a/src/applications/repository/phid/PhabricatorRepositoryCommitPHIDType.php b/src/applications/repository/phid/PhabricatorRepositoryCommitPHIDType.php
--- a/src/applications/repository/phid/PhabricatorRepositoryCommitPHIDType.php
+++ b/src/applications/repository/phid/PhabricatorRepositoryCommitPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorDiffusionApplication';
+ return PhabricatorDiffusionApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/repository/phid/PhabricatorRepositoryIdentityPHIDType.php b/src/applications/repository/phid/PhabricatorRepositoryIdentityPHIDType.php
--- a/src/applications/repository/phid/PhabricatorRepositoryIdentityPHIDType.php
+++ b/src/applications/repository/phid/PhabricatorRepositoryIdentityPHIDType.php
@@ -14,7 +14,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorDiffusionApplication';
+ return PhabricatorDiffusionApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/repository/phid/PhabricatorRepositoryPullEventPHIDType.php b/src/applications/repository/phid/PhabricatorRepositoryPullEventPHIDType.php
--- a/src/applications/repository/phid/PhabricatorRepositoryPullEventPHIDType.php
+++ b/src/applications/repository/phid/PhabricatorRepositoryPullEventPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorDiffusionApplication';
+ return PhabricatorDiffusionApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/repository/phid/PhabricatorRepositoryPushEventPHIDType.php b/src/applications/repository/phid/PhabricatorRepositoryPushEventPHIDType.php
--- a/src/applications/repository/phid/PhabricatorRepositoryPushEventPHIDType.php
+++ b/src/applications/repository/phid/PhabricatorRepositoryPushEventPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorDiffusionApplication';
+ return PhabricatorDiffusionApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/repository/phid/PhabricatorRepositoryPushLogPHIDType.php b/src/applications/repository/phid/PhabricatorRepositoryPushLogPHIDType.php
--- a/src/applications/repository/phid/PhabricatorRepositoryPushLogPHIDType.php
+++ b/src/applications/repository/phid/PhabricatorRepositoryPushLogPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorDiffusionApplication';
+ return PhabricatorDiffusionApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/repository/phid/PhabricatorRepositoryRefCursorPHIDType.php b/src/applications/repository/phid/PhabricatorRepositoryRefCursorPHIDType.php
--- a/src/applications/repository/phid/PhabricatorRepositoryRefCursorPHIDType.php
+++ b/src/applications/repository/phid/PhabricatorRepositoryRefCursorPHIDType.php
@@ -18,7 +18,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorDiffusionApplication';
+ return PhabricatorDiffusionApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/repository/phid/PhabricatorRepositoryRepositoryPHIDType.php b/src/applications/repository/phid/PhabricatorRepositoryRepositoryPHIDType.php
--- a/src/applications/repository/phid/PhabricatorRepositoryRepositoryPHIDType.php
+++ b/src/applications/repository/phid/PhabricatorRepositoryRepositoryPHIDType.php
@@ -18,7 +18,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorDiffusionApplication';
+ return PhabricatorDiffusionApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/repository/phid/PhabricatorRepositorySyncEventPHIDType.php b/src/applications/repository/phid/PhabricatorRepositorySyncEventPHIDType.php
--- a/src/applications/repository/phid/PhabricatorRepositorySyncEventPHIDType.php
+++ b/src/applications/repository/phid/PhabricatorRepositorySyncEventPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorDiffusionApplication';
+ return PhabricatorDiffusionApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/repository/phid/PhabricatorRepositoryURIPHIDType.php b/src/applications/repository/phid/PhabricatorRepositoryURIPHIDType.php
--- a/src/applications/repository/phid/PhabricatorRepositoryURIPHIDType.php
+++ b/src/applications/repository/phid/PhabricatorRepositoryURIPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorDiffusionApplication';
+ return PhabricatorDiffusionApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/repository/query/PhabricatorRepositoryGitLFSRefQuery.php b/src/applications/repository/query/PhabricatorRepositoryGitLFSRefQuery.php
--- a/src/applications/repository/query/PhabricatorRepositoryGitLFSRefQuery.php
+++ b/src/applications/repository/query/PhabricatorRepositoryGitLFSRefQuery.php
@@ -54,7 +54,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorDiffusionApplication';
+ return PhabricatorDiffusionApplication::class;
}
}
diff --git a/src/applications/repository/query/PhabricatorRepositoryIdentityQuery.php b/src/applications/repository/query/PhabricatorRepositoryIdentityQuery.php
--- a/src/applications/repository/query/PhabricatorRepositoryIdentityQuery.php
+++ b/src/applications/repository/query/PhabricatorRepositoryIdentityQuery.php
@@ -150,7 +150,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorDiffusionApplication';
+ return PhabricatorDiffusionApplication::class;
}
}
diff --git a/src/applications/repository/query/PhabricatorRepositoryPullEventQuery.php b/src/applications/repository/query/PhabricatorRepositoryPullEventQuery.php
--- a/src/applications/repository/query/PhabricatorRepositoryPullEventQuery.php
+++ b/src/applications/repository/query/PhabricatorRepositoryPullEventQuery.php
@@ -125,7 +125,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorDiffusionApplication';
+ return PhabricatorDiffusionApplication::class;
}
}
diff --git a/src/applications/repository/query/PhabricatorRepositoryPushEventQuery.php b/src/applications/repository/query/PhabricatorRepositoryPushEventQuery.php
--- a/src/applications/repository/query/PhabricatorRepositoryPushEventQuery.php
+++ b/src/applications/repository/query/PhabricatorRepositoryPushEventQuery.php
@@ -112,7 +112,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorDiffusionApplication';
+ return PhabricatorDiffusionApplication::class;
}
}
diff --git a/src/applications/repository/query/PhabricatorRepositoryPushLogQuery.php b/src/applications/repository/query/PhabricatorRepositoryPushLogQuery.php
--- a/src/applications/repository/query/PhabricatorRepositoryPushLogQuery.php
+++ b/src/applications/repository/query/PhabricatorRepositoryPushLogQuery.php
@@ -184,7 +184,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorDiffusionApplication';
+ return PhabricatorDiffusionApplication::class;
}
protected function getPrimaryTableAlias() {
diff --git a/src/applications/repository/query/PhabricatorRepositoryPushLogSearchEngine.php b/src/applications/repository/query/PhabricatorRepositoryPushLogSearchEngine.php
--- a/src/applications/repository/query/PhabricatorRepositoryPushLogSearchEngine.php
+++ b/src/applications/repository/query/PhabricatorRepositoryPushLogSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorDiffusionApplication';
+ return PhabricatorDiffusionApplication::class;
}
public function newQuery() {
diff --git a/src/applications/repository/query/PhabricatorRepositoryQuery.php b/src/applications/repository/query/PhabricatorRepositoryQuery.php
--- a/src/applications/repository/query/PhabricatorRepositoryQuery.php
+++ b/src/applications/repository/query/PhabricatorRepositoryQuery.php
@@ -659,7 +659,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorDiffusionApplication';
+ return PhabricatorDiffusionApplication::class;
}
private function getNormalizedURIs() {
diff --git a/src/applications/repository/query/PhabricatorRepositoryRefCursorQuery.php b/src/applications/repository/query/PhabricatorRepositoryRefCursorQuery.php
--- a/src/applications/repository/query/PhabricatorRepositoryRefCursorQuery.php
+++ b/src/applications/repository/query/PhabricatorRepositoryRefCursorQuery.php
@@ -143,7 +143,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorDiffusionApplication';
+ return PhabricatorDiffusionApplication::class;
}
}
diff --git a/src/applications/repository/query/PhabricatorRepositorySearchEngine.php b/src/applications/repository/query/PhabricatorRepositorySearchEngine.php
--- a/src/applications/repository/query/PhabricatorRepositorySearchEngine.php
+++ b/src/applications/repository/query/PhabricatorRepositorySearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorDiffusionApplication';
+ return PhabricatorDiffusionApplication::class;
}
public function newQuery() {
diff --git a/src/applications/repository/query/PhabricatorRepositorySyncEventQuery.php b/src/applications/repository/query/PhabricatorRepositorySyncEventQuery.php
--- a/src/applications/repository/query/PhabricatorRepositorySyncEventQuery.php
+++ b/src/applications/repository/query/PhabricatorRepositorySyncEventQuery.php
@@ -105,7 +105,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorDiffusionApplication';
+ return PhabricatorDiffusionApplication::class;
}
}
diff --git a/src/applications/repository/query/PhabricatorRepositoryURIQuery.php b/src/applications/repository/query/PhabricatorRepositoryURIQuery.php
--- a/src/applications/repository/query/PhabricatorRepositoryURIQuery.php
+++ b/src/applications/repository/query/PhabricatorRepositoryURIQuery.php
@@ -91,7 +91,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorDiffusionApplication';
+ return PhabricatorDiffusionApplication::class;
}
}
diff --git a/src/applications/search/editor/PhabricatorProfileMenuEditEngine.php b/src/applications/search/editor/PhabricatorProfileMenuEditEngine.php
--- a/src/applications/search/editor/PhabricatorProfileMenuEditEngine.php
+++ b/src/applications/search/editor/PhabricatorProfileMenuEditEngine.php
@@ -74,7 +74,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorSearchApplication';
+ return PhabricatorSearchApplication::class;
}
protected function newEditableObject() {
diff --git a/src/applications/search/editor/PhabricatorProfileMenuEditor.php b/src/applications/search/editor/PhabricatorProfileMenuEditor.php
--- a/src/applications/search/editor/PhabricatorProfileMenuEditor.php
+++ b/src/applications/search/editor/PhabricatorProfileMenuEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorSearchApplication';
+ return PhabricatorSearchApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/search/phidtype/PhabricatorProfileMenuItemPHIDType.php b/src/applications/search/phidtype/PhabricatorProfileMenuItemPHIDType.php
--- a/src/applications/search/phidtype/PhabricatorProfileMenuItemPHIDType.php
+++ b/src/applications/search/phidtype/PhabricatorProfileMenuItemPHIDType.php
@@ -14,7 +14,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorSearchApplication';
+ return PhabricatorSearchApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/search/query/PhabricatorNamedQueryConfigQuery.php b/src/applications/search/query/PhabricatorNamedQueryConfigQuery.php
--- a/src/applications/search/query/PhabricatorNamedQueryConfigQuery.php
+++ b/src/applications/search/query/PhabricatorNamedQueryConfigQuery.php
@@ -54,7 +54,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorSearchApplication';
+ return PhabricatorSearchApplication::class;
}
}
diff --git a/src/applications/search/query/PhabricatorNamedQueryQuery.php b/src/applications/search/query/PhabricatorNamedQueryQuery.php
--- a/src/applications/search/query/PhabricatorNamedQueryQuery.php
+++ b/src/applications/search/query/PhabricatorNamedQueryQuery.php
@@ -67,7 +67,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorSearchApplication';
+ return PhabricatorSearchApplication::class;
}
}
diff --git a/src/applications/search/query/PhabricatorProfileMenuItemConfigurationQuery.php b/src/applications/search/query/PhabricatorProfileMenuItemConfigurationQuery.php
--- a/src/applications/search/query/PhabricatorProfileMenuItemConfigurationQuery.php
+++ b/src/applications/search/query/PhabricatorProfileMenuItemConfigurationQuery.php
@@ -149,7 +149,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorSearchApplication';
+ return PhabricatorSearchApplication::class;
}
protected function getPrimaryTableAlias() {
diff --git a/src/applications/search/query/PhabricatorSavedQueryQuery.php b/src/applications/search/query/PhabricatorSavedQueryQuery.php
--- a/src/applications/search/query/PhabricatorSavedQueryQuery.php
+++ b/src/applications/search/query/PhabricatorSavedQueryQuery.php
@@ -67,7 +67,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorSearchApplication';
+ return PhabricatorSearchApplication::class;
}
}
diff --git a/src/applications/search/query/PhabricatorSearchApplicationSearchEngine.php b/src/applications/search/query/PhabricatorSearchApplicationSearchEngine.php
--- a/src/applications/search/query/PhabricatorSearchApplicationSearchEngine.php
+++ b/src/applications/search/query/PhabricatorSearchApplicationSearchEngine.php
@@ -10,7 +10,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorSearchApplication';
+ return PhabricatorSearchApplication::class;
}
public function buildSavedQueryFromRequest(AphrontRequest $request) {
diff --git a/src/applications/search/query/PhabricatorSearchDocumentQuery.php b/src/applications/search/query/PhabricatorSearchDocumentQuery.php
--- a/src/applications/search/query/PhabricatorSearchDocumentQuery.php
+++ b/src/applications/search/query/PhabricatorSearchDocumentQuery.php
@@ -99,7 +99,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorSearchApplication';
+ return PhabricatorSearchApplication::class;
}
protected function nextPage(array $page) {
diff --git a/src/applications/search/typeahead/PhabricatorSearchDatasource.php b/src/applications/search/typeahead/PhabricatorSearchDatasource.php
--- a/src/applications/search/typeahead/PhabricatorSearchDatasource.php
+++ b/src/applications/search/typeahead/PhabricatorSearchDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorSearchApplication';
+ return PhabricatorSearchApplication::class;
}
public function getComponentDatasources() {
diff --git a/src/applications/search/typeahead/PhabricatorSearchDocumentTypeDatasource.php b/src/applications/search/typeahead/PhabricatorSearchDocumentTypeDatasource.php
--- a/src/applications/search/typeahead/PhabricatorSearchDocumentTypeDatasource.php
+++ b/src/applications/search/typeahead/PhabricatorSearchDocumentTypeDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorSearchApplication';
+ return PhabricatorSearchApplication::class;
}
public function loadResults() {
diff --git a/src/applications/settings/editor/PhabricatorSettingsEditEngine.php b/src/applications/settings/editor/PhabricatorSettingsEditEngine.php
--- a/src/applications/settings/editor/PhabricatorSettingsEditEngine.php
+++ b/src/applications/settings/editor/PhabricatorSettingsEditEngine.php
@@ -53,7 +53,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorSettingsApplication';
+ return PhabricatorSettingsApplication::class;
}
protected function newEditableObject() {
diff --git a/src/applications/settings/editor/PhabricatorUserPreferencesEditor.php b/src/applications/settings/editor/PhabricatorUserPreferencesEditor.php
--- a/src/applications/settings/editor/PhabricatorUserPreferencesEditor.php
+++ b/src/applications/settings/editor/PhabricatorUserPreferencesEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorSettingsApplication';
+ return PhabricatorSettingsApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/settings/phid/PhabricatorUserPreferencesPHIDType.php b/src/applications/settings/phid/PhabricatorUserPreferencesPHIDType.php
--- a/src/applications/settings/phid/PhabricatorUserPreferencesPHIDType.php
+++ b/src/applications/settings/phid/PhabricatorUserPreferencesPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorSettingsApplication';
+ return PhabricatorSettingsApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/settings/query/PhabricatorUserPreferencesQuery.php b/src/applications/settings/query/PhabricatorUserPreferencesQuery.php
--- a/src/applications/settings/query/PhabricatorUserPreferencesQuery.php
+++ b/src/applications/settings/query/PhabricatorUserPreferencesQuery.php
@@ -190,7 +190,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorSettingsApplication';
+ return PhabricatorSettingsApplication::class;
}
}
diff --git a/src/applications/slowvote/editor/PhabricatorSlowvoteEditor.php b/src/applications/slowvote/editor/PhabricatorSlowvoteEditor.php
--- a/src/applications/slowvote/editor/PhabricatorSlowvoteEditor.php
+++ b/src/applications/slowvote/editor/PhabricatorSlowvoteEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorSlowvoteApplication';
+ return PhabricatorSlowvoteApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/slowvote/phid/PhabricatorSlowvotePollPHIDType.php b/src/applications/slowvote/phid/PhabricatorSlowvotePollPHIDType.php
--- a/src/applications/slowvote/phid/PhabricatorSlowvotePollPHIDType.php
+++ b/src/applications/slowvote/phid/PhabricatorSlowvotePollPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorSlowvoteApplication';
+ return PhabricatorSlowvoteApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/slowvote/query/PhabricatorSlowvoteQuery.php b/src/applications/slowvote/query/PhabricatorSlowvoteQuery.php
--- a/src/applications/slowvote/query/PhabricatorSlowvoteQuery.php
+++ b/src/applications/slowvote/query/PhabricatorSlowvoteQuery.php
@@ -165,7 +165,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorSlowvoteApplication';
+ return PhabricatorSlowvoteApplication::class;
}
}
diff --git a/src/applications/slowvote/query/PhabricatorSlowvoteSearchEngine.php b/src/applications/slowvote/query/PhabricatorSlowvoteSearchEngine.php
--- a/src/applications/slowvote/query/PhabricatorSlowvoteSearchEngine.php
+++ b/src/applications/slowvote/query/PhabricatorSlowvoteSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorSlowvoteApplication';
+ return PhabricatorSlowvoteApplication::class;
}
public function newQuery() {
diff --git a/src/applications/spaces/editor/PhabricatorSpacesNamespaceEditor.php b/src/applications/spaces/editor/PhabricatorSpacesNamespaceEditor.php
--- a/src/applications/spaces/editor/PhabricatorSpacesNamespaceEditor.php
+++ b/src/applications/spaces/editor/PhabricatorSpacesNamespaceEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return pht('PhabricatorSpacesApplication');
+ return PhabricatorSpacesApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/spaces/phid/PhabricatorSpacesNamespacePHIDType.php b/src/applications/spaces/phid/PhabricatorSpacesNamespacePHIDType.php
--- a/src/applications/spaces/phid/PhabricatorSpacesNamespacePHIDType.php
+++ b/src/applications/spaces/phid/PhabricatorSpacesNamespacePHIDType.php
@@ -14,7 +14,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorSpacesApplication';
+ return PhabricatorSpacesApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/spaces/query/PhabricatorSpacesNamespaceQuery.php b/src/applications/spaces/query/PhabricatorSpacesNamespaceQuery.php
--- a/src/applications/spaces/query/PhabricatorSpacesNamespaceQuery.php
+++ b/src/applications/spaces/query/PhabricatorSpacesNamespaceQuery.php
@@ -33,7 +33,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorSpacesApplication';
+ return PhabricatorSpacesApplication::class;
}
public function newResultObject() {
diff --git a/src/applications/spaces/query/PhabricatorSpacesNamespaceSearchEngine.php b/src/applications/spaces/query/PhabricatorSpacesNamespaceSearchEngine.php
--- a/src/applications/spaces/query/PhabricatorSpacesNamespaceSearchEngine.php
+++ b/src/applications/spaces/query/PhabricatorSpacesNamespaceSearchEngine.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationSearchEngine {
public function getApplicationClassName() {
- return 'PhabricatorSpacesApplication';
+ return PhabricatorSpacesApplication::class;
}
public function getResultTypeDescription() {
diff --git a/src/applications/spaces/typeahead/PhabricatorSpacesNamespaceDatasource.php b/src/applications/spaces/typeahead/PhabricatorSpacesNamespaceDatasource.php
--- a/src/applications/spaces/typeahead/PhabricatorSpacesNamespaceDatasource.php
+++ b/src/applications/spaces/typeahead/PhabricatorSpacesNamespaceDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorSpacesApplication';
+ return PhabricatorSpacesApplication::class;
}
public function loadResults() {
diff --git a/src/applications/tokens/phid/PhabricatorTokenTokenPHIDType.php b/src/applications/tokens/phid/PhabricatorTokenTokenPHIDType.php
--- a/src/applications/tokens/phid/PhabricatorTokenTokenPHIDType.php
+++ b/src/applications/tokens/phid/PhabricatorTokenTokenPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorTokensApplication';
+ return PhabricatorTokensApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/tokens/query/PhabricatorTokenGivenQuery.php b/src/applications/tokens/query/PhabricatorTokenGivenQuery.php
--- a/src/applications/tokens/query/PhabricatorTokenGivenQuery.php
+++ b/src/applications/tokens/query/PhabricatorTokenGivenQuery.php
@@ -120,7 +120,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorTokensApplication';
+ return PhabricatorTokensApplication::class;
}
}
diff --git a/src/applications/tokens/query/PhabricatorTokenQuery.php b/src/applications/tokens/query/PhabricatorTokenQuery.php
--- a/src/applications/tokens/query/PhabricatorTokenQuery.php
+++ b/src/applications/tokens/query/PhabricatorTokenQuery.php
@@ -71,7 +71,7 @@
public function getQueryApplicationClass() {
- return 'PhabricatorTokensApplication';
+ return PhabricatorTokensApplication::class;
}
}
diff --git a/src/applications/tokens/query/PhabricatorTokenReceiverQuery.php b/src/applications/tokens/query/PhabricatorTokenReceiverQuery.php
--- a/src/applications/tokens/query/PhabricatorTokenReceiverQuery.php
+++ b/src/applications/tokens/query/PhabricatorTokenReceiverQuery.php
@@ -35,7 +35,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorTokensApplication';
+ return PhabricatorTokensApplication::class;
}
}
diff --git a/src/applications/transactions/editor/PhabricatorEditEngineConfigurationEditEngine.php b/src/applications/transactions/editor/PhabricatorEditEngineConfigurationEditEngine.php
--- a/src/applications/transactions/editor/PhabricatorEditEngineConfigurationEditEngine.php
+++ b/src/applications/transactions/editor/PhabricatorEditEngineConfigurationEditEngine.php
@@ -41,7 +41,7 @@
}
public function getEngineApplicationClass() {
- return 'PhabricatorTransactionsApplication';
+ return PhabricatorTransactionsApplication::class;
}
protected function newEditableObject() {
diff --git a/src/applications/transactions/editor/PhabricatorEditEngineConfigurationEditor.php b/src/applications/transactions/editor/PhabricatorEditEngineConfigurationEditor.php
--- a/src/applications/transactions/editor/PhabricatorEditEngineConfigurationEditor.php
+++ b/src/applications/transactions/editor/PhabricatorEditEngineConfigurationEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorTransactionsApplication';
+ return PhabricatorTransactionsApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/applications/transactions/phid/PhabricatorApplicationTransactionTransactionPHIDType.php b/src/applications/transactions/phid/PhabricatorApplicationTransactionTransactionPHIDType.php
--- a/src/applications/transactions/phid/PhabricatorApplicationTransactionTransactionPHIDType.php
+++ b/src/applications/transactions/phid/PhabricatorApplicationTransactionTransactionPHIDType.php
@@ -17,7 +17,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorTransactionsApplication';
+ return PhabricatorTransactionsApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/transactions/phid/PhabricatorEditEngineConfigurationPHIDType.php b/src/applications/transactions/phid/PhabricatorEditEngineConfigurationPHIDType.php
--- a/src/applications/transactions/phid/PhabricatorEditEngineConfigurationPHIDType.php
+++ b/src/applications/transactions/phid/PhabricatorEditEngineConfigurationPHIDType.php
@@ -14,7 +14,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorTransactionsApplication';
+ return PhabricatorTransactionsApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/applications/transactions/query/PhabricatorEditEngineConfigurationQuery.php b/src/applications/transactions/query/PhabricatorEditEngineConfigurationQuery.php
--- a/src/applications/transactions/query/PhabricatorEditEngineConfigurationQuery.php
+++ b/src/applications/transactions/query/PhabricatorEditEngineConfigurationQuery.php
@@ -278,7 +278,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorTransactionsApplication';
+ return PhabricatorTransactionsApplication::class;
}
}
diff --git a/src/applications/transactions/query/PhabricatorEditEngineConfigurationSearchEngine.php b/src/applications/transactions/query/PhabricatorEditEngineConfigurationSearchEngine.php
--- a/src/applications/transactions/query/PhabricatorEditEngineConfigurationSearchEngine.php
+++ b/src/applications/transactions/query/PhabricatorEditEngineConfigurationSearchEngine.php
@@ -23,7 +23,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorTransactionsApplication';
+ return PhabricatorTransactionsApplication::class;
}
public function newQuery() {
diff --git a/src/applications/transactions/query/PhabricatorEditEngineQuery.php b/src/applications/transactions/query/PhabricatorEditEngineQuery.php
--- a/src/applications/transactions/query/PhabricatorEditEngineQuery.php
+++ b/src/applications/transactions/query/PhabricatorEditEngineQuery.php
@@ -43,7 +43,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorTransactionsApplication';
+ return PhabricatorTransactionsApplication::class;
}
}
diff --git a/src/applications/transactions/query/PhabricatorEditEngineSearchEngine.php b/src/applications/transactions/query/PhabricatorEditEngineSearchEngine.php
--- a/src/applications/transactions/query/PhabricatorEditEngineSearchEngine.php
+++ b/src/applications/transactions/query/PhabricatorEditEngineSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorTransactionsApplication';
+ return PhabricatorTransactionsApplication::class;
}
public function newQuery() {
diff --git a/src/applications/transactions/typeahead/PhabricatorEditEngineDatasource.php b/src/applications/transactions/typeahead/PhabricatorEditEngineDatasource.php
--- a/src/applications/transactions/typeahead/PhabricatorEditEngineDatasource.php
+++ b/src/applications/transactions/typeahead/PhabricatorEditEngineDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorTransactionsApplication';
+ return PhabricatorTransactionsApplication::class;
}
protected function renderSpecialTokens(array $values) {
diff --git a/src/applications/transactions/typeahead/PhabricatorTransactionsObjectTypeDatasource.php b/src/applications/transactions/typeahead/PhabricatorTransactionsObjectTypeDatasource.php
--- a/src/applications/transactions/typeahead/PhabricatorTransactionsObjectTypeDatasource.php
+++ b/src/applications/transactions/typeahead/PhabricatorTransactionsObjectTypeDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorTransactionsApplication';
+ return PhabricatorTransactionsApplication::class;
}
protected function renderSpecialTokens(array $values) {
diff --git a/src/applications/typeahead/datasource/__tests__/PhabricatorTypeaheadTestNumbersDatasource.php b/src/applications/typeahead/datasource/__tests__/PhabricatorTypeaheadTestNumbersDatasource.php
--- a/src/applications/typeahead/datasource/__tests__/PhabricatorTypeaheadTestNumbersDatasource.php
+++ b/src/applications/typeahead/datasource/__tests__/PhabricatorTypeaheadTestNumbersDatasource.php
@@ -12,7 +12,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorPeopleApplication';
+ return PhabricatorPeopleApplication::class;
}
public function getDatasourceFunctions() {
diff --git a/src/applications/xhprof/query/PhabricatorXHProfSampleQuery.php b/src/applications/xhprof/query/PhabricatorXHProfSampleQuery.php
--- a/src/applications/xhprof/query/PhabricatorXHProfSampleQuery.php
+++ b/src/applications/xhprof/query/PhabricatorXHProfSampleQuery.php
@@ -41,7 +41,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorXHProfApplication';
+ return PhabricatorXHProfApplication::class;
}
}
diff --git a/src/applications/xhprof/query/PhabricatorXHProfSampleSearchEngine.php b/src/applications/xhprof/query/PhabricatorXHProfSampleSearchEngine.php
--- a/src/applications/xhprof/query/PhabricatorXHProfSampleSearchEngine.php
+++ b/src/applications/xhprof/query/PhabricatorXHProfSampleSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorXHProfApplication';
+ return PhabricatorXHProfApplication::class;
}
public function newQuery() {
diff --git a/src/infrastructure/daemon/workers/editor/PhabricatorWorkerBulkJobEditor.php b/src/infrastructure/daemon/workers/editor/PhabricatorWorkerBulkJobEditor.php
--- a/src/infrastructure/daemon/workers/editor/PhabricatorWorkerBulkJobEditor.php
+++ b/src/infrastructure/daemon/workers/editor/PhabricatorWorkerBulkJobEditor.php
@@ -4,7 +4,7 @@
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
- return 'PhabricatorDaemonsApplication';
+ return PhabricatorDaemonsApplication::class;
}
public function getEditorObjectsDescription() {
diff --git a/src/infrastructure/daemon/workers/phid/PhabricatorWorkerBulkJobPHIDType.php b/src/infrastructure/daemon/workers/phid/PhabricatorWorkerBulkJobPHIDType.php
--- a/src/infrastructure/daemon/workers/phid/PhabricatorWorkerBulkJobPHIDType.php
+++ b/src/infrastructure/daemon/workers/phid/PhabricatorWorkerBulkJobPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorDaemonsApplication';
+ return PhabricatorDaemonsApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/infrastructure/daemon/workers/phid/PhabricatorWorkerTriggerPHIDType.php b/src/infrastructure/daemon/workers/phid/PhabricatorWorkerTriggerPHIDType.php
--- a/src/infrastructure/daemon/workers/phid/PhabricatorWorkerTriggerPHIDType.php
+++ b/src/infrastructure/daemon/workers/phid/PhabricatorWorkerTriggerPHIDType.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorDaemonsApplication';
+ return PhabricatorDaemonsApplication::class;
}
protected function buildQueryForObjects(
diff --git a/src/infrastructure/daemon/workers/query/PhabricatorWorkerBulkJobQuery.php b/src/infrastructure/daemon/workers/query/PhabricatorWorkerBulkJobQuery.php
--- a/src/infrastructure/daemon/workers/query/PhabricatorWorkerBulkJobQuery.php
+++ b/src/infrastructure/daemon/workers/query/PhabricatorWorkerBulkJobQuery.php
@@ -96,7 +96,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorDaemonsApplication';
+ return PhabricatorDaemonsApplication::class;
}
}
diff --git a/src/infrastructure/daemon/workers/query/PhabricatorWorkerBulkJobSearchEngine.php b/src/infrastructure/daemon/workers/query/PhabricatorWorkerBulkJobSearchEngine.php
--- a/src/infrastructure/daemon/workers/query/PhabricatorWorkerBulkJobSearchEngine.php
+++ b/src/infrastructure/daemon/workers/query/PhabricatorWorkerBulkJobSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorDaemonsApplication';
+ return PhabricatorDaemonsApplication::class;
}
public function newQuery() {

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 20, 03:05 (20 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1016435
Default Alt Text
D25524.1734663915.diff (285 KB)

Event Timeline