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

Make misc get*ApplicationClass[Name]() calls return ::class constant instead of string

Summary:
`::class` is available since PHP 5.5 (5.5 is a minimal requirement by Phorge): https://www.php.net/manual/en/language.oop5.basic.php#language.oop5.basic.class.class
It makes finding code using IDEs easier; see discussion in D25500.

Thus replace all string return values with returning the `::class` constant instead, with one exception: 'PhabricatorSettingApplication' in `PhabricatorUserPreferencesSearchEngine.php` does not exist and makes arc lint fail so this string remained unchanged.

Also note that two occurrences were wrapped in `pht()` for reasons I do not know.

List of functions whose return value get updated in this code change:
* getApplicationClassName()
* getAdapterApplicationClass()
* getDatasourceApplicationClass()
* getEditorApplicationClass()
* getEngineApplicationClass()
* getPHIDTypeApplicationClass()
* getQueryApplicationClass()

cf. T15158

Test Plan: Too broad - click around, basically.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Maniphest Tasks: T15158

Differential Revision: https://we.phorge.it/D25524
This commit is contained in:
Andre Klapper 2024-01-23 14:34:58 +01:00
parent d9919ddb06
commit 25aebab655
571 changed files with 571 additions and 571 deletions

View file

@ -36,7 +36,7 @@ final class AlmanacBindingEditEngine
}
public function getEngineApplicationClass() {
return 'PhabricatorAlmanacApplication';
return PhabricatorAlmanacApplication::class;
}
protected function newEditableObject() {

View file

@ -22,7 +22,7 @@ final class AlmanacDeviceEditEngine
}
public function getEngineApplicationClass() {
return 'PhabricatorAlmanacApplication';
return PhabricatorAlmanacApplication::class;
}
protected function newEditableObject() {

View file

@ -4,7 +4,7 @@ abstract class AlmanacEditor
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
return 'PhabricatorAlmanacApplication';
return PhabricatorAlmanacApplication::class;
}
}

View file

@ -36,7 +36,7 @@ final class AlmanacInterfaceEditEngine
}
public function getEngineApplicationClass() {
return 'PhabricatorAlmanacApplication';
return PhabricatorAlmanacApplication::class;
}
protected function newEditableObject() {

View file

@ -22,7 +22,7 @@ final class AlmanacNamespaceEditEngine
}
public function getEngineApplicationClass() {
return 'PhabricatorAlmanacApplication';
return PhabricatorAlmanacApplication::class;
}
protected function newEditableObject() {

View file

@ -22,7 +22,7 @@ final class AlmanacNetworkEditEngine
}
public function getEngineApplicationClass() {
return 'PhabricatorAlmanacApplication';
return PhabricatorAlmanacApplication::class;
}
protected function newEditableObject() {

View file

@ -35,7 +35,7 @@ abstract class AlmanacPropertyEditEngine
}
public function getEngineApplicationClass() {
return 'PhabricatorAlmanacApplication';
return PhabricatorAlmanacApplication::class;
}
protected function newEditableObject() {

View file

@ -33,7 +33,7 @@ final class AlmanacServiceEditEngine
}
public function getEngineApplicationClass() {
return 'PhabricatorAlmanacApplication';
return PhabricatorAlmanacApplication::class;
}
protected function newEditableObject() {

View file

@ -13,7 +13,7 @@ final class AlmanacBindingPHIDType extends PhabricatorPHIDType {
}
public function getPHIDTypeApplicationClass() {
return 'PhabricatorAlmanacApplication';
return PhabricatorAlmanacApplication::class;
}
protected function buildQueryForObjects(

View file

@ -13,7 +13,7 @@ final class AlmanacDevicePHIDType extends PhabricatorPHIDType {
}
public function getPHIDTypeApplicationClass() {
return 'PhabricatorAlmanacApplication';
return PhabricatorAlmanacApplication::class;
}
protected function buildQueryForObjects(

View file

@ -13,7 +13,7 @@ final class AlmanacInterfacePHIDType extends PhabricatorPHIDType {
}
public function getPHIDTypeApplicationClass() {
return 'PhabricatorAlmanacApplication';
return PhabricatorAlmanacApplication::class;
}
protected function buildQueryForObjects(

View file

@ -13,7 +13,7 @@ final class AlmanacNamespacePHIDType extends PhabricatorPHIDType {
}
public function getPHIDTypeApplicationClass() {
return 'PhabricatorAlmanacApplication';
return PhabricatorAlmanacApplication::class;
}
protected function buildQueryForObjects(

View file

@ -13,7 +13,7 @@ final class AlmanacNetworkPHIDType extends PhabricatorPHIDType {
}
public function getPHIDTypeApplicationClass() {
return 'PhabricatorAlmanacApplication';
return PhabricatorAlmanacApplication::class;
}
protected function buildQueryForObjects(

View file

@ -13,7 +13,7 @@ final class AlmanacServicePHIDType extends PhabricatorPHIDType {
}
public function getPHIDTypeApplicationClass() {
return 'PhabricatorAlmanacApplication';
return PhabricatorAlmanacApplication::class;
}
protected function buildQueryForObjects(

View file

@ -8,7 +8,7 @@ final class AlmanacBindingSearchEngine
}
public function getApplicationClassName() {
return 'PhabricatorAlmanacApplication';
return PhabricatorAlmanacApplication::class;
}
public function newQuery() {

View file

@ -148,7 +148,7 @@ final class AlmanacDeviceQuery
}
public function getQueryApplicationClass() {
return 'PhabricatorAlmanacApplication';
return PhabricatorAlmanacApplication::class;
}
}

View file

@ -8,7 +8,7 @@ final class AlmanacDeviceSearchEngine
}
public function getApplicationClassName() {
return 'PhabricatorAlmanacApplication';
return PhabricatorAlmanacApplication::class;
}
public function newQuery() {

View file

@ -169,7 +169,7 @@ final class AlmanacInterfaceQuery
}
public function getQueryApplicationClass() {
return 'PhabricatorAlmanacApplication';
return PhabricatorAlmanacApplication::class;
}
public function getBuiltinOrders() {

View file

@ -8,7 +8,7 @@ final class AlmanacInterfaceSearchEngine
}
public function getApplicationClassName() {
return 'PhabricatorAlmanacApplication';
return PhabricatorAlmanacApplication::class;
}
public function newQuery() {

View file

@ -92,7 +92,7 @@ final class AlmanacNamespaceQuery
}
public function getQueryApplicationClass() {
return 'PhabricatorAlmanacApplication';
return PhabricatorAlmanacApplication::class;
}
}

View file

@ -8,7 +8,7 @@ final class AlmanacNamespaceSearchEngine
}
public function getApplicationClassName() {
return 'PhabricatorAlmanacApplication';
return PhabricatorAlmanacApplication::class;
}
public function newQuery() {

View file

@ -64,7 +64,7 @@ final class AlmanacNetworkQuery
}
public function getQueryApplicationClass() {
return 'PhabricatorAlmanacApplication';
return PhabricatorAlmanacApplication::class;
}
}

View file

@ -8,7 +8,7 @@ final class AlmanacNetworkSearchEngine
}
public function getApplicationClassName() {
return 'PhabricatorAlmanacApplication';
return PhabricatorAlmanacApplication::class;
}
public function newQuery() {

View file

@ -99,7 +99,7 @@ final class AlmanacPropertyQuery
}
public function getQueryApplicationClass() {
return 'PhabricatorAlmanacApplication';
return PhabricatorAlmanacApplication::class;
}
}

View file

@ -55,7 +55,7 @@ abstract class AlmanacQuery
}
public function getQueryApplicationClass() {
return 'PhabricatorAlmanacApplication';
return PhabricatorAlmanacApplication::class;
}
}

View file

@ -8,7 +8,7 @@ final class AlmanacServiceSearchEngine
}
public function getApplicationClassName() {
return 'PhabricatorAlmanacApplication';
return PhabricatorAlmanacApplication::class;
}
public function newQuery() {

View file

@ -12,7 +12,7 @@ final class AlmanacInterfaceDatasource
}
public function getDatasourceApplicationClass() {
return 'PhabricatorAlmanacApplication';
return PhabricatorAlmanacApplication::class;
}
public function loadResults() {

View file

@ -12,7 +12,7 @@ final class AlmanacServiceDatasource
}
public function getDatasourceApplicationClass() {
return 'PhabricatorAlmanacApplication';
return PhabricatorAlmanacApplication::class;
}
public function loadResults() {

View file

@ -12,7 +12,7 @@ final class AlmanacServiceTypeDatasource
}
public function getDatasourceApplicationClass() {
return 'PhabricatorAlmanacApplication';
return PhabricatorAlmanacApplication::class;
}
public function loadResults() {

View file

@ -22,7 +22,7 @@ final class PhabricatorAuditEditor
}
public function getEditorApplicationClass() {
return 'PhabricatorDiffusionApplication';
return PhabricatorDiffusionApplication::class;
}
public function getEditorObjectsDescription() {

View file

@ -8,7 +8,7 @@ final class DiffusionInternalCommitSearchEngine
}
public function getApplicationClassName() {
return 'PhabricatorDiffusionApplication';
return PhabricatorDiffusionApplication::class;
}
public function newQuery() {

View file

@ -8,7 +8,7 @@ final class PhabricatorCommitSearchEngine
}
public function getApplicationClassName() {
return 'PhabricatorDiffusionApplication';
return PhabricatorDiffusionApplication::class;
}
public function newQuery() {

View file

@ -22,7 +22,7 @@ final class PhabricatorAuthContactNumberEditEngine
}
public function getEngineApplicationClass() {
return 'PhabricatorAuthApplication';
return PhabricatorAuthApplication::class;
}
protected function newEditableObject() {

View file

@ -4,7 +4,7 @@ final class PhabricatorAuthContactNumberEditor
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
return 'PhabricatorAuthApplication';
return PhabricatorAuthApplication::class;
}
public function getEditorObjectsDescription() {

View file

@ -24,7 +24,7 @@ final class PhabricatorAuthFactorProviderEditEngine
}
public function getEngineApplicationClass() {
return 'PhabricatorAuthApplication';
return PhabricatorAuthApplication::class;
}
public function setProviderFactor(PhabricatorAuthFactor $factor) {

View file

@ -4,7 +4,7 @@ final class PhabricatorAuthFactorProviderEditor
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
return 'PhabricatorAuthApplication';
return PhabricatorAuthApplication::class;
}
public function getEditorObjectsDescription() {

View file

@ -24,7 +24,7 @@ final class PhabricatorAuthMessageEditEngine
}
public function getEngineApplicationClass() {
return 'PhabricatorAuthApplication';
return PhabricatorAuthApplication::class;
}
public function setMessageType(PhabricatorAuthMessageType $type) {

View file

@ -4,7 +4,7 @@ final class PhabricatorAuthMessageEditor
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
return 'PhabricatorAuthApplication';
return PhabricatorAuthApplication::class;
}
public function getEditorObjectsDescription() {

View file

@ -15,7 +15,7 @@ final class PhabricatorAuthPasswordEditor
}
public function getEditorApplicationClass() {
return 'PhabricatorAuthApplication';
return PhabricatorAuthApplication::class;
}
public function getEditorObjectsDescription() {

View file

@ -4,7 +4,7 @@ final class PhabricatorAuthProviderConfigEditor
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
return 'PhabricatorAuthApplication';
return PhabricatorAuthApplication::class;
}
public function getEditorObjectsDescription() {

View file

@ -15,7 +15,7 @@ final class PhabricatorAuthSSHKeyEditor
}
public function getEditorApplicationClass() {
return 'PhabricatorAuthApplication';
return PhabricatorAuthApplication::class;
}
public function getEditorObjectsDescription() {

View file

@ -13,7 +13,7 @@ final class PhabricatorAuthAuthFactorPHIDType extends PhabricatorPHIDType {
}
public function getPHIDTypeApplicationClass() {
return 'PhabricatorAuthApplication';
return PhabricatorAuthApplication::class;
}
protected function buildQueryForObjects(

View file

@ -14,7 +14,7 @@ final class PhabricatorAuthAuthFactorProviderPHIDType
}
public function getPHIDTypeApplicationClass() {
return 'PhabricatorAuthApplication';
return PhabricatorAuthApplication::class;
}
protected function buildQueryForObjects(

View file

@ -13,7 +13,7 @@ final class PhabricatorAuthAuthProviderPHIDType extends PhabricatorPHIDType {
}
public function getPHIDTypeApplicationClass() {
return 'PhabricatorAuthApplication';
return PhabricatorAuthApplication::class;
}
protected function buildQueryForObjects(

View file

@ -13,7 +13,7 @@ final class PhabricatorAuthChallengePHIDType extends PhabricatorPHIDType {
}
public function getPHIDTypeApplicationClass() {
return 'PhabricatorAuthApplication';
return PhabricatorAuthApplication::class;
}
protected function buildQueryForObjects(

View file

@ -14,7 +14,7 @@ final class PhabricatorAuthContactNumberPHIDType
}
public function getPHIDTypeApplicationClass() {
return 'PhabricatorAuthApplication';
return PhabricatorAuthApplication::class;
}
protected function buildQueryForObjects(

View file

@ -13,7 +13,7 @@ final class PhabricatorAuthInvitePHIDType extends PhabricatorPHIDType {
}
public function getPHIDTypeApplicationClass() {
return 'PhabricatorAuthApplication';
return PhabricatorAuthApplication::class;
}
protected function buildQueryForObjects(

View file

@ -13,7 +13,7 @@ final class PhabricatorAuthMessagePHIDType extends PhabricatorPHIDType {
}
public function getPHIDTypeApplicationClass() {
return 'PhabricatorAuthApplication';
return PhabricatorAuthApplication::class;
}
protected function buildQueryForObjects(

View file

@ -13,7 +13,7 @@ final class PhabricatorAuthPasswordPHIDType extends PhabricatorPHIDType {
}
public function getPHIDTypeApplicationClass() {
return 'PhabricatorAuthApplication';
return PhabricatorAuthApplication::class;
}
protected function buildQueryForObjects(

View file

@ -14,7 +14,7 @@ final class PhabricatorAuthSSHKeyPHIDType
}
public function getPHIDTypeApplicationClass() {
return 'PhabricatorAuthApplication';
return PhabricatorAuthApplication::class;
}
protected function buildQueryForObjects(

View file

@ -14,7 +14,7 @@ final class PhabricatorAuthSessionPHIDType
}
public function getPHIDTypeApplicationClass() {
return 'PhabricatorAuthApplication';
return PhabricatorAuthApplication::class;
}
protected function buildQueryForObjects(

View file

@ -89,7 +89,7 @@ final class PhabricatorAuthChallengeQuery
}
public function getQueryApplicationClass() {
return 'PhabricatorAuthApplication';
return PhabricatorAuthApplication::class;
}
}

View file

@ -93,7 +93,7 @@ final class PhabricatorAuthContactNumberQuery
}
public function getQueryApplicationClass() {
return 'PhabricatorAuthApplication';
return PhabricatorAuthApplication::class;
}
}

View file

@ -121,7 +121,7 @@ final class PhabricatorAuthFactorConfigQuery
}
public function getQueryApplicationClass() {
return 'PhabricatorAuthApplication';
return PhabricatorAuthApplication::class;
}
}

View file

@ -84,7 +84,7 @@ final class PhabricatorAuthFactorProviderQuery
}
public function getQueryApplicationClass() {
return 'PhabricatorAuthApplication';
return PhabricatorAuthApplication::class;
}
}

View file

@ -8,7 +8,7 @@ final class PhabricatorAuthInviteSearchEngine
}
public function getApplicationClassName() {
return 'PhabricatorAuthApplication';
return PhabricatorAuthApplication::class;
}
public function canUseInPanelContext() {

View file

@ -73,7 +73,7 @@ final class PhabricatorAuthMessageQuery
}
public function getQueryApplicationClass() {
return 'PhabricatorAuthApplication';
return PhabricatorAuthApplication::class;
}
}

View file

@ -104,7 +104,7 @@ final class PhabricatorAuthPasswordQuery
}
public function getQueryApplicationClass() {
return 'PhabricatorAuthApplication';
return PhabricatorAuthApplication::class;
}
}

View file

@ -80,7 +80,7 @@ final class PhabricatorAuthProviderConfigQuery
}
public function getQueryApplicationClass() {
return 'PhabricatorAuthApplication';
return PhabricatorAuthApplication::class;
}
}

View file

@ -128,7 +128,7 @@ final class PhabricatorAuthSSHKeyQuery
}
public function getQueryApplicationClass() {
return 'PhabricatorAuthApplication';
return PhabricatorAuthApplication::class;
}
}

View file

@ -23,7 +23,7 @@ final class PhabricatorAuthSSHKeySearchEngine
}
public function getApplicationClassName() {
return 'PhabricatorAuthApplication';
return PhabricatorAuthApplication::class;
}
public function newQuery() {

View file

@ -107,7 +107,7 @@ final class PhabricatorAuthSessionQuery
}
public function getQueryApplicationClass() {
return 'PhabricatorAuthApplication';
return PhabricatorAuthApplication::class;
}
}

View file

@ -100,7 +100,7 @@ final class PhabricatorAuthTemporaryTokenQuery
}
public function getQueryApplicationClass() {
return 'PhabricatorAuthApplication';
return PhabricatorAuthApplication::class;
}
}

View file

@ -84,7 +84,7 @@ final class PhabricatorExternalAccountIdentifierQuery
}
public function getQueryApplicationClass() {
return 'PhabricatorPeopleApplication';
return PhabricatorPeopleApplication::class;
}
}

View file

@ -241,7 +241,7 @@ final class PhabricatorExternalAccountQuery
}
public function getQueryApplicationClass() {
return 'PhabricatorPeopleApplication';
return PhabricatorPeopleApplication::class;
}
}

View file

@ -10,7 +10,7 @@ final class PhabricatorBadgesEditEngine
}
public function getEngineApplicationClass() {
return 'PhabricatorBadgesApplication';
return PhabricatorBadgesApplication::class;
}
public function getSummaryHeader() {

View file

@ -4,7 +4,7 @@ final class PhabricatorBadgesEditor
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
return 'PhabricatorBadgesApplication';
return PhabricatorBadgesApplication::class;
}
public function getEditorObjectsDescription() {

View file

@ -13,7 +13,7 @@ final class PhabricatorBadgesPHIDType extends PhabricatorPHIDType {
}
public function getPHIDTypeApplicationClass() {
return 'PhabricatorBadgesApplication';
return PhabricatorBadgesApplication::class;
}
protected function buildQueryForObjects(

View file

@ -115,7 +115,7 @@ final class PhabricatorBadgesAwardQuery
}
public function getQueryApplicationClass() {
return 'PhabricatorBadgesApplication';
return PhabricatorBadgesApplication::class;
}
}

View file

@ -77,7 +77,7 @@ final class PhabricatorBadgesQuery
}
public function getQueryApplicationClass() {
return 'PhabricatorBadgesApplication';
return PhabricatorBadgesApplication::class;
}
public function getBuiltinOrders() {

View file

@ -8,7 +8,7 @@ final class PhabricatorBadgesSearchEngine
}
public function getApplicationClassName() {
return 'PhabricatorBadgesApplication';
return PhabricatorBadgesApplication::class;
}
public function newQuery() {

View file

@ -12,7 +12,7 @@ final class PhabricatorBadgesDatasource
}
public function getDatasourceApplicationClass() {
return 'PhabricatorBadgesApplication';
return PhabricatorBadgesApplication::class;
}
public function loadResults() {

View file

@ -33,7 +33,7 @@ final class PhabricatorCalendarEventEditEngine
}
public function getEngineApplicationClass() {
return 'PhabricatorCalendarApplication';
return PhabricatorCalendarApplication::class;
}
protected function newEditableObject() {

View file

@ -7,7 +7,7 @@ final class PhabricatorCalendarEventEditor
private $newIsAllDay;
public function getEditorApplicationClass() {
return 'PhabricatorCalendarApplication';
return PhabricatorCalendarApplication::class;
}
public function getEditorObjectsDescription() {

View file

@ -22,7 +22,7 @@ final class PhabricatorCalendarExportEditEngine
}
public function getEngineApplicationClass() {
return 'PhabricatorCalendarApplication';
return PhabricatorCalendarApplication::class;
}
protected function newEditableObject() {

View file

@ -4,7 +4,7 @@ final class PhabricatorCalendarExportEditor
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
return 'PhabricatorCalendarApplication';
return PhabricatorCalendarApplication::class;
}
public function getEditorObjectsDescription() {

View file

@ -33,7 +33,7 @@ final class PhabricatorCalendarImportEditEngine
}
public function getEngineApplicationClass() {
return 'PhabricatorCalendarApplication';
return PhabricatorCalendarApplication::class;
}
protected function newEditableObject() {

View file

@ -4,7 +4,7 @@ final class PhabricatorCalendarImportEditor
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
return 'PhabricatorCalendarApplication';
return PhabricatorCalendarApplication::class;
}
public function getEditorObjectsDescription() {

View file

@ -5,7 +5,7 @@ final class PhabricatorCalendarEventHeraldAdapter extends HeraldAdapter {
private $object;
public function getAdapterApplicationClass() {
return 'PhabricatorCalendarApplication';
return PhabricatorCalendarApplication::class;
}
public function getAdapterContentDescription() {

View file

@ -13,7 +13,7 @@ final class PhabricatorCalendarEventPHIDType extends PhabricatorPHIDType {
}
public function getPHIDTypeApplicationClass() {
return 'PhabricatorCalendarApplication';
return PhabricatorCalendarApplication::class;
}
protected function buildQueryForObjects(

View file

@ -13,7 +13,7 @@ final class PhabricatorCalendarExportPHIDType extends PhabricatorPHIDType {
}
public function getPHIDTypeApplicationClass() {
return 'PhabricatorCalendarApplication';
return PhabricatorCalendarApplication::class;
}
protected function buildQueryForObjects(

View file

@ -14,7 +14,7 @@ final class PhabricatorCalendarExternalInviteePHIDType
}
public function getPHIDTypeApplicationClass() {
return 'PhabricatorCalendarApplication';
return PhabricatorCalendarApplication::class;
}
protected function buildQueryForObjects(

View file

@ -13,7 +13,7 @@ final class PhabricatorCalendarImportPHIDType extends PhabricatorPHIDType {
}
public function getPHIDTypeApplicationClass() {
return 'PhabricatorCalendarApplication';
return PhabricatorCalendarApplication::class;
}
protected function buildQueryForObjects(

View file

@ -93,7 +93,7 @@ final class PhabricatorCalendarEventInviteeQuery
}
public function getQueryApplicationClass() {
return 'PhabricatorCalendarApplication';
return PhabricatorCalendarApplication::class;
}
}

View file

@ -513,7 +513,7 @@ final class PhabricatorCalendarEventQuery
}
public function getQueryApplicationClass() {
return 'PhabricatorCalendarApplication';
return PhabricatorCalendarApplication::class;
}
protected function willFilterPage(array $events) {

View file

@ -12,7 +12,7 @@ final class PhabricatorCalendarEventSearchEngine
}
public function getApplicationClassName() {
return 'PhabricatorCalendarApplication';
return PhabricatorCalendarApplication::class;
}
public function newQuery() {

View file

@ -84,7 +84,7 @@ final class PhabricatorCalendarExportQuery
}
public function getQueryApplicationClass() {
return 'PhabricatorCalendarApplication';
return PhabricatorCalendarApplication::class;
}
}

View file

@ -8,7 +8,7 @@ final class PhabricatorCalendarExportSearchEngine
}
public function getApplicationClassName() {
return 'PhabricatorCalendarApplication';
return PhabricatorCalendarApplication::class;
}
public function canUseInPanelContext() {

View file

@ -58,7 +58,7 @@ final class PhabricatorCalendarExternalInviteeQuery
}
public function getQueryApplicationClass() {
return 'PhabricatorCalendarApplication';
return PhabricatorCalendarApplication::class;
}
}

View file

@ -101,7 +101,7 @@ final class PhabricatorCalendarImportLogQuery
}
public function getQueryApplicationClass() {
return 'PhabricatorCalendarApplication';
return PhabricatorCalendarApplication::class;
}
}

View file

@ -8,7 +8,7 @@ final class PhabricatorCalendarImportLogSearchEngine
}
public function getApplicationClassName() {
return 'PhabricatorCalendarApplication';
return PhabricatorCalendarApplication::class;
}
public function canUseInPanelContext() {

View file

@ -89,7 +89,7 @@ final class PhabricatorCalendarImportQuery
}
public function getQueryApplicationClass() {
return 'PhabricatorCalendarApplication';
return PhabricatorCalendarApplication::class;
}
}

View file

@ -8,7 +8,7 @@ final class PhabricatorCalendarImportSearchEngine
}
public function getApplicationClassName() {
return 'PhabricatorCalendarApplication';
return PhabricatorCalendarApplication::class;
}
public function canUseInPanelContext() {

View file

@ -12,7 +12,7 @@ final class PhabricatorCalendarInviteeDatasource
}
public function getDatasourceApplicationClass() {
return 'PhabricatorCalendarApplication';
return PhabricatorCalendarApplication::class;
}
public function getComponentDatasources() {

View file

@ -12,7 +12,7 @@ final class PhabricatorCalendarInviteeUserDatasource
}
public function getDatasourceApplicationClass() {
return 'PhabricatorCalendarApplication';
return PhabricatorCalendarApplication::class;
}
public function getComponentDatasources() {

View file

@ -12,7 +12,7 @@ final class PhabricatorCalendarInviteeViewerFunctionDatasource
}
public function getDatasourceApplicationClass() {
return 'PhabricatorPeopleApplication';
return PhabricatorPeopleApplication::class;
}
public function getDatasourceFunctions() {

View file

@ -107,7 +107,7 @@ final class PhabricatorConduitLogQuery
}
public function getQueryApplicationClass() {
return 'PhabricatorConduitApplication';
return PhabricatorConduitApplication::class;
}
}

View file

@ -8,7 +8,7 @@ final class PhabricatorConduitLogSearchEngine
}
public function getApplicationClassName() {
return 'PhabricatorConduitApplication';
return PhabricatorConduitApplication::class;
}
public function canUseInPanelContext() {

View file

@ -152,7 +152,7 @@ final class PhabricatorConduitMethodQuery
}
public function getQueryApplicationClass() {
return 'PhabricatorConduitApplication';
return PhabricatorConduitApplication::class;
}
}

View file

@ -8,7 +8,7 @@ final class PhabricatorConduitSearchEngine
}
public function getApplicationClassName() {
return 'PhabricatorConduitApplication';
return PhabricatorConduitApplication::class;
}
public function canUseInPanelContext() {

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