wiki.techinc.nl/tests/phpunit/unit/includes
Tim Starling 43a93d9782 Use the null coalescing assignment operator
Available since PHP 7.4.

Automated search, manual replacement.

Change-Id: Ibb163141526e799bff08cfeb4037b52144bb39fa
2022-10-21 13:26:49 +11:00
..
actions
api
auth
block unit tests: Use MainConfigNames constant to refer configs 2022-08-17 22:33:58 +02:00
cache
changes Inline a few more trivial createMock() calls in tests 2022-08-08 09:50:50 +02:00
CommentFormatter
composer
config Replace trivial usa of mock builder with createMock() shortcut 2022-07-15 16:43:48 +00:00
content phpunit: Avoid deprecated at() matcher 2022-10-06 18:57:24 -04:00
dao
db rdbms: Move Database::factory() to DatabaseFactory service 2022-08-31 10:53:50 +10:00
debug
deferred
diff Replace trivial usa of mock builder with createMock() shortcut 2022-07-15 16:43:48 +00:00
edit ParsoidOutputStash: make storage backend configurable. 2022-06-14 14:11:37 +01:00
editpage unit tests: Use MainConfigNames constant to refer configs 2022-08-17 22:33:58 +02:00
exception Migrate use of ${var}-style string interpolation 2022-07-29 02:45:09 +02:00
Feed Feed: Move feed-related classes to Feed/ and namespace them 2022-10-20 17:25:49 +00:00
filebackend lockmanager: remove MysqlLockManager and DBLockManager 2022-10-14 17:43:44 -07:00
filerepo/file
GlobalFunctions tests: Replace assertRegExp with assertMatchesRegularExpression 2022-10-07 14:13:16 -04:00
historyblob
HookContainer tests: Upgrade PHPUnit from 8.5+ to 9.5+ 2022-10-08 02:03:55 +02:00
htmlform
http unit tests: Use MainConfigNames constant to refer configs 2022-08-17 22:33:58 +02:00
import [php8.1] Make WikiImporterFactoryTest use better mock for ImportSource 2022-07-24 07:34:10 -07:00
installer
interwiki Replace trivial usa of mock builder with createMock() shortcut 2022-07-15 16:43:48 +00:00
jobqueue unit tests: Use MainConfigNames constant to refer configs 2022-08-17 22:33:58 +02:00
json Add return type to jsonSerialize() 2022-07-02 15:34:02 +00:00
language Use the null coalescing assignment operator 2022-10-21 13:26:49 +11:00
libs Merge "objectcache: Deprecate WANObjectCache::reap() and ::reapCheckKey()" 2022-10-21 00:36:34 +00:00
linker
mail
media
Message
objectcache Replace trivial usa of mock builder with createMock() shortcut 2022-07-15 16:43:48 +00:00
page unit tests: Use MainConfigNames constant to refer configs 2022-08-17 22:33:58 +02:00
ParamValidator/TypeDef
parser parsoid: inject UrlUtils to avoid phpunit failures in SiteConfigTest 2022-08-26 23:39:57 +00:00
password tests: Replace assertRegExp with assertMatchesRegularExpression 2022-10-07 14:13:16 -04:00
Permissions RestrictionStore: Migrate Database::select usages to SelectQueryBuilder 2022-09-30 17:48:07 +02:00
poolcounter Remove confusing ->onlyMethods( [] ) with empty array from tests 2022-08-08 15:49:59 +02:00
preferences Simplify timezone-related code for user preferences 2022-09-12 12:23:48 +00:00
rcfeed
registration Remove $wgParserTestFiles, deprecated in MW 1.30 2022-10-13 09:22:22 -04:00
ResourceLoader
Rest Use the null coalescing assignment operator 2022-10-21 13:26:49 +11:00
Revision tests: Remove non-existing method arguments from revision-related tests 2022-08-06 10:49:59 +00:00
revisionlist Replace trivial usa of mock builder with createMock() shortcut 2022-07-15 16:43:48 +00:00
search
session
Settings Settings: add support for obsolete config 2022-10-14 15:00:43 +02:00
shell
site
skins unit tests: Use MainConfigNames constant to refer configs 2022-08-17 22:33:58 +02:00
Storage phpunit: Avoid deprecated at() matcher 2022-10-06 18:57:24 -04:00
tidy Merge "parser: Use a <meta> tag for the internal TOC_PLACEHOLDER" 2022-09-09 21:12:34 +00:00
title
user Fix logic for formatting negative timezone offsets 2022-09-23 22:35:11 +00:00
utils MWCryptHashTest: Move into libs directory 2022-07-10 05:15:54 -04:00
watcheditem watcheditem: Replace deprecated User::getOption 2022-08-05 22:31:09 +00:00
watchlist Setup: Remove internal short-cut config $wgUseEnotif 2022-08-17 23:41:30 +02:00
BadFileLookupTest.php BadFileLookupTest: avoid ' in literals, breaks gitiles highlighting 2022-08-02 22:11:23 +00:00
DeprecatedGlobalTest.php
DerivativeRequestTest.php
FactoryArgTestTrait.php Make use of PHPUnit fail() shortcut 2022-07-14 14:48:15 +02:00
FauxResponseTest.php unit tests: Use MainConfigNames constant to refer configs 2022-08-17 22:33:58 +02:00
FormOptionsInitializationTest.php
FormOptionsTest.php
HeaderCallbackTest.php
HtmlHelperTest.php
LicensesTest.php
ListToggleTest.php
MovePageTest.php
PathRouterTest.php
PingbackTest.php unit tests: Use MainConfigNames constant to refer configs 2022-08-17 22:33:58 +02:00
ProxyLookupTest.php
ReadOnlyModeTest.php Make ReadOnlyModeTest work in php8. 2022-07-23 19:01:58 +00:00
SetupDynamicConfigTest.php Merge "Setup: Remove internal short-cut config $wgUseEnotif" 2022-08-20 14:53:43 +00:00
SiteConfigurationTest.php
TitleArrayFromResultTest.php
TitleTest.php
WikiReferenceTest.php
XmlJsTest.php
XmlSelectTest.php
XmlTest.php