X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=maintenance%2FcheckLess.php;h=55ffcb838f611d689b71bf12f6553683c14f53d1;hp=8416c8ab767936a32f22708b35182fc593d53c63;hb=63d96c15fde8d4d2842aa50c5ed2ce594aa0c674;hpb=d9f412635fa4057a4b3b4d174b798c28dc54b038 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;