<?php

use MediaWiki\Html\FormOptions;
use MediaWiki\SpecialPage\ChangesListSpecialPage;
use Wikimedia\Rdbms\IReadableDatabase;

class MockChangesListFilterGroup extends ChangesListFilterGroup {
	public function createFilter( array $filterDefinition ) {
		return new MockChangesListFilter( $filterDefinition );
	}

	public function registerFilter( MockChangesListFilter $filter ) {
		$this->filters[$filter->getName()] = $filter;
	}

	public function modifyQuery( IReadableDatabase $dbr, ChangesListSpecialPage $specialPage,
		&$tables, &$fields, &$conds, &$query_options, &$join_conds, FormOptions $opts,
		$isStructuredFiltersEnabled ) {
	}

	public function addOptions( FormOptions $opts, $allowDefaults, $isStructuredFiltersEnabled ) {
	}
}
