Change use of AtEase to at operator

Change-Id: If660c57d30d987762ac6a8cf4dfc0df240a6e560
This commit is contained in:
Dringsim 2024-04-30 01:36:03 +08:00
parent a6f6efef92
commit 4ad7e989aa
No known key found for this signature in database
GPG key ID: 7C5B1DFB8E73902C

View file

@ -6,7 +6,6 @@ use MediaWiki\MediaWikiServices;
use MediaWiki\Revision\MutableRevisionRecord;
use MediaWiki\Revision\SlotRecord;
use MediaWiki\Title\Title;
use Wikimedia\AtEase\AtEase;
use Wikimedia\CSS\Parser\Parser as CSSParser;
/**
@ -187,7 +186,8 @@ class TemplateStylesHooksTest extends MediaWikiLangTestCase {
$popt2 = ParserOptions::newFromContext( RequestContext::getMain() );
$popt3 = ParserOptions::newFromContext( RequestContext::getMain() );
AtEase::quietCall( [ $popt3, 'setWrapOutputClass' ], false );
// phpcs:ignore Generic.PHP.NoSilencedErrors.Discouraged
@$popt3->setWrapOutputClass( false );
return [
'Tag without src' => [