wiki.techinc.nl/tests/phpunit/includes
Tim Starling 28750729bd Miscellaneous PHP version related cleanups
MediaWikiTitleCodec: I removed the comment about dbkey being
"conveniently nullified" since that is no longer correct. The first
preg_replace() can return null, and that is guarded. The second
preg_replace() hopefully can't return null, because if it does, trim()
will generate a deprecation notice on PHP 8.1.

Some other self-explanatory changes.

Change-Id: Iad0ace821eba782c3033ec8abfeac461ac4e8ace
2022-11-21 10:11:53 +11:00
..
actions Reorg: Move some of request related classes to MediaWiki/Request 2022-10-28 10:15:31 +00:00
api Enable pig-latin variant for testing 2022-11-08 17:45:51 +05:30
auth Remove pre PHP 7.4 serialize()/unserialize() 2022-11-10 19:25:01 +00:00
block Reorg: Move some of request related classes to MediaWiki/Request 2022-10-28 10:15:31 +00:00
cache Remove WikiRevision::downloadSource 2022-11-04 09:24:15 -04:00
changes tests: Upgrade PHPUnit from 8.5+ to 9.5+ 2022-10-08 02:03:55 +02:00
changetags Sort logging table by timestamp and log id 2022-10-09 14:19:34 +00:00
collation tests: Replace checkPHPExtension() with @requires annotations 2022-10-23 20:47:14 -04:00
config Use short array destructuring instead of list() 2022-10-21 15:33:37 +11:00
content Produce HTML for invalid JSON 2022-11-03 16:44:47 +01:00
context Setup: Promote clearActionName log message to runtime warning (2) 2022-11-08 23:29:25 +00:00
db rdbms: improve LoadBalancer connection pool reuse (ii) 2022-10-18 17:23:44 -07:00
debug Reorg: Move some of request related classes to MediaWiki/Request 2022-10-28 10:15:31 +00:00
deferred Use short array destructuring instead of list() 2022-10-21 15:33:37 +11:00
diff tests: Use MediaWikiIntegrationTestCase::editPage for edits 2022-09-23 22:49:59 +02:00
editpage tests: Migrate setMwGlobals() to overrideConfigValue(s) 2022-07-27 18:07:00 +01:00
exception tests: Migrate away from setMwGlobals() 2022-08-22 20:17:49 +00:00
externalstore Use ::class to refer to class names 2022-08-17 22:59:17 +02:00
filebackend lockmanager: remove MysqlLockManager and DBLockManager 2022-10-14 17:43:44 -07:00
filerepo Use short array destructuring instead of list() 2022-10-21 15:33:37 +11:00
GlobalFunctions Reorg: Move some of request related classes to MediaWiki/Request 2022-10-28 10:15:31 +00:00
HookContainer
htmlform Reorg: Move some of request related classes to MediaWiki/Request 2022-10-28 10:15:31 +00:00
http Migrate usage of setMwGlobals() to overrideConfigValue(s) 2022-08-01 06:16:22 +01:00
import Remove WikiRevision::downloadSource 2022-11-04 09:24:15 -04:00
installer Replace trivial usa of mock builder with createMock() shortcut 2022-07-15 16:43:48 +00:00
interwiki Migrate usage of setMwGlobals() to overrideConfigValue(s) 2022-08-01 06:16:22 +01:00
jobqueue Miscellaneous PHP version related cleanups 2022-11-21 10:11:53 +11:00
language Migrate usage of setMwGlobals() to overrideConfigValue(s) 2022-08-01 06:16:22 +01:00
languages Use yield consistently in grammar tests 2022-06-03 14:52:53 +03:00
libs rdbms: Fix test to not rely on deprecated class aliases 2022-11-04 22:09:58 +00:00
linkeddata Reorg: Move some of request related classes to MediaWiki/Request 2022-10-28 10:15:31 +00:00
linker tests: Add missing @group Database 2022-08-06 22:55:12 +02:00
logging PHPUnit: introduce clearHooks() method. 2022-11-03 13:40:42 +01:00
mail tests: Add missing @group Database 2022-08-06 22:55:12 +02:00
media tests: Replace checkPHPExtension() with @requires annotations 2022-10-23 20:47:14 -04:00
Message
Navigation PagerNavigationBuilder: Document that nulls in setLinkQuery() etc. are allowed 2022-11-02 23:56:35 +00:00
objectcache SqlBagOStuff: Fix modtoken comparison 2022-08-19 11:11:58 +10:00
page Reorg: Move some of request related classes to MediaWiki/Request 2022-10-28 10:15:31 +00:00
pager Reorg: Move some of request related classes to MediaWiki/Request 2022-10-28 10:15:31 +00:00
ParamValidator/TypeDef tests: Add missing @group Database 2022-08-06 22:55:12 +02:00
parser Track the reason for rendering. 2022-11-09 09:38:57 +00:00
password
Permissions Reorg: Move some of request related classes to MediaWiki/Request 2022-10-28 10:15:31 +00:00
poolcounter Separate RevisionOutputCache::makeParserOutputKey from no revid case 2022-09-09 18:24:27 -07:00
preferences Enable pig-latin variant for testing 2022-11-08 17:45:51 +05:30
rcfeed Migrate from setMwGlobals() to overrideConfigValue(s) 2022-08-02 10:14:10 +01:00
registration Collect autoloader info in ExtensionProcessor 2022-06-07 17:39:00 +02:00
ResourceLoader Reorg: Move some of request related classes to MediaWiki/Request 2022-10-28 10:15:31 +00:00
Rest tests: Simplify some nested ->will( $this->return assertions 2022-11-12 11:57:12 -07:00
Revision Various doc fixes about false and null on method arguments/return types 2022-11-03 18:55:47 +01:00
search Enable pig-latin variant for testing 2022-11-08 17:45:51 +05:30
session Merge "Reorg: Move some of request related classes to MediaWiki/Request" 2022-10-31 23:10:30 +00:00
shell tests: Replace assertRegExp with assertMatchesRegularExpression 2022-10-07 14:13:16 -04:00
site Remove pre PHP 7.4 serialize()/unserialize() 2022-11-10 19:25:01 +00:00
skins Componentize menulink + footer 2022-09-28 14:57:37 +00:00
sparql Replace trivial usa of mock builder with createMock() shortcut 2022-07-15 16:43:48 +00:00
specialpage Reorg: Move some of request related classes to MediaWiki/Request 2022-10-28 10:15:31 +00:00
specials Skins: Config flag controls contributions link 2022-11-08 10:33:39 +01:00
Storage tests: Replace checkPHPExtension() with @requires annotations 2022-10-23 20:47:14 -04:00
title tests: Migrate away from setMwGlobals() to overrideConfigValue(s)() 2022-08-14 22:23:25 +01:00
upload Reorg: Move some of request related classes to MediaWiki/Request 2022-10-28 10:15:31 +00:00
user tests: Simplify some nested ->will( $this->return assertions 2022-11-12 11:57:12 -07:00
utils Remove the deprecated MWGrants class 2022-09-16 17:07:20 +02:00
watcheditem phpunit: Avoid deprecated at() matcher 2022-10-06 18:57:24 -04:00
ActorMigrationTest.php Use short array destructuring instead of list() 2022-10-21 15:33:37 +11:00
ActorMigrationTest.sql
AutoLoaderTest.php tests: Use overrideConfigValue(s) where necessary 2022-07-16 23:45:52 +01:00
CategoryTest.php tests: Use Title::makeTitle instead of Title::newFromText 2022-09-23 21:53:11 +02:00
CommentStoreCommentTest.php
CommentStoreTest.php Use short array destructuring instead of list() 2022-10-21 15:33:37 +11:00
CommentStoreTest.sql
ContentSecurityPolicyTest.php [php8.1] Change override of $wgResourceBasePath for CSP tests 2022-07-25 12:54:04 -07:00
EditPageConstraintsTest.php tests: Simplify some nested ->will( $this->return assertions 2022-11-12 11:57:12 -07:00
EditPageTest.php Reorg: Move some of request related classes to MediaWiki/Request 2022-10-28 10:15:31 +00:00
ExportTest.php tests: Use overrideConfigValue(s) where necessary 2022-07-16 23:45:52 +01:00
ExtraParserTest.php tests: Use Title::makeTitle instead of Title::newFromText 2022-09-23 21:53:11 +02:00
FauxRequestTest.php Reorg: Move some of request related classes to MediaWiki/Request 2022-10-28 10:15:31 +00:00
GitInfoTest.php tests: Use overrideConfigValue(s) where necessary 2022-07-16 23:45:52 +01:00
HooksTest.php
HtmlTest.php Enable pig-latin variant for testing 2022-11-08 17:45:51 +05:30
LinkerTest.php tests: Replace deprecated WikiPage::factory 2022-09-02 19:34:02 +00:00
LinkFilterTest.php Externallinks: Add ability to write to the new fields 2022-10-25 22:14:15 +02:00
MagicWordFactoryTest.php
MediaWikiServicesTest.php Use short array destructuring instead of list() 2022-10-21 15:33:37 +11:00
MediaWikiTest.php Revert "Reorg: Move some of request related classes to MediaWiki/Request" 2022-10-27 13:14:16 +00:00
MediaWikiVersionFetcherTest.php
MergeHistoryTest.php tests: Use Title::makeTitle instead of Title::newFromText 2022-09-23 21:53:11 +02:00
MessageTest.php Remove pre PHP 7.4 serialize()/unserialize() 2022-11-10 19:25:01 +00:00
MockServiceWiring.php
MovePageTest.php tests: Use MediaWikiIntegrationTestCase::editPage for edits 2022-09-23 22:49:59 +02:00
MultiHttpClientTest.php Use short array destructuring instead of list() 2022-10-21 15:33:37 +11:00
MWTimestampTest.php Remove deprecated MWTimestamp::getHumanTimestamp 2022-11-03 17:00:39 +00:00
OutputPageTest.php tests: Simplify some nested ->will( $this->return assertions 2022-11-12 11:57:12 -07:00
PagePropsTest.php
SampleTest.php tests: Use Title::makeTitle instead of Title::newFromText 2022-09-23 21:53:11 +02:00
SiteStatsTest.php
StatusTest.php Use short array destructuring instead of list() 2022-10-21 15:33:37 +11:00
TemplateCategoriesTest.php tests: Use Title::makeTitle instead of Title::newFromText 2022-09-23 21:53:11 +02:00
TestUser.php tests/api: Add TestUser::getAuthority and use it 2022-08-06 23:15:27 +02:00
TestUserRegistry.php
TimeAdjustTest.php tests: Use overrideConfigValue(s) where necessary 2022-07-16 23:45:52 +01:00
TitleTest.php Use the null coalescing assignment operator 2022-10-21 13:26:49 +11:00
TitleUrlTest.php tests: Use overrideConfig(Value|Values) where needed 2022-07-12 22:24:50 +00:00
TrackingCategoriesTest.php
WebRequestTest.php Reorg: Move some of request related classes to MediaWiki/Request 2022-10-28 10:15:31 +00:00
WikiMapTest.php tests: Migrate MediaWiki settings to overrideConfig...() 2022-08-18 17:48:03 +01:00
XmlTest.php tests: don't assume wgLanguageCode is 'en' 2022-07-21 19:32:41 -04:00