X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FcheckLess.php;h=55ffcb838f611d689b71bf12f6553683c14f53d1;hb=a5e349c90843353df5e3c961ac78533bf0644897;hp=8416c8ab767936a32f22708b35182fc593d53c63;hpb=e758226c91935a1df2b6fd3ed1f18922d8bfb45b;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/checkLess.php b/maintenance/checkLess.php index 8416c8ab76..55ffcb838f 100644 --- a/maintenance/checkLess.php +++ b/maintenance/checkLess.php @@ -43,7 +43,7 @@ class CheckLess extends Maintenance { self::requireTestsAutoloader(); // If phpunit isn't available by autoloader try pulling it in - if ( !class_exists( 'PHPUnit_Framework_TestCase' ) ) { + if ( !class_exists( 'PHPUnit\\Framework\\TestCase' ) ) { require_once 'PHPUnit/Autoload.php'; } @@ -62,5 +62,5 @@ class CheckLess extends Maintenance { } } -$maintClass = 'CheckLess'; +$maintClass = CheckLess::class; require_once RUN_MAINTENANCE_IF_MAIN;