wiki.techinc.nl/tests/phpunit/unit/includes/language
Thiemo Kreuz b655f382db Remove broken/outdated @param/@throws tags from @dataProviders
My personal best practice is to not document @params when there
is a @dataProvider. I mean, these test…() functions are not
meant to be called from anywhere. They do not really need
documentation. @param tags don't do much but duplicate what the
@dataProvider does. This is error-prone, as demonstrated by the
examples in this patch.

This patch also removes @throws tags from tests. A test…() can
never throw an exception. Otherwise the test would fail.

Most of these are found by the not yet released I10559d8.

Change-Id: I3782bca43f875687cd2be972144a7ab6b298454e
2021-01-21 03:42:42 +00:00
..
LanguageCodeTest.php Autofix 94 PHPUnit 8 compat issues 2019-12-13 15:29:10 +01:00
LanguageFallbackTest.php Fix some PSR12.Properties.ConstantVisibility.NotFound in tests/phpunit/ 2020-05-09 23:55:09 +00:00
LanguageFallbackTestTrait.php build: Updating mediawiki/mediawiki-codesniffer to 34.0.0 2020-12-07 14:55:24 +01:00
LanguageNameUtilsTest.php More misc test cleanup 2020-12-24 00:52:06 +00:00
LanguageNameUtilsTestTrait.php Remove broken/outdated @param/@throws tags from @dataProviders 2021-01-21 03:42:42 +00:00
LCStoreStaticArrayTest.php language: Avoid LCStoreStaticArray::decode() recursion for arrays 2020-05-04 17:46:04 +01:00