mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateStyles
synced 2024-12-01 03:16:45 +00:00
Change use of AtEase to at operator
Change-Id: If660c57d30d987762ac6a8cf4dfc0df240a6e560
This commit is contained in:
parent
a6f6efef92
commit
4ad7e989aa
|
@ -6,7 +6,6 @@ use MediaWiki\MediaWikiServices;
|
||||||
use MediaWiki\Revision\MutableRevisionRecord;
|
use MediaWiki\Revision\MutableRevisionRecord;
|
||||||
use MediaWiki\Revision\SlotRecord;
|
use MediaWiki\Revision\SlotRecord;
|
||||||
use MediaWiki\Title\Title;
|
use MediaWiki\Title\Title;
|
||||||
use Wikimedia\AtEase\AtEase;
|
|
||||||
use Wikimedia\CSS\Parser\Parser as CSSParser;
|
use Wikimedia\CSS\Parser\Parser as CSSParser;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -187,7 +186,8 @@ class TemplateStylesHooksTest extends MediaWikiLangTestCase {
|
||||||
$popt2 = ParserOptions::newFromContext( RequestContext::getMain() );
|
$popt2 = ParserOptions::newFromContext( RequestContext::getMain() );
|
||||||
|
|
||||||
$popt3 = ParserOptions::newFromContext( RequestContext::getMain() );
|
$popt3 = ParserOptions::newFromContext( RequestContext::getMain() );
|
||||||
AtEase::quietCall( [ $popt3, 'setWrapOutputClass' ], false );
|
// phpcs:ignore Generic.PHP.NoSilencedErrors.Discouraged
|
||||||
|
@$popt3->setWrapOutputClass( false );
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'Tag without src' => [
|
'Tag without src' => [
|
||||||
|
|
Loading…
Reference in a new issue