Output only to stderr in unit tests
authorAryeh Gregor <ayg@aryeh.name>
Mon, 8 Oct 2018 18:04:12 +0000 (21:04 +0300)
committerAryeh Gregor <ayg@aryeh.name>
Mon, 8 Oct 2018 18:04:12 +0000 (21:04 +0300)
commit383a925f682d00d7218a5a36167d4d038a553b13
treec67efe774b1d5cc3d2756be0f9a3f5eced749e20
parent1572f3b1b89abc958da6a7d131553e3b67953403
Output only to stderr in unit tests

Otherwise, session tests don't work in PHP 7.2 because headers are
already sent: https://bugs.php.net/bug.php?id=75628

Bug: T206476
Change-Id: Ie88db4a61a56b756c6445d2579a2f30da22c3ee8
tests/phpunit/MediaWikiPHPUnitCommand.php
tests/phpunit/includes/session/PHPSessionHandlerTest.php
tests/phpunit/phpunit.php