aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/unit/includes/json
Commit message (Expand)AuthorAgeFilesLines
* [JsonCodec] Use wikimedia/json-codec to implement JsonCodecC. Scott Ananian2024-10-151-8/+93
* Rename JsonUnserial… to JsonDeserial…James D. Forrester2024-06-121-55/+55
* [JsonCodec, ParserCache] Improve debugging of serializability failuresC. Scott Ananian2024-05-161-3/+15
* Add namespace and deprecation alias to FormatJsonEbrahim Byagowi2024-05-162-7/+9
* Merge "Remove all @package comments"jenkins-bot2024-05-131-1/+0
|\
| * Remove all @package commentsthiemowmde2024-05-101-1/+0
* | Use 'scalar' type alias to shorten PHPDoc annotationsBartosz Dziewoński2024-05-111-2/+2
|/
* tests: Fix @covers and @coversDefaultClass to have leading \Reedy2024-02-161-6/+6
* [JsonCodec] throw JsonException now that we require PHP >= 7.4C. Scott Ananian2024-01-081-4/+6
* Make use of assertStatusGood/Error and such in teststhiemowmde2023-10-041-18/+7
* Reorg: Move Status to MediaWiki\Status\Amir Sarabadani2023-08-251-0/+2
* tests: Make some PHPUnit data providers staticTim Starling2023-03-242-8/+8
* Fix some typosMatěj Suchánek2023-03-211-1/+1
* Reorg: Namespace the Title classJames D. Forrester2023-03-021-1/+1
* json: Dont try to deserialize actual user-land instancesthiemowmde2023-01-261-0/+13
* JsonCodec: fix en/decoding of nested objects and stdClass objectsC. Scott Ananian2023-01-121-1/+37
* Add return type to jsonSerialize()Reedy2022-07-021-4/+2
* Type hints for ArrayAccess and JsonSerializableAryeh Gregor2022-04-111-0/+2
* Add convenience methods for asserting status.daniel2022-03-161-9/+9
* JsonCodec: Fix testGergő Tisza2021-12-091-3/+3
* Replace `new stdClass` with more compact array syntaxThiemo Kreuz2021-11-021-2/+1
* Merge "FormatJson: Optimize encode() for supported PHP versions"jenkins-bot2021-09-041-1/+5
|\
| * FormatJson: Optimize encode() for supported PHP versionsKevin Israel2021-08-201-1/+5
* | Use PHP \u{xxxx} syntaxFomafix2021-08-271-5/+5
|/
* FormatJson: Add message for JSON_ERROR_INVALID_PROPERTY_NAMEKevin Israel2021-08-161-0/+1
* Merge FormatJsonTest and FormatJsonUnitTestDannyS7122021-05-052-359/+352
* Remove incomplete @param from test functionUmherirrender2021-02-011-1/+0
* Remove broken/outdated @param/@throws tags from @dataProvidersThiemo Kreuz2021-01-212-13/+0
* Improve some function documentation in testsUmherirrender2021-01-141-5/+5
* Fix incomplete/bogus PHPDoc tags in various testsThiemo Kreuz2021-01-141-1/+1
* More misc test cleanupDannyS7122020-12-241-5/+5
* Introduce JsonCodec to help with serialization/deserializationPetr Pchelko2020-11-193-151/+218
* Safe ParserOutput extension data and JsonUnserializable helper.Petr Pchelko2020-11-102-16/+135
* Check if non-JSON-serializable data passed to ParserOutputPetr Pchelko2020-10-051-0/+31
* Replace all `new stdClass()` with identical `(object)[]`Thiemo Kreuz2020-03-041-3/+3
* FormatJson: Improve parse() error code handling and testsKunal Mehta2020-01-011-3/+9
* Autofix 94 PHPUnit 8 compat issuesDaimona Eaytoy2019-12-131-4/+4
* Tweak comment in FormatJsonUnitTest::testEmptyJsonKeyArrayReedy2019-10-121-1/+1
* Remove PHP < 7.1 case from FormatJsonUnitTest::testEmptyJsonKeyArrayReedy2019-10-121-5/+1
* Load GlobalFunctions.php to tests/phpunit/bootstrap.phpAmir Sarabadani2019-07-141-0/+82
* Move unit tests FormatJsonTest.php to a dedicated file in unit testsAmir Sarabadani2019-07-071-0/+362
* Revert "Separate MediaWiki unit and integration tests"Legoktm2019-06-131-436/+0
* Separate MediaWiki unit and integration testsMáté Szabó2019-06-131-0/+436