mediawiki-extensions-AbuseF.../includes/parser
Daimona Eaytoy 963221ad6d Even better handling of DUNDEFINED
Ensure that the variable isn't set before marking it as DUNDEFINED:
that's only for when we cannot use a default, but if the variable is set
we already have one. Most notably, this fixes conditionals handling: right
now, if you have a conditional with an assignment in both
branches, the variable will be undefined. That's obviously wrong, so
it's fixed in this patch.
Plus: catch only AFPExceptions in a test to avoid unintentionally
catching the assert exception; simplify some assignments using wfSetVar.

Depends-On: I446a307e5395ea8cc8ec5ca5d5390b074bea2f24
Change-Id: I8e7f7710b8cb37ada8531b631456a3ce7b27ee45
2019-08-20 19:17:30 +00:00
..
AbuseFilterCachingParser.php Even better handling of DUNDEFINED 2019-08-20 19:17:30 +00:00
AbuseFilterParser.php Even better handling of DUNDEFINED 2019-08-20 19:17:30 +00:00
AbuseFilterTokenizer.php Move non-decimal numbers deprecation logging 2019-08-03 16:57:24 +00:00
AFPData.php Make some other AFPData methods non-static 2019-08-12 14:40:51 +02:00
AFPException.php
AFPParserState.php Revert "Revert "Add typehinting for every object-only parameter"" 2018-11-15 10:09:16 +01:00
AFPToken.php Add doc for every class member 2019-03-17 11:40:24 +01:00
AFPTreeNode.php Restore unit tests for CachingParser and fix it 2019-05-25 10:55:24 +02:00
AFPTreeParser.php Better handling of function params in CachingParser 2019-08-20 15:32:02 +00:00
AFPUserVisibleException.php Ban variable variables 2019-08-11 01:47:35 +00:00