Use namespaced quietCall

Change-Id: Ifcacc35721d5509c3bc1fe602587c0701af5201f
This commit is contained in:
Reedy 2022-02-24 20:29:18 +00:00
parent 017fb7490b
commit 5d7bc99cae

View file

@ -3,6 +3,7 @@
use MediaWiki\MediaWikiServices; use MediaWiki\MediaWikiServices;
use MediaWiki\Revision\MutableRevisionRecord; use MediaWiki\Revision\MutableRevisionRecord;
use MediaWiki\Revision\SlotRecord; use MediaWiki\Revision\SlotRecord;
use Wikimedia\AtEase\AtEase;
use Wikimedia\CSS\Parser\Parser as CSSParser; use Wikimedia\CSS\Parser\Parser as CSSParser;
/** /**
@ -209,7 +210,7 @@ class TemplateStylesHooksTest extends MediaWikiLangTestCase {
$popt2 = ParserOptions::newFromContext( RequestContext::getMain() ); $popt2 = ParserOptions::newFromContext( RequestContext::getMain() );
$popt3 = ParserOptions::newFromContext( RequestContext::getMain() ); $popt3 = ParserOptions::newFromContext( RequestContext::getMain() );
Wikimedia\quietCall( [ $popt3, 'setWrapOutputClass' ], false ); AtEase::quietCall( [ $popt3, 'setWrapOutputClass' ], false );
return [ return [
'Tag without src' => [ 'Tag without src' => [