wiki.techinc.nl/tests/phpunit/mocks
Lucas Werkmeister bce2f8850d logger: Make log() methods return void
psr/log 3.0.0 adds this return type.

For this specific case the fix is very simple, fully
compatible with the older version of psr/log, and
something we’ll have to do sooner or later anyway.

Bug: T356451
Change-Id: I49562ac7f1a71e82cab79fe44296feea573e26d4
(cherry picked from commit 9244d4b2623b9d789e7dea28e65b5ca6f9651aaf)
2025-06-18 02:21:42 +00:00
..
content tests: Use namespaced classes 2024-10-21 18:53:02 +02:00
filebackend tests: Use namespaced classes 2024-10-21 18:53:02 +02:00
filerepo tests: Use namespaced classes 2024-10-21 18:53:02 +02:00
json [JsonCodec] Use wikimedia/json-codec to implement JsonCodec 2024-10-15 20:09:51 -04:00
languages tests: Use namespaced classes 2024-10-21 18:53:02 +02:00
media Remove terminating line breaks from debug messages 2020-06-03 12:01:16 +10:00
permissions Use explicit nullable type on parameter arguments 2024-10-16 20:58:33 +02:00
poolcounter mocks: Add missing documentation to class properties 2024-09-14 09:55:06 +02:00
search search: Add missing documentation to class properties 2024-09-07 21:56:00 +02:00
session mocks: Add missing documentation to class properties 2024-09-14 09:55:06 +02:00
BrokenClass.php HookContainer: allow registering broken callables. 2023-08-22 16:30:44 +00:00
BrokenClass2.php AutoLoader: Use require_once rather than require 2024-10-24 01:36:18 +00:00
BrokenClass3.php AutoLoader: Use require_once rather than require 2024-10-24 01:36:18 +00:00
DummyServicesTrait.php Make Message and MessageValue compatible 2024-10-19 15:00:07 +02:00
FakeQqxMessageLocalizer.php Make Message and MessageValue compatible 2024-10-19 15:00:07 +02:00
GhostFieldTestClass.php Serialization test cases: fix filename after ParserOutput namespacing 2024-05-17 17:07:47 -04:00
MockBlockTrait.php tests: Make use of ??= and ?? operators in various tests 2024-08-15 11:44:46 +02:00
MockChangesListFilter.php Replace usages of deprecated MWException 2023-06-06 17:05:32 +02:00
MockChangesListFilterGroup.php Migrate to IConnectionProvider methods in more places 2023-10-05 19:51:20 +02:00
MockDatabase.php Add namespace to remaining parts of Wikimedia\ObjectCache 2024-09-27 16:19:10 -04:00
MockEnvironment.php tests: Use namespaced classes (2) 2024-06-13 23:21:02 +02:00
MockHttpTrait.php Make MockHttpTrait::setService() compatible with MediaWikiUnitTestCase 2024-07-29 16:31:41 +02:00
MockMessageLocalizer.php Namespace MessageSpecifier under Wikimedia\Message\ 2024-07-28 14:21:32 +02:00
MockServiceDependenciesTrait.php MockServiceDependenciesTrait: Allow override param to be null 2024-09-27 18:28:33 +02:00
MockTitleTrait.php tests: Use namespaced classes (2) 2024-06-13 23:21:02 +02:00
NullGuzzleClient.php Use mock Guzzle client during tests 2022-01-18 13:14:51 +11:00
NullHttpRequestFactory.php Use MainConfigNames instead of string literals, #5 2022-04-27 18:46:29 +03:00
NullMultiHttpClient.php Add namespace and deprecation alias to MultiHttpClient 2024-05-20 00:32:45 +03:30
TestLocalisationCache.php Use variable-length argument lists instead of func_get_args() 2024-08-16 18:42:01 +00:00
TestLogger.php logger: Make log() methods return void 2025-06-18 02:21:42 +00:00