Файловый менеджер - Редактировать - /var/www/html/mediawiki-1.43.1/extensions/CheckUser/tests/phpunit/integration/CheckUser/Pagers/DeAbstractedCheckUserPagerTest.php
Ðазад
<?php namespace MediaWiki\CheckUser\Tests\Integration\CheckUser\Pagers; use MediaWiki\CheckUser\CheckUser\Pagers\AbstractCheckUserPager; /** * A helper class for AbstractCheckUserPagerTest.php. * Because AbstractCheckUserPager is an abstract class * it has to be extended first if an object is wanted. * * This implements the abstracted methods by returning * an empty response or a predefined response (as testing * these methods should be done for classes that extend * AbstractCheckUserPager). * * @coversNothing */ class DeAbstractedCheckUserPagerTest extends AbstractCheckUserPager { public array $mockGetQueryInfoResponse = [ 'tables' => [], 'fields' => [], 'conds' => [], 'options' => [], 'join_conds' => [], ]; public function formatRow( $row ) { return ''; } public function getQueryInfo( ?string $table = null ): array { return $this->mockGetQueryInfoResponse; } protected function getQueryInfoForCuChanges(): array { return $this->mockGetQueryInfoResponse; } protected function getQueryInfoForCuLogEvent(): array { return $this->mockGetQueryInfoResponse; } protected function getQueryInfoForCuPrivateEvent(): array { return $this->mockGetQueryInfoResponse; } }
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка