diff --git a/maintenance/deduplicateArchiveRevId.php b/maintenance/deduplicateArchiveRevId.php index b614aad50e7..16eb59f5a23 100644 --- a/maintenance/deduplicateArchiveRevId.php +++ b/maintenance/deduplicateArchiveRevId.php @@ -214,5 +214,5 @@ class DeduplicateArchiveRevId extends LoggedUpdateMaintenance { } -$maintClass = "DeduplicateArchiveRevId"; +$maintClass = DeduplicateArchiveRevId::class; require_once RUN_MAINTENANCE_IF_MAIN; diff --git a/maintenance/populateArchiveRevId.php b/maintenance/populateArchiveRevId.php index 847d2eb385a..7b6e6ba02ed 100644 --- a/maintenance/populateArchiveRevId.php +++ b/maintenance/populateArchiveRevId.php @@ -294,5 +294,5 @@ class PopulateArchiveRevId extends LoggedUpdateMaintenance { } } -$maintClass = "PopulateArchiveRevId"; +$maintClass = PopulateArchiveRevId::class; require_once RUN_MAINTENANCE_IF_MAIN; diff --git a/maintenance/populateContentTables.php b/maintenance/populateContentTables.php index 503a9771d16..e6fa69f8c55 100644 --- a/maintenance/populateContentTables.php +++ b/maintenance/populateContentTables.php @@ -384,5 +384,5 @@ class PopulateContentTables extends Maintenance { } } -$maintClass = 'PopulateContentTables'; +$maintClass = PopulateContentTables::class; require_once RUN_MAINTENANCE_IF_MAIN; diff --git a/maintenance/populateExternallinksIndex60.php b/maintenance/populateExternallinksIndex60.php index 695773e2af5..28500bb362d 100644 --- a/maintenance/populateExternallinksIndex60.php +++ b/maintenance/populateExternallinksIndex60.php @@ -85,5 +85,5 @@ class PopulateExternallinksIndex60 extends LoggedUpdateMaintenance { } } -$maintClass = "PopulateExternallinksIndex60"; +$maintClass = PopulateExternallinksIndex60::class; require_once RUN_MAINTENANCE_IF_MAIN; diff --git a/maintenance/refreshExternallinksIndex.php b/maintenance/refreshExternallinksIndex.php index 1551a94be50..42472d8d379 100644 --- a/maintenance/refreshExternallinksIndex.php +++ b/maintenance/refreshExternallinksIndex.php @@ -116,5 +116,5 @@ class RefreshExternallinksIndex extends LoggedUpdateMaintenance { } } -$maintClass = "RefreshExternallinksIndex"; +$maintClass = RefreshExternallinksIndex::class; require_once RUN_MAINTENANCE_IF_MAIN; diff --git a/tests/parser/editTests.php b/tests/parser/editTests.php index 7abc6df385b..74ad66d44f2 100644 --- a/tests/parser/editTests.php +++ b/tests/parser/editTests.php @@ -484,5 +484,5 @@ class ParserEditTests extends Maintenance { } } -$maintClass = 'ParserEditTests'; +$maintClass = ParserEditTests::class; require RUN_MAINTENANCE_IF_MAIN; diff --git a/tests/parser/fuzzTest.php b/tests/parser/fuzzTest.php index d827fc24b31..1fff2e794ad 100644 --- a/tests/parser/fuzzTest.php +++ b/tests/parser/fuzzTest.php @@ -195,5 +195,5 @@ class ParserFuzzTest extends Maintenance { } } -$maintClass = 'ParserFuzzTest'; +$maintClass = ParserFuzzTest::class; require RUN_MAINTENANCE_IF_MAIN; diff --git a/tests/parser/parserTests.php b/tests/parser/parserTests.php index 0713844ea0c..808da63886d 100644 --- a/tests/parser/parserTests.php +++ b/tests/parser/parserTests.php @@ -196,5 +196,5 @@ class ParserTestsMaintenance extends Maintenance { } } -$maintClass = 'ParserTestsMaintenance'; +$maintClass = ParserTestsMaintenance::class; require_once RUN_MAINTENANCE_IF_MAIN; diff --git a/tests/phpunit/includes/api/generateRandomImages.php b/tests/phpunit/includes/api/generateRandomImages.php index afc9ca00722..252c4d3a23d 100644 --- a/tests/phpunit/includes/api/generateRandomImages.php +++ b/tests/phpunit/includes/api/generateRandomImages.php @@ -40,5 +40,5 @@ class GenerateRandomImages extends Maintenance { } } -$maintClass = 'GenerateRandomImages'; +$maintClass = GenerateRandomImages::class; require RUN_MAINTENANCE_IF_MAIN; diff --git a/tests/phpunit/phpunit.php b/tests/phpunit/phpunit.php index 6e4ff3f630f..edceb1603c0 100755 --- a/tests/phpunit/phpunit.php +++ b/tests/phpunit/phpunit.php @@ -126,5 +126,5 @@ class PHPUnitMaintClass extends Maintenance { } } -$maintClass = 'PHPUnitMaintClass'; +$maintClass = PHPUnitMaintClass::class; require RUN_MAINTENANCE_IF_MAIN; diff --git a/tests/qunit/data/generateJqueryMsgData.php b/tests/qunit/data/generateJqueryMsgData.php index 30d993e1558..bc068721cdd 100644 --- a/tests/qunit/data/generateJqueryMsgData.php +++ b/tests/qunit/data/generateJqueryMsgData.php @@ -144,5 +144,5 @@ class GenerateJqueryMsgData extends Maintenance { } } -$maintClass = "GenerateJqueryMsgData"; +$maintClass = GenerateJqueryMsgData::class; require_once RUN_MAINTENANCE_IF_MAIN;