diff --git a/lib/behat/classes/behat_command.php b/lib/behat/classes/behat_command.php index bbff7bc28e6..4112e3cf620 100644 --- a/lib/behat/classes/behat_command.php +++ b/lib/behat/classes/behat_command.php @@ -177,7 +177,7 @@ class behat_command { } /** - * Has the site installed composer with --dev option + * Has the site installed composer. * @return bool */ public static function are_behat_dependencies_installed() { diff --git a/lib/phpunit/bootstraplib.php b/lib/phpunit/bootstraplib.php index 9e02f21a2fb..a9640994bfd 100644 --- a/lib/phpunit/bootstraplib.php +++ b/lib/phpunit/bootstraplib.php @@ -50,7 +50,7 @@ function phpunit_bootstrap_error($errorcode, $text = '') { $text = 'Error: '.$text; break; case PHPUNIT_EXITCODE_PHPUNITMISSING: - $text = "Can not find PHPUnit library, to install use: php composer.phar install --dev"; + $text = "Can not find PHPUnit library, to install use: php composer.phar install"; break; case PHPUNIT_EXITCODE_PHPUNITWRONG: $text = 'Moodle requires PHPUnit 3.6.x, '.$text.' is not compatible'; diff --git a/lib/phpunit/readme.md b/lib/phpunit/readme.md index 69bcdf08834..b15b96e1422 100644 --- a/lib/phpunit/readme.md +++ b/lib/phpunit/readme.md @@ -15,7 +15,7 @@ Composer is a dependency manager for PHP projects. It installs PHP libraries into /vendor/ subdirectory inside your moodle dirroot. 1. install Composer - [http://getcomposer.org/doc/00-intro.md](http://getcomposer.org/doc/00-intro.md) -2. install PHUnit and dependencies - go to your Moodle dirroot and execute `php composer.phar install --dev` +2. install PHUnit and dependencies - go to your Moodle dirroot and execute `php composer.phar install` Configure your server @@ -53,4 +53,4 @@ How to add more tests? Windows support --------------- -* use `\` instead of `/` in paths in examples above \ No newline at end of file +* use `\` instead of `/` in paths in examples above diff --git a/lib/testing/lib.php b/lib/testing/lib.php index 04bf85cd5db..96bd5ba168e 100644 --- a/lib/testing/lib.php +++ b/lib/testing/lib.php @@ -169,8 +169,6 @@ function testing_error($errorcode, $text = '') { /** * Updates the composer installer and the dependencies. * - * Includes --dev dependencies. - * * @return void exit() if something goes wrong */ function testing_update_composer_dependencies() {