From 11ee99499358117a1b24a8daa0fa072a43c86f64 Mon Sep 17 00:00:00 2001 From: Umherirrender Date: Sun, 3 Mar 2019 02:05:56 +0100 Subject: [PATCH] Use ::class for class name resolution Available since php5.5 Change-Id: Ibb6c84372ac5b82099536fea304fcdefd3693f60 --- maintenance/disableOATHAuthForUser.php | 2 +- maintenance/updateScratchTokenFormat.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/maintenance/disableOATHAuthForUser.php b/maintenance/disableOATHAuthForUser.php index 5b2786f2..c77a88e1 100644 --- a/maintenance/disableOATHAuthForUser.php +++ b/maintenance/disableOATHAuthForUser.php @@ -43,5 +43,5 @@ class DisableOATHAuthForUser extends Maintenance { } } -$maintClass = "DisableOATHAuthForUser"; +$maintClass = DisableOATHAuthForUser::class; require_once RUN_MAINTENANCE_IF_MAIN; diff --git a/maintenance/updateScratchTokenFormat.php b/maintenance/updateScratchTokenFormat.php index 346630c2..484be778 100644 --- a/maintenance/updateScratchTokenFormat.php +++ b/maintenance/updateScratchTokenFormat.php @@ -47,5 +47,5 @@ class UpdateScratchTokenFormat extends Maintenance { } } -$maintClass = "UpdateScratchTokenFormat"; +$maintClass = UpdateScratchTokenFormat::class; require_once RUN_MAINTENANCE_IF_MAIN;