wiki.techinc.nl/tests/phpunit/includes
Bartosz Dziewoński 62cfede3fa PermissionsError: Deprecate public properties
Follow-up to 298ec8382b, which replaced
`public $errors` with `public $status`, causing T372181.

* Add a deprecated fallback getter/setter for $errors
* Make $permission private and add a deprecated getter/setter
* Make $status private

Bug: T372181
Change-Id: If44b2256289d6bde9e9abb901d9dc145555c971f
2024-08-12 21:37:04 +02:00
..
actions tests: Use namespaced classes (1) 2024-06-14 17:19:36 +00:00
api Move Language and friends into Language namespace 2024-08-10 13:36:30 +02:00
auth build: Update mediawiki/mediawiki-codesniffer to 44.0.0 2024-08-11 13:08:16 +02: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 tests: Use namespaced classes (1) 2024-06-14 17:19:36 +00:00
changes Add namespace to WikitextContent 2024-08-06 17:42:51 +03:30
changetags Replace db with getDb for Tests 2024-06-23 23:47:56 +01:00
collation Remove auto-generated "Class ClassName" comments 2024-05-06 10:03:41 +02:00
CommentStore Replace db with getDb for Tests 2024-06-23 23:47:56 +01:00
composer
config
content build: Update mediawiki/mediawiki-codesniffer to 44.0.0 2024-08-11 13:08:16 +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 Move Language and friends into Language namespace 2024-08-10 13:36:30 +02:00
exception PermissionsError: Deprecate public properties 2024-08-12 21:37:04 +02:00
export Replace db with getDb for Tests 2024-06-23 23:47:56 +01:00
ExternalLinks LinkFilter::makeLikeArray: Fix another 'path' access 2024-05-14 12:29:23 +02:00
externalstore SqlBlobStore: Directly store ES addresses in content table 2024-04-30 12:20:32 +02:00
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 Add MediaWiki\Registration namespace to registration classes 2024-08-10 10:08:22 +00:00
Html Add "implements Stringable" to every class with "function __toString()" 2024-06-13 00:23:39 +00:00
http Use StatusValue::getMessages() instead of deprecated methods 2024-05-18 14:45:54 +00:00
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 Move Language and friends into Language namespace 2024-08-10 13:36:30 +02:00
languages [i18n] Change the names of the Arabic months 2024-07-18 18:44:26 +00:00
libs Merge "objectcache: Consolidate WRITE_PRUNE_SEGMENTS into WRITE_ALLOW_SEGMENTS" 2024-08-12 16:16:10 +00:00
linkeddata tests: Use namespaced classes (@covers) 2024-06-14 00:15:40 +02:00
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 mail: Improve docs, fix file headers, widen @covers 2024-05-10 19:48:43 +01:00
media tests: Use LanguageFactory in FormatMetadataTest 2024-07-20 22:44:35 +02:00
Message Deprecate Message::objectParams() and related code 2024-05-28 22:03:46 +00:00
Navigation phpunit: Fix tests relying on implicit wgScript/wgArticlePath 2024-05-05 00:00:01 +00:00
objectcache objectcache: Update tests that are really for ObjectCacheFactory 2024-07-24 02:57:23 +00:00
Output Move Language and friends into Language namespace 2024-08-10 13:36:30 +02:00
OutputTransform Move Language and friends into Language namespace 2024-08-10 13:36:30 +02:00
page Move remaining four classes in includes/content into Content namespace 2024-08-10 10:40:53 +02:00
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 Move Language and friends into Language namespace 2024-08-10 13:36:30 +02:00
password Namespace includes/password 2024-05-18 16:17:38 +01:00
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 Move Language and friends into Language namespace 2024-08-10 13:36:30 +02:00
profiler
rcfeed Add namespace and deprecation alias to MachineReadableRCFeedFormatter 2024-05-19 17:00:02 +03:30
registration Add MediaWiki\Registration namespace to registration classes 2024-08-10 10:08:22 +00:00
Request Add namespace and deprecation alias to FormatJson 2024-05-16 16:28:01 +03:30
ResourceLoader Merge "Add MediaWiki\Registration namespace to registration classes" 2024-08-10 11:33:27 +00:00
Rest Use real type hints for services etc. in includes/Rest/ 2024-06-11 22:40:44 +02:00
Revision Move remaining four classes in includes/content into Content namespace 2024-08-10 10:40:53 +02:00
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 tests: Use namespaced classes (1) 2024-06-14 17:19:36 +00:00
sparql
specialpage ChangesListSpecialPage: Add another query test case 2024-08-02 01:01:26 +02:00
specials Move Language and friends into Language namespace 2024-08-10 13:36:30 +02:00
Status Namespace MessageSpecifier under Wikimedia\Message\ 2024-07-28 14:21:32 +02:00
Storage Move remaining four classes in includes/content into Content namespace 2024-08-10 10:40:53 +02:00
title tests: Make use of ?? and ??= operators in test code 2024-08-08 15:51:20 +02:00
upload tests: Use namespaced classes (1) 2024-06-14 17:19:36 +00:00
user Add namespace to WikitextContent 2024-08-06 17:42:51 +03:30
utils Use constants provided by MainConfigNames for config names 2024-05-18 01:26:46 +08:00
watchlist Replace db with getDb for Tests 2024-06-23 23:47:56 +01:00
WikiMap tests: Use namespaced classes (1) 2024-06-14 17:19:36 +00:00
xml Add namespace and deprecation alias to Xml and XmlSelect 2024-05-16 15:23:14 +03:30
AutoLoaderTest.php
MediaWikiServicesTest.php
MockServiceWiring.php
SampleTest.php
TestUser.php
TestUserRegistry.php