mediawiki-extensions-AbuseF.../includes/InvalidImportDataException.php
Daimona Eaytoy 3f7fff56e8 Adjust code coverage
-Exclude methods and classes that cannot be meaningfully covered
-Add a simple test for AbuseFilterServices
-Exclude ServiceWiring because there's no way to tell PHPUnit it's
covered

Change-Id: I4c67b0d3fea68c7a3b3cbe01b5608f87e1b492db
2020-11-19 22:40:26 +00:00

18 lines
340 B
PHP

<?php
namespace MediaWiki\Extension\AbuseFilter;
use InvalidArgumentException;
/**
* @codeCoverageIgnore
*/
class InvalidImportDataException extends InvalidArgumentException {
/**
* @param string $data That is not valid
*/
public function __construct( string $data ) {
parent::__construct( "Invalid import data: $data" );
}
}