From 4ad2800088cc3d216eaa0e64ab73900a3918a8fa Mon Sep 17 00:00:00 2001 From: Reedy Date: Sat, 19 Sep 2020 18:14:53 +0100 Subject: [PATCH] Fix PSR12.Properties.ConstantVisibility.NotFound Bug: T253169 Change-Id: Ie8eaf5eb9a687fa575d6237b01ae502b3ae2ede3 --- .phpcs.xml | 1 - includes/ApiVisualEditorEdit.php | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.phpcs.xml b/.phpcs.xml index 8dca4cccd1..a83d833cd4 100644 --- a/.phpcs.xml +++ b/.phpcs.xml @@ -2,7 +2,6 @@ - . diff --git a/includes/ApiVisualEditorEdit.php b/includes/ApiVisualEditorEdit.php index 44df6bc4b1..7f2da6f07a 100644 --- a/includes/ApiVisualEditorEdit.php +++ b/includes/ApiVisualEditorEdit.php @@ -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