mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-23 21:53:35 +00:00
Exclude old, single-use scripts from coverage reports
These scripts were already included in the updater (and hence executed) several MW versions ago. There's no need to write tests for them right now, so exclude these from coverage. Change-Id: I43e46f06b98bb3b9b9d61a45baaf232e2a99c308
This commit is contained in:
parent
c5a1ab7899
commit
97afa97403
|
@ -11,6 +11,8 @@ use MediaWiki\MediaWikiServices;
|
|||
|
||||
/**
|
||||
* Adds rows missing per T54919
|
||||
* @codeCoverageIgnore
|
||||
* No need to cover: old, single-use script.
|
||||
*/
|
||||
class AddMissingLoggingEntries extends LoggedUpdateMaintenance {
|
||||
public function __construct() {
|
||||
|
|
|
@ -13,6 +13,9 @@ require_once "$IP/maintenance/Maintenance.php";
|
|||
* and T228655.
|
||||
* It also fixes a problem which caused addMissingLoggingEntries to insert duplicate rows foreach
|
||||
* non-legacy entries
|
||||
*
|
||||
* @codeCoverageIgnore
|
||||
* No need to cover: old, single-use script.
|
||||
*/
|
||||
class FixOldLogEntries extends LoggedUpdateMaintenance {
|
||||
/** @var bool */
|
||||
|
|
|
@ -27,6 +27,8 @@ require_once "$IP/maintenance/Maintenance.php";
|
|||
|
||||
/**
|
||||
* Normalizes throttle parameters, see T203587
|
||||
* @codeCoverageIgnore
|
||||
* No need to cover: old, single-use script.
|
||||
*/
|
||||
class NormalizeThrottleParameters extends LoggedUpdateMaintenance {
|
||||
public function __construct() {
|
||||
|
|
Loading…
Reference in a new issue