wiki.techinc.nl/tests/phpunit/includes/api
Tim Starling 5e30a927bc tests: Make some PHPUnit data providers static
Just methods where adding "static" to the declaration was enough, I
didn't do anything with providers that used $this.

Initially by search and replace. There were many mistakes which I
found mostly by running the PHPStorm inspection which searches for
$this usage in a static method. Later I used the PHPStorm "make static"
action which avoids the more obvious mistakes.

Bug: T332865
Change-Id: I47ed6692945607dfa5c139d42edbd934fa4f3a36
2023-03-24 02:53:57 +00:00
..
format tests: Make some PHPUnit data providers static 2023-03-24 02:53:57 +00:00
query tests: Make some PHPUnit data providers static 2023-03-24 02:53:57 +00:00
Validator tests: Make some PHPUnit data providers static 2023-03-24 02:53:57 +00:00
ApiBaseTest.php tests: Make some PHPUnit data providers static 2023-03-24 02:53:57 +00:00
ApiBlockInfoTraitTest.php phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
ApiBlockTest.php tests: Use overrideConfig(Value|Values) where needed 2022-07-12 22:24:50 +00:00
ApiChangeContentModelTest.php tests: Make some PHPUnit data providers static 2023-03-24 02:53:57 +00:00
ApiCheckTokenTest.php
ApiClearHasMsgTest.php phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
ApiComparePagesTest.php Reorg: Namespace the Title class 2023-03-02 08:46:53 -05:00
ApiContinuationManagerTest.php Reorg: Move some of request related classes to MediaWiki/Request 2022-10-28 10:15:31 +00:00
ApiCSPReportTest.php Reorg: Move some of request related classes to MediaWiki/Request 2022-10-28 10:15:31 +00:00
ApiDeleteTest.php Reorg: Namespace the Title class 2023-03-02 08:46:53 -05:00
ApiDisabledTest.php
ApiEditPageTest.php tests: Make some PHPUnit data providers static 2023-03-24 02:53:57 +00:00
ApiErrorFormatterTest.php Reorg: Move RawMessage to under language/ 2022-12-16 11:30:19 +01:00
ApiLoginTest.php Use short array destructuring instead of list() 2022-10-21 15:33:37 +11:00
ApiLogoutTest.php Remove or replace usages of "sanity" 2021-11-21 19:35:49 +00:00
ApiMainTest.php tests: Make some PHPUnit data providers static 2023-03-24 02:53:57 +00:00
ApiMessageTest.php tests: Make some PHPUnit data providers static 2023-03-24 02:53:57 +00:00
ApiMoveTest.php Reorg: Namespace the Title class 2023-03-02 08:46:53 -05:00
ApiOpenSearchTest.php Use short array destructuring instead of list() 2022-10-21 15:33:37 +11:00
ApiOptionsTest.php tests: Make some PHPUnit data providers static 2023-03-24 02:53:57 +00:00
ApiPageSetTest.php Reorg: Namespace the Title class 2023-03-02 08:46:53 -05:00
ApiParseTest.php Reorg: Namespace the Title class 2023-03-02 08:46:53 -05:00
ApiProtectTest.php Reorg: Namespace the Title class 2023-03-02 08:46:53 -05:00
ApiPurgeTest.php Use short array destructuring instead of list() 2022-10-21 15:33:37 +11:00
ApiResultTest.php Reorg: Namespace the Title class 2023-03-02 08:46:53 -05:00
ApiRevisionDeleteTest.php Reorg: Namespace the Title class 2023-03-02 08:46:53 -05:00
ApiRollbackTest.php Reorg: Namespace the Title class 2023-03-02 08:46:53 -05:00
ApiSetNotificationTimestampIntegrationTest.php build: Updating mediawiki/mediawiki-codesniffer to 41.0.0 2023-03-11 19:04:09 +00:00
ApiStashEditTest.php Reorg: Namespace the Title class 2023-03-02 08:46:53 -05:00
ApiTestCase.php Reorg: Move some of request related classes to MediaWiki/Request 2022-10-28 10:15:31 +00:00
ApiTestContext.php Revert "Reorg: Move some of request related classes to MediaWiki/Request" 2022-10-27 13:14:16 +00:00
ApiUnblockTest.php api: Add watch option for userpage to action=unblock 2023-03-08 22:49:55 +01:00
ApiUndeleteTest.php Reorg: Namespace the Title class 2023-03-02 08:46:53 -05:00
ApiUploadTest.php Reorg: Namespace the Title class 2023-03-02 08:46:53 -05:00
ApiUploadTestCase.php Follow-up 0f13e81a1: Fix namespace of FileDeleteForm 2023-03-09 15:27:10 -05:00
ApiUsageExceptionTest.php
ApiUserrightsTest.php tests: Migrate setMwGlobals() to overrideConfigValue(s)() 2022-07-19 15:42:15 +01:00
ApiWatchTest.php Reorg: Namespace the Title class 2023-03-02 08:46:53 -05:00
generateRandomImages.php Replace some more isset() with shorter ?? syntax 2021-11-02 10:39:38 +01:00
MockApi.php
MockApiQueryBase.php
RandomImageGenerator.php RandomImageGenerator::getImageSpec: Don't pass a float to mt_rand(), for PHP 8.1 2022-10-24 09:38:52 -04:00