mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 02:23:58 +00:00
Fix PSR12.Properties.ConstantVisibility.NotFound
Bug: T253169 Change-Id: Ie8eaf5eb9a687fa575d6237b01ae502b3ae2ede3
This commit is contained in:
parent
b3762eab91
commit
4ad2800088
|
@ -2,7 +2,6 @@
|
|||
<ruleset>
|
||||
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
||||
<exclude name="MediaWiki.Usage.DeprecatedGlobalVariables.Deprecated$wgTitle" />
|
||||
<exclude name="PSR12.Properties.ConstantVisibility.NotFound" />
|
||||
</rule>
|
||||
<file>.</file>
|
||||
<arg name="extensions" value="php,php5,inc"/>
|
||||
|
|
|
@ -16,8 +16,8 @@ class ApiVisualEditorEdit extends ApiBase {
|
|||
|
||||
use ApiParsoidTrait;
|
||||
|
||||
const MAX_CACHE_RECENT = 2;
|
||||
const MAX_CACHE_TTL = 900;
|
||||
private const MAX_CACHE_RECENT = 2;
|
||||
private const MAX_CACHE_TTL = 900;
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
|
|
Loading…
Reference in a new issue