summaryrefslogtreecommitdiff
blob: a488a021b3698f4136cbd6db799e2c14f767930a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php
/**
 * @file
 * @author Niklas Laxström
 * @license GPL-2.0-or-later
 */

declare( strict_types = 1 );

namespace MediaWiki\Extensions\Translate\Validation;

use TMessage;

/**
 * Interim interface for message validators.
 *
 * In the future, it is expected that this will be deprecated and replaced with
 * a MessageRecordValidator interface.
 *
 * @since 2020.06
 */
interface MessageValidator {
	public function getIssues( TMessage $message, string $targetLanguage ): ValidationIssues;
}