mediawiki-extensions-AbuseF.../includes/Consequences/ConsequenceNotPrecheckedException.php
Daimona Eaytoy ab2ad164ff Improve coverage around consequences
Add a lot more unit tests, improve code testability, remove duplicated
integration tests.

Change-Id: Id8c9266ae107217047f267296070f26f575889d1
2021-01-15 00:51:04 +00:00

18 lines
375 B
PHP

<?php
namespace MediaWiki\Extension\AbuseFilter\Consequences;
use RuntimeException;
/**
* @codeCoverageIgnore
*/
class ConsequenceNotPrecheckedException extends RuntimeException {
public function __construct() {
parent::__construct(
'Consequences that can disable other consequences should ' .
'use shouldDisableOtherConsequences() before execute()'
);
}
}