Fix PSR12.Properties.ConstantVisibility.NotFound

Bug: T253169
Change-Id: If4de0fff2886961481faeefe3f8021ae6760e116
This commit is contained in:
Reedy 2020-05-30 01:27:32 +01:00
parent f02c1a49be
commit 3767db25f7
2 changed files with 1 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>
<file>.</file>
<arg name="extensions" value="php,php5,inc" />

View file

@ -28,7 +28,7 @@ class ParserFunctions {
private static $mTimeChars = 0;
/** ~10 seconds */
const MAX_TIME_CHARS = 6000;
private const MAX_TIME_CHARS = 6000;
/**
* Register ParserClearState hook.