dev/core#980 update phpunit extends class to support later versions
authoreileen <emcnaughton@wikimedia.org>
Sat, 25 May 2019 22:50:31 +0000 (10:50 +1200)
committereileen <emcnaughton@wikimedia.org>
Sat, 25 May 2019 22:50:31 +0000 (10:50 +1200)
commit1ee7925872a7ba1230b0e8b93f05f2415fbbde0b
treeb67990e7610766d91df14d7c85197b1fcd120e4e
parent7c295e89bcf11360f18c042a1d21338e7e4f09b4
dev/core#980 update phpunit extends class to support later versions

Per https://engineering.facile.it/blog/eng/phpunit-upgrade-namespace/ this works with phpunit 4.8 +

Phpunit support for php versions is here https://phpunit.de/supported-versions.html

Basically we need phpunit 7 to support php 7.3 - which we should be adding to our
test suite now. It's hard to make a case that we still need to support phpunit 4.8 - let
alone versions before that - 5.7 still covers php 5.6 which we need for some of our current branches.

Unit testing on master would ideally switch up to a supported version of phpunit - 7 or 8
tests/phpunit/CiviTest/CiviUnitTestCase.php