aboutsummaryrefslogtreecommitdiffstats
path: root/includes/utils/MWFileProps.php
diff options
context:
space:
mode:
authorEbrahim Byagowi <ebrahim@gnu.org>2024-05-19 17:10:05 +0330
committerEbrahim Byagowi <ebrahim@gnu.org>2024-05-19 22:35:58 +0330
commitd21cc67450c72455e9e2ea9a67e455598660235c (patch)
tree3162887fd733737019755a145b9ced63b4db03f3 /includes/utils/MWFileProps.php
parent5f55c28f44a2661df7aaa09e24d2ea4bc0a040c1 (diff)
downloadmediawikicore-d21cc67450c72455e9e2ea9a67e455598660235c.tar.gz
mediawikicore-d21cc67450c72455e9e2ea9a67e455598660235c.zip
Add namespace and deprecation alias to FileBackend
This patch introduces a namespace declaration for the Wikimedia\FileBackend to FileBackend and establishes a class alias marked as deprecated since version 1.43. Bug: T353458 Change-Id: Id897687b1d679fd7d179e3a32e617aae10ebff33
Diffstat (limited to 'includes/utils/MWFileProps.php')
-rw-r--r--includes/utils/MWFileProps.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/utils/MWFileProps.php b/includes/utils/MWFileProps.php
index 6cdb8da38c41..c4a40cfa485f 100644
--- a/includes/utils/MWFileProps.php
+++ b/includes/utils/MWFileProps.php
@@ -20,6 +20,8 @@
* @file
*/
+use Wikimedia\FileBackend\FileBackend;
+
/**
* MimeMagic helper wrapper
*