wiki.techinc.nl/tests/phpunit/mocks
Máté Szabó 85017a30b2 phpunit: Fix trivial dynamic property usages in tests
Dynamic property creation is deprecated in PHP 8.2 (E_DEPRECATED).
Migrate some trivial cases in tests to use explicitly declared fields
instead, and remove the unused lastLog field from
MediaWikiLoggerPHPUnitExtension.

Notably this does not yet address MediaWikiIntegrationTestCase using
dynamic properties to associate ephemeral data with DB connections used
for tests.

Bug: T314099
Change-Id: I55453c0d254012b69c6843c54cfa8345fa5744fa
2022-07-29 01:59:23 +02:00
..
content phpunit: Fix trivial dynamic property usages in tests 2022-07-29 01:59:23 +02:00
filebackend tests: Use standard utilities for temporary file names 2019-05-06 17:21:45 +00:00
filerepo tests: Use standard utilities for temporary file names 2019-05-06 17:21:45 +00:00
json Safe ParserOutput extension data and JsonUnserializable helper. 2020-11-10 11:21:09 -07:00
languages Language: Turn public properties into Getters in LanguageConverter based hierarchy 2021-02-03 15:17:42 +02:00
media Remove terminating line breaks from debug messages 2020-06-03 12:01:16 +10:00
permissions DeletePage: add option to delete the associated talk page 2022-01-11 14:48:56 +01:00
poolcounter Fast stale ParserCache responses 2020-06-05 16:24:22 +10:00
search LinkCache: soft deprecate addGoodLinkObj() 2021-09-10 16:00:02 +02:00
session Fix some PSR12.Properties.ConstantVisibility.NotFound in tests/phpunit/ 2020-05-09 23:55:09 +00:00
DummyServicesTrait.php Add support for nested property schemas in MainConfigSchema. 2022-06-29 16:34:43 +10:00
GhostFieldTestClass.php Forward-compat for merging CacheTime and ParserOutput mOptions 2020-11-10 07:09:41 -07:00
MockChangesListFilter.php
MockChangesListFilterGroup.php
MockHttpTrait.php Use MainConfigNames instead of string literals, #5 2022-04-27 18:46:29 +03:00
MockMessageLocalizer.php Use varargs for MessageLocalizer::msg and similar 2019-10-05 17:47:49 +00:00
MockServiceDependenciesTrait.php phpunit: Don't redefine methods in traits 2021-03-23 12:59:34 +00:00
MockTitleTrait.php Set page id to 0 for pages in virtual namespaces 2022-03-10 20:12:27 +00: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 Tests: Start marking some closures as static 2021-02-06 19:57:42 +00:00
TestLocalisationCache.php Use MainConfigNames instead of string literals, #5 2022-04-27 18:46:29 +03:00
TestLogger.php Remove unused default values from class properties 2021-05-12 13:44:28 +02:00