wiki.techinc.nl/includes/parser
Max Semenik 6e956d55aa Replace call_user_func_array(), part 2
Uses new PHP 5.6 syntax like ...parameter unpacking and
calling anything looking like a callback to make the code more readable.
There are much more occurrences but this commit is intentionally limited
to an easily reviewable size.

In one occurrence, a simple conditional instead of trickery was much more readable.

This patch finishes all the easy stuf in the core, the remainder is either unobvious
or would result in smaller readability gains. It will be carefully dealt with in
further commits.

Change-Id: I79a16c48bfb98b75e5b99f2f6f4fa07b3ae02c5b
2018-06-07 20:19:26 -07:00
..
BlockLevelPass.php Cleanup the element matches in doBlockLevels a bit 2018-04-25 13:22:40 -04:00
CacheTime.php Fix PHPDoc type hints in CacheTime, ParserOptions, and related 2018-04-18 15:10:31 +00:00
CoreParserFunctions.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
CoreTagHooks.php SECURITY: Disable <html> tag on system messages despite $wgRawHtml = true; 2017-03-28 21:51:44 +00:00
DateFormatter.php Remove language as string for DateFormatter::getInstance 2018-04-19 18:09:16 +00:00
LinkHolderArray.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
MWTidy.php tidy: Remove obsolete Depurate and Balancer drivers 2018-05-08 15:32:49 +00:00
Parser.php Replace call_user_func_array(), part 2 2018-06-07 20:19:26 -07:00
ParserCache.php Fix PHPDoc type hints in CacheTime, ParserOptions, and related 2018-04-18 15:10:31 +00:00
ParserDiffTest.php Fix php code style 2017-05-05 12:03:54 +00:00
ParserOptions.php Resolve used lazy options in ParserOptions::optionsHash() 2018-05-15 06:54:55 +00:00
ParserOutput.php Replace call_user_func_array(), part 2 2018-06-07 20:19:26 -07:00
Preprocessor.php Use PHP 5.6 constant expressions for some bitfield constants 2018-05-30 18:05:18 -07:00
Preprocessor_DOM.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
Preprocessor_Hash.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
RemexStripTagHandler.php Use Remex in Sanitizer::stripAllTags() 2017-11-15 17:31:31 -08:00
Sanitizer.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
StripState.php Normalize PHPDoc attributes 2018-03-16 22:59:15 -07:00