mediawiki-extensions-AbuseF.../includes/parser
Daimona Eaytoy 55ba083b13 Introduce a KeywordsManager service
This will decouple a bit the huge and chaotic tangle of AF classes. Some
boilerplate code for AbuseFilter services is also added with this patch.

Note that this requires injecting a KeywordsManager in
AbuseFilterVariableHolder, or unit tests would fail. This is still
incomplete, and the Manager is only injected in tests, because
VariableHolder still has to be refactored.

The test for the UpdateVarDumps script had to be updated, because
serializing VHs in there was a bad choice. As pointed out in a comment,
the test is likely going to break again once we remove the BC code, but
I hope that we'll be able to remove the test at that point.

Change-Id: I12a656a310adb8c5f75cab63f6db9e121e109717
2020-09-28 23:03:52 +00:00
..
AbuseFilterCachingParser.php Introduce a KeywordsManager service 2020-09-28 23:03:52 +00:00
AbuseFilterParser.php Introduce a KeywordsManager service 2020-09-28 23:03:52 +00:00
AbuseFilterTokenizer.php Remove old number syntax 2020-02-25 23:38:19 +00:00
AFPData.php Add new methods for checking DUNDEFINED recursively, use them 2020-04-19 13:58:14 +02:00
AFPException.php
AFPParserState.php Revert "Revert "Add typehinting for every object-only parameter"" 2018-11-15 10:09:16 +01:00
AFPSyntaxTree.php Annotate the AST with var names before caching the AST 2019-09-13 19:43:50 +00:00
AFPToken.php Fix remaining PHPCS issues 2020-01-21 12:36:37 +00:00
AFPTransitionBase.php Introduce a KeywordsManager service 2020-09-28 23:03:52 +00:00
AFPTreeNode.php tests: Increase and rebalance code coverage 2020-02-07 18:32:17 +00:00
AFPTreeParser.php Introduce a KeywordsManager service 2020-09-28 23:03:52 +00:00
AFPUserVisibleException.php Explicitly forbid negative indexes in arrays 2019-11-08 05:55:56 +00:00