aboutsummaryrefslogtreecommitdiffstats
path: root/includes/CommentStore/CommentStore.php
diff options
context:
space:
mode:
authorEbrahim Byagowi <ebrahim@gnu.org>2024-05-16 15:58:33 +0330
committerEbrahim Byagowi <ebrahim@gnu.org>2024-05-16 16:28:01 +0330
commita717db8e6088ee2bdc64677d15702bb0ce6fadef (patch)
treea5319c68f934ff1f1639a12fe3abe3e209fd7aee /includes/CommentStore/CommentStore.php
parent0adf848c6fd04288c565c1712533c7387b69a662 (diff)
downloadmediawikicore-a717db8e6088ee2bdc64677d15702bb0ce6fadef.tar.gz
mediawikicore-a717db8e6088ee2bdc64677d15702bb0ce6fadef.zip
Add namespace and deprecation alias to FormatJson
This patch introduces a namespace declaration for the MediaWiki\Json to FormatJson and establishes a class alias marked as deprecated since version 1.43. Bug: T353458 Change-Id: I5e1311e4eb7a878a7db319b725ae262f40671c32
Diffstat (limited to 'includes/CommentStore/CommentStore.php')
-rw-r--r--includes/CommentStore/CommentStore.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/CommentStore/CommentStore.php b/includes/CommentStore/CommentStore.php
index 9fbbbf2fea36..3c6b742dd4a9 100644
--- a/includes/CommentStore/CommentStore.php
+++ b/includes/CommentStore/CommentStore.php
@@ -20,9 +20,9 @@
namespace MediaWiki\CommentStore;
-use FormatJson;
use InvalidArgumentException;
use Language;
+use MediaWiki\Json\FormatJson;
use MediaWiki\Language\RawMessage;
use MediaWiki\Message\Message;
use OverflowException;