From 328e2f2c3bb3e5351ffcf832333e44867eb6cde7 Mon Sep 17 00:00:00 2001 From: Umherirrender Date: Sun, 3 Mar 2019 15:14:54 +0100 Subject: [PATCH] Use ::class for class name resolution Available since php5.5 Change-Id: Ib2a249e81f4039d015f12ebcce04326c847c7b13 --- tests/wfTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/wfTest.php b/tests/wfTest.php index 33f08a3..0a18a0a 100644 --- a/tests/wfTest.php +++ b/tests/wfTest.php @@ -102,5 +102,5 @@ class DummyTest extends Maintenance { } } -$maintClass = 'DummyTest'; +$maintClass = DummyTest::class; require_once RUN_MAINTENANCE_IF_MAIN;