dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
maintenance: Fix bogus IDatabase method calls in sqlite.php
[lhc/web/wiklou.git]
/
maintenance
/
checkLess.php
diff --git
a/maintenance/checkLess.php
b/maintenance/checkLess.php
index
8416c8a
..
55ffcb8
100644
(file)
--- 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
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';
}
require_once 'PHPUnit/Autoload.php';
}
@@
-62,5
+62,5
@@
class CheckLess extends Maintenance {
}
}
}
}
-$maintClass =
'CheckLess'
;
+$maintClass =
CheckLess::class
;
require_once RUN_MAINTENANCE_IF_MAIN;
require_once RUN_MAINTENANCE_IF_MAIN;