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
Add missing imports to MediaWikiServices
[lhc/web/wiklou.git]
/
maintenance
/
checkLess.php
diff --git
a/maintenance/checkLess.php
b/maintenance/checkLess.php
index
2f533cf
..
eeec9d1
100644
(file)
--- a/
maintenance/checkLess.php
+++ b/
maintenance/checkLess.php
@@
-30,8
+30,8
@@
class CheckLess extends Maintenance {
public function __construct() {
parent::__construct();
public function __construct() {
parent::__construct();
- $this->
mDescription =
- 'Checks LESS files for errors by running the LessTestSuite PHPUnit test suite';
+ $this->
addDescription(
+ 'Checks LESS files for errors by running the LessTestSuite PHPUnit test suite'
)
;
}
public function execute() {
}
public function execute() {
@@
-54,10
+54,10
@@
class CheckLess extends Maintenance {
}
$textUICommand = new PHPUnit_TextUI_Command();
}
$textUICommand = new PHPUnit_TextUI_Command();
- $argv =
array(
+ $argv =
[
"$IP/tests/phpunit/phpunit.php",
"$IP/tests/phpunit/suites/LessTestSuite.php"
"$IP/tests/phpunit/phpunit.php",
"$IP/tests/phpunit/suites/LessTestSuite.php"
-
)
;
+
]
;
$textUICommand->run( $argv );
}
}
$textUICommand->run( $argv );
}
}