summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2021-07-19 15:20:22 -0400
committerBrian Evans <grknight@gentoo.org>2021-07-19 15:20:22 -0400
commit9f092345e6bbecfde8c19e6d1490a6031a35f61f (patch)
tree2abb2398cd0df686e8608e15097ddc58b8995615 /MLEB/Translate/src/Validation/Validator.php
parentOAuth: Update for fixes and security (diff)
downloadextensions-9f092345e6bbecfde8c19e6d1490a6031a35f61f.tar.gz
extensions-9f092345e6bbecfde8c19e6d1490a6031a35f61f.tar.bz2
extensions-9f092345e6bbecfde8c19e6d1490a6031a35f61f.zip
Update to MLEB 2021.06
Signed-off-by: Brian Evans <grknight@gentoo.org>
Diffstat (limited to 'MLEB/Translate/src/Validation/Validator.php')
-rw-r--r--MLEB/Translate/src/Validation/Validator.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/MLEB/Translate/src/Validation/Validator.php b/MLEB/Translate/src/Validation/Validator.php
new file mode 100644
index 00000000..c89f349b
--- /dev/null
+++ b/MLEB/Translate/src/Validation/Validator.php
@@ -0,0 +1,23 @@
+<?php
+/**
+ * Interface to be implemented by Validators.
+ *
+ * @file
+ * @author Abijeet Patro
+ * @license GPL-2.0-or-later
+ */
+
+namespace MediaWiki\Extension\Translate\Validation;
+
+use TMessage;
+
+/**
+ * Interface class built to be implement by validators
+ * @since 2019.06
+ * @deprecated since 2020.06
+ */
+interface Validator {
+ public function validate( TMessage $message, $code, array &$notices );
+}
+
+class_alias( Validator::class, '\MediaWiki\Extensions\Translate\Validator' );