From 3767db25f7866bcb364a44133e985ae86e299a4d Mon Sep 17 00:00:00 2001 From: Reedy Date: Sat, 30 May 2020 01:27:32 +0100 Subject: [PATCH] Fix PSR12.Properties.ConstantVisibility.NotFound Bug: T253169 Change-Id: If4de0fff2886961481faeefe3f8021ae6760e116 --- .phpcs.xml | 1 - includes/ParserFunctions.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.phpcs.xml b/.phpcs.xml index 85d67cb6..1dc29a91 100644 --- a/.phpcs.xml +++ b/.phpcs.xml @@ -3,7 +3,6 @@ - . diff --git a/includes/ParserFunctions.php b/includes/ParserFunctions.php index af85bfb4..201652e5 100644 --- a/includes/ParserFunctions.php +++ b/includes/ParserFunctions.php @@ -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.