X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FcheckLess.php;h=eeec9d1c89467868fb25f69f921473a64eab8e8b;hb=c15fda5923cbaf4788611eb131a95b1d48a1adf5;hp=2f533cf4b0472bea91d131c9f6fd605fcd8a02b9;hpb=2721bc43dfc1ea6a3af678c63bdd3a06b2795cc2;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/checkLess.php b/maintenance/checkLess.php index 2f533cf4b0..eeec9d1c89 100644 --- a/maintenance/checkLess.php +++ b/maintenance/checkLess.php @@ -30,8 +30,8 @@ class CheckLess extends Maintenance { 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() { @@ -54,10 +54,10 @@ class CheckLess extends Maintenance { } $textUICommand = new PHPUnit_TextUI_Command(); - $argv = array( + $argv = [ "$IP/tests/phpunit/phpunit.php", "$IP/tests/phpunit/suites/LessTestSuite.php" - ); + ]; $textUICommand->run( $argv ); } }