mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TitleBlacklist
synced 2024-11-23 21:53:40 +00:00
9bf6f9480c
The $messageMemc legacy global, is a BagOStuff intended for MessageCache service, configured by wgMessageCacheType. Use that directly as a short-term measure so that we can remove $messageMemc initialization from Setup.php. Bug: T189966 Bug: T243175 Change-Id: I04a0e578d76269fa02ee85cffee070dc3e1f4512
15 lines
613 B
XML
15 lines
613 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ruleset>
|
|
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
|
|
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment"/>
|
|
<exclude name="PSR12.Properties.ConstantVisibility.NotFound" />
|
|
</rule>
|
|
<rule ref="Squiz.Classes.ValidClassName.NotCamelCaps">
|
|
<exclude-pattern>Scribunto_LuaTitleBlacklistLibrary\.php</exclude-pattern>
|
|
</rule>
|
|
<file>.</file>
|
|
<arg name="extensions" value="php,php5,inc"/>
|
|
<arg name="encoding" value="UTF-8"/>
|
|
</ruleset>
|