mediawiki-extensions-AbuseF.../tests/phpunit
Daimona Eaytoy 1abaff1aac Better handling of keywords and functions
Always run the keyword/function handler, even if there are DUNDEFINED
arguments, so that the handler can perform further validation on the
input and report any error to the user. However, replace DUNDEFINED with
DNULL before running the handler, to avoid special-casing DUNDEFINED in
every handler. If any argument was a DUNDEFINED, we will return
DUNDEFINED anyway.

Also centralize the keyword handling logic to a new method, like it
happens for functions.

Bug: T234339
Change-Id: I875cb77418a39790e91fe5867c49917bfe406ed4
2019-11-08 15:07:20 +01:00
..
unit Better handling of keywords and functions 2019-11-08 15:07:20 +01:00
AbuseFilterConsequencesTest.php build: Upgrade mediawiki-codesniffer to v28.0.0 2019-10-09 18:34:07 +00:00
AbuseFilterDBTest.php Refactor and speed up non-parser tests 2019-08-27 16:24:27 +00:00
AbuseFilterParserEquivsetTest.php Move parser tests to /unit 2019-08-28 16:36:37 +00:00
AbuseFilterSaveTest.php Remove usages of deprecated User methods 2019-10-30 12:51:01 +00:00
AbuseFilterTest.php build: Upgrade mediawiki-codesniffer to v28.0.0 2019-10-09 18:34:07 +00:00