X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/modifier.php?a=blobdiff_plain;f=maintenance%2FcheckLess.php;h=eeec9d1c89467868fb25f69f921473a64eab8e8b;hb=82d6f1d89fb4521ea2355832aff4b4e0f9ba27fa;hp=2f533cf4b0472bea91d131c9f6fd605fcd8a02b9;hpb=44aec8a00a9f0f92a746ca575b58147fea1135e5;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 ); } }