mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TitleBlacklist
synced 2024-11-23 21:53:40 +00:00
Fix PSR12.Properties.ConstantVisibility.NotFound
Bug: T253169 Change-Id: I7f3189a5e5546edd7969935d2f7d12ebbaeaad6f
This commit is contained in:
parent
c11f71a922
commit
300118615f
|
@ -3,7 +3,6 @@
|
|||
<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>
|
||||
|
|
|
@ -26,7 +26,8 @@ class TitleBlacklist {
|
|||
/** @var TitleBlacklist|null */
|
||||
protected static $instance = null;
|
||||
|
||||
const VERSION = 3; // Blacklist format
|
||||
/** Blacklist format */
|
||||
public const VERSION = 3;
|
||||
|
||||
/**
|
||||
* Get an instance of this class
|
||||
|
|
Loading…
Reference in a new issue