mediawiki-extensions-Scribunto/includes/engines/LuaCommon/HtmlLibrary.php
Kunal Mehta f76ba3c465 Disable Squiz.Classes.ValidClassName.NotCamelCaps globally
Instead of per-file. This happens to also fix a false positive with the
PhpunitAnnotations sniff.

Change-Id: I22621c37217ed2db9d8b3591df1a1421c25fa7f6
2018-05-24 22:26:11 -07:00

11 lines
261 B
PHP

<?php
class Scribunto_LuaHtmlLibrary extends Scribunto_LuaLibraryBase {
function register() {
return $this->getEngine()->registerInterface( 'mw.html.lua', [], [
'uniqPrefix' => Parser::MARKER_PREFIX,
'uniqSuffix' => Parser::MARKER_SUFFIX,
] );
}
}