wiki.techinc.nl/tests/phpunit/includes
thiemowmde 52963bbcc0 tests: Make use of ?? and ??= operators in test code
I believe the more recent syntax is quite a bit more readable. The
most obvious benefit is that it allows for much less duplication.

Note this patch is intentionally only touching tests, so it can't
have any effect on production code.

Change-Id: Ibdde9e37edf80f0d3bb3cb9056bee5f7df8010ee
2024-08-08 15:51:20 +02:00
..
actions
api Merge "ApiBase: Deprecate unused ApiBase::errorArrayToStatus()" 2024-08-08 10:10:20 +00:00
auth Use MediaWikiIntegrationTestCase::getConfVar in tests 2024-08-06 12:52:34 +00:00
block Use real type hints for services etc. in includes/block/ 2024-07-31 08:54:31 +00:00
cache Add namespace to the root classes of ObjectCache 2024-07-10 00:14:54 +03:30
Category
changes Add namespace to WikitextContent 2024-08-06 17:42:51 +03:30
changetags
collation
CommentStore
composer
config
content Add namespace to ContentModelChange 2024-08-08 11:14:45 +02:00
db Add namespace to the root classes of ObjectCache 2024-07-10 00:14:54 +03:30
debug Use MainConfigNames constants in tests where possible 2024-07-10 10:11:22 +00:00
deferred Add namespace to WikitextContent 2024-08-06 17:42:51 +03:30
diff Add namespace to WikitextContent 2024-08-06 17:42:51 +03:30
editpage Hard deprecate public access to EditPage::internalAttemptSave() 2024-07-21 15:03:54 +00:00
exception Use MainConfigNames constants in tests where possible 2024-07-10 10:11:22 +00:00
export
ExternalLinks
externalstore
filebackend Add namespace to the root classes of ObjectCache 2024-07-10 00:14:54 +03:30
filerepo Use $this->setRequest and $this->setGroupPermissions in PHPUnit tests 2024-07-11 18:38:00 +00:00
GlobalFunctions Use MediaWikiIntegrationTestCase::getConfVar in tests 2024-08-06 12:52:34 +00:00
HookContainer
Html
http
import ImportLinkCacheIntegrationTest: Set named user in context 2024-06-27 09:02:56 +02:00
installer Add tests for WebInstaller::getAcceptLanguage 2024-07-02 18:57:33 +00:00
interwiki tests: Avoid usage of deprecated setContentLang() 2024-07-19 17:28:39 +02:00
jobqueue Add namespace to WikitextContent 2024-08-06 17:42:51 +03:30
language Namespace MessageSpecifier under Wikimedia\Message\ 2024-07-28 14:21:32 +02:00
languages [i18n] Change the names of the Arabic months 2024-07-18 18:44:26 +00:00
libs Use MainConfigNames in tests 2024-08-06 13:58:47 +00:00
linkeddata
linker Drop duplicate test cases and @dataProviders from tests 2024-07-19 10:18:31 +00:00
logging logging: Hard-deprecate LogFormatter::newFromRow/newFromEntry 2024-07-29 20:29:25 +00:00
mail
media tests: Use LanguageFactory in FormatMetadataTest 2024-07-20 22:44:35 +02:00
Message
Navigation
objectcache objectcache: Update tests that are really for ObjectCacheFactory 2024-07-24 02:57:23 +00:00
Output tests: Make use of ?? and ??= operators in test code 2024-08-08 15:51:20 +02:00
OutputTransform HandleParsoidSectionLinks: also run this pass if COLLAPSABLE_SECTIONS 2024-07-30 17:22:55 -04:00
page Add namespace to WikitextContent 2024-08-06 17:42:51 +03:30
pager ContributionsPager: Fix date link in archive mode 2024-08-01 18:15:26 +01:00
ParamValidator/TypeDef REST: avoid crash on non-strings in request body 2024-07-16 17:18:31 +00:00
parser Add namespace to WikitextContent 2024-08-06 17:42:51 +03:30
password
Permissions Use real type hints for services etc. in includes/Permissions/ 2024-07-31 08:56:17 +00:00
poolcounter Add namespace to WikitextContent 2024-08-06 17:42:51 +03:30
preferences Extract LintErrorChecker out of SignatureValidator 2024-07-29 14:35:40 -04:00
profiler
rcfeed
registration Add namespace to the root classes of ObjectCache 2024-07-10 00:14:54 +03:30
Request
ResourceLoader Merge "Add namespace to WikitextContent" 2024-08-07 04:03:24 +00:00
Rest
Revision Add namespace to WikitextContent 2024-08-06 17:42:51 +03:30
search Add namespace to WikitextContent 2024-08-06 17:42:51 +03:30
session Use MainConfigNames in tests 2024-08-06 13:58:47 +00:00
shell
site Consistent spelling of "subpage" 2024-08-06 04:01:02 -04:00
SiteStats Add namespace to the root classes of ObjectCache 2024-07-10 00:14:54 +03:30
skins
sparql
specialpage ChangesListSpecialPage: Add another query test case 2024-08-02 01:01:26 +02:00
specials Use a real user in SpecialPreferencesTest 2024-08-08 10:23:58 +00:00
Status Namespace MessageSpecifier under Wikimedia\Message\ 2024-07-28 14:21:32 +02:00
Storage Add namespace to WikitextContent 2024-08-06 17:42:51 +03:30
title tests: Make use of ?? and ??= operators in test code 2024-08-08 15:51:20 +02:00
upload
user Add namespace to WikitextContent 2024-08-06 17:42:51 +03:30
utils
watchlist
WikiMap
xml
AutoLoaderTest.php
MediaWikiServicesTest.php
MockServiceWiring.php
SampleTest.php
TestUser.php
TestUserRegistry.php