mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-12-18 02:00:53 +00:00
6ed00b924a
I figured a single "@covers ::__construct" in PopupsContextTest should be enough, especially since this constructor is super trivial. There is nothing to test in NullLogger. I also removed the duplicated documentation as it does not really apply, and is still available in the base class. Change-Id: I9a2e4b06e5bfd015efa4a92ba802c942290ec49d
36 lines
933 B
PHP
36 lines
933 B
PHP
<?php
|
|
/*
|
|
* This file is part of the MediaWiki extension Popups.
|
|
*
|
|
* Popups is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* Popups is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with Popups. If not, see <http://www.gnu.org/licenses/>.
|
|
*
|
|
* @file
|
|
* @ingroup extensions
|
|
*/
|
|
namespace Popups\EventLogging;
|
|
|
|
/**
|
|
* @codeCoverageIgnore
|
|
*/
|
|
class NullLogger implements EventLogger {
|
|
|
|
/**
|
|
* @inheritDoc
|
|
*/
|
|
public function log( array $event ) {
|
|
// just do nothing
|
|
}
|
|
|
|
}
|