MDL-68705 testing: New CLI args to disable composer features
authorAndrew Nicols <andrew@nicols.co.uk>
Tue, 4 Aug 2020 03:21:03 +0000 (11:21 +0800)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Thu, 20 Aug 2020 18:12:54 +0000 (20:12 +0200)
commit5e60d77da1c3a16e1486f53d480cde83325d0e5a
tree09855e4b0de83b91deb0bb30931a62ba8fc9a112
parentb430493ca8fe1381cf6a7b810548140fcd9e5d7e
MDL-68705 testing: New CLI args to disable composer features

This commit introduces the following new flags:

  --no-composer-self-update   Disable composer self-update of the
                              composer.phar utility

  --no-composer-upgrade       Disable upgrade of development
                              dependencies using Composer.

  --disable-composer          Disable both composer self-update and
                              composer upgrade
admin/tool/behat/cli/init.php
admin/tool/phpunit/cli/init.php