Allow PHPUnit 6 optionally in require-dev
authorReedy <reedy@wikimedia.org>
Sun, 3 Dec 2017 14:49:31 +0000 (14:49 +0000)
committerKunal Mehta <legoktm@member.fsf.org>
Fri, 13 Apr 2018 03:46:56 +0000 (20:46 -0700)
commit45a0f997340ce7e03cba0d3e948a2429bfebc38c
treef5371daf6e26602c628fdb2e2b578ac84b5a7161
parent2121cca716e8454e73c45e81c8a42dd7d05f66eb
Allow PHPUnit 6 optionally in require-dev

MediaWiki uses a back-compat layer to preserve most of the PHPUnit 4
runtime, so existing tests will continue to run fine with minimal
modification. Once PHP < 7.0 support is dropped, we can drop PHPUnit 4
support, and adapt tests to use PHPUnit 6 features directly.

Bug: T177132
Depends-On: I884b240307e3fcad253aa64eeae9944ed4eb7d50
Change-Id: I497712c7693d137be197a69873baa58383ce9646
composer.json
tests/phan/config.php
tests/phan/stubs/phpunit4.php [new file with mode: 0644]
tests/phpunit/phpunit.php