Detect leakage of error_reporting state in tests.
authordaniel <daniel.kinzler@wikimedia.de>
Wed, 17 Jul 2013 16:42:24 +0000 (18:42 +0200)
committerDaniel Kinzler <daniel.kinzler@wikimedia.de>
Sat, 16 Nov 2013 22:03:20 +0000 (22:03 +0000)
commit08f91482c8d2407c0b4c0d110d97142fa0ce7be6
tree330b6387a1c2d16b32f3ce48b7651ba2168c2993
parent5e1efc3144d4af3a907d3c79f1ea6b8975ddf453
Detect leakage of error_reporting state in tests.

This causes PHPUnit test cases to fail if they changed the PHP
error_reporting settings, and failed to restore it.

Change-Id: I34068eac94c974a461af0ff5753d9fcaa375f2e4
tests/phpunit/MediaWikiTestCase.php