Fix PSR12.Properties.ConstantVisibility.NotFound

Bug: T253169
Change-Id: I7f3189a5e5546edd7969935d2f7d12ebbaeaad6f
This commit is contained in:
Reedy 2020-05-20 01:03:00 +01:00
parent c11f71a922
commit 300118615f
2 changed files with 2 additions and 2 deletions

View file

@ -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>

View file

@ -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