wiki.techinc.nl/tests/phpunit/includes/libs
Ammarpad 2af69576e1 Tighten invalid timestamp error checking
Move ConvertibleTimestamp::getTimestamp call into try-block to catch
its exception.

While constructor of ConvertibleTimestamp does throw exception for
most invalid timestamps, it does not verify MediaWiki timestamp
length requirement as done by ::getTimestamp() method

Bug: T272637
Change-Id: Ia2c1887fba62870a5eafa28ec49ab5e631ca1d53
2021-02-11 11:26:54 +01:00
..
filebackend/fsfile
Message Coding style: Auto-fix MediaWiki.Classes.UnsortedUseStatements.UnsortedUse 2020-01-10 09:32:25 -08:00
mime Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
objectcache Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
ParamValidator Tighten invalid timestamp error checking 2021-02-11 11:26:54 +01:00
rdbms/database More misc test cleanup 2020-12-24 00:52:06 +00:00
serialization Tests: Start marking some closures as static 2021-02-06 19:57:42 +00:00
CSSMinTest.php resourceloader: Fix malformed "https:/w/resources" mapping in CSSMin 2020-11-25 00:38:53 +00:00
GenericArrayObjectTest.php Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00