Deprecation notice from SpecialPageFatalTest is the most merge blocker
since merge of I8fb26380724b6b12bf08458dbff2e00b759d219b
Deprecation can occur at any time and than break many extensions to
merge, even there are still working.
Ignore deprecation as before, but keep the error and notices
Change-Id: Idcbc38b662c569fbe8e778a6b1ab815db332dc08
try {
$executor->executeSpecialPage( $page, '', null, null, $user );
+ } catch ( \PHPUnit\Framework\Error\Deprecated $deprecated ) {
+ // Allow deprecation,
+ // this test want to check fatals or other things breaking the extension
} catch ( \PHPUnit\Framework\Error\Error $error ) {
// Let phpunit settings working:
// - convertErrorsToExceptions="true"