diff --git a/composer.json b/composer.json index 94bf8860ad1..5f618de7bba 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "require": { + "require-dev": { "phpunit/phpunit": "3.7.*", "phpunit/dbUnit": "1.2.*" } diff --git a/lib/phpunit/readme.md b/lib/phpunit/readme.md index 132c4dbf054..0bf70c47442 100644 --- a/lib/phpunit/readme.md +++ b/lib/phpunit/readme.md @@ -15,7 +15,7 @@ Composer is a new 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 -2. go to your moodle dirroot and execute `php composer.phar install` +2. go to your moodle dirroot and execute `php composer.phar install --dev` PEAR installation (not recommended)