aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/content/TextContentTest.php
diff options
context:
space:
mode:
authorEbrahim Byagowi <ebrahim@gnu.org>2024-05-17 13:41:24 +0330
committerEbrahim Byagowi <ebrahim@gnu.org>2024-05-17 13:51:18 +0330
commitccde5085deb75d2e885f69d327ec53dc284551e7 (patch)
treedb14f0f0778be9ac539153c80933888f65917df6 /tests/phpunit/includes/content/TextContentTest.php
parent86593606ab4f82682e67038f9860f0c936e537bc (diff)
downloadmediawikicore-ccde5085deb75d2e885f69d327ec53dc284551e7.tar.gz
mediawikicore-ccde5085deb75d2e885f69d327ec53dc284551e7.zip
Add namespace and deprecation alias to JavaScriptContent
This patch introduces a namespace declaration for the MediaWiki\Content to JavaScriptContent and establishes a class alias marked as deprecated since version 1.43. Bug: T353458 Change-Id: I87c17327911e28a461feaf2ff46242454cff257a
Diffstat (limited to 'tests/phpunit/includes/content/TextContentTest.php')
-rw-r--r--tests/phpunit/includes/content/TextContentTest.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/phpunit/includes/content/TextContentTest.php b/tests/phpunit/includes/content/TextContentTest.php
index f2b0e1a68fc9..842488b51921 100644
--- a/tests/phpunit/includes/content/TextContentTest.php
+++ b/tests/phpunit/includes/content/TextContentTest.php
@@ -1,5 +1,6 @@
<?php
+use MediaWiki\Content\JavaScriptContent;
use MediaWiki\Context\RequestContext;
use MediaWiki\MainConfigNames;
use MediaWiki\Title\Title;