wiki.techinc.nl/includes/parser
Bartosz Dziewoński ccd423225f Add "implements Stringable" to every class with "function __toString()"
In PHP 8, but not in PHP 7.4, every class with a __toString() function
implicitly implements the Stringable interface. Therefore, the
behavior of checks like "instanceof Stringable" differs between these
PHP versions when such classes are involved. Make every such class
implement the interface so that the behavior will be consistent.

The PHP 7.4 fallback for the Stringable interface is provided by
symfony/polyfill-php80.

Change-Id: I3f0330c2555c7d3bf99b654ed3c0b0303e257ea1
2024-06-13 00:23:39 +00:00
..
Hook Standardise all our class alias deprecation comments for ease of grepping 2024-03-19 20:11:29 +00:00
Parsoid Make $headers['content-language'] a string instead of Bcp47Code 2024-06-11 11:08:34 +02:00
BlockLevelPass.php Condense and simplify some conditionals/returns 2023-08-22 19:21:57 +00:00
CacheTime.php Rename JsonUnserial… to JsonDeserial… 2024-06-12 14:50:58 -04:00
CoreMagicVariables.php Move Parser to Mediawiki\Parser namespace 2024-02-16 09:18:38 -05:00
CoreParserFunctions.php Introduce {{#FORMAL:}} magic word to simplify translations 2024-05-08 06:25:52 +00:00
CoreTagHooks.php [OutputPage] Hoist "null Title" checks up a level 2024-05-15 11:25:36 -04:00
DateFormatter.php parser: Fix formatdate parser function for ISO year 0 = 1 BC 2024-02-27 17:17:36 +01:00
DateFormatterFactory.php
LinkHolderArray.php Namespace includes/cache 2024-02-20 10:28:03 -05:00
MagicWord.php Standardise all our class alias deprecation comments for ease of grepping 2024-03-19 20:11:29 +00:00
MagicWordArray.php Merge "Rewrite MagicWordArray::matchAndRemove to use single preg_… call" 2024-05-15 16:00:22 +00:00
MagicWordFactory.php Standardise all our class alias deprecation comments for ease of grepping 2024-03-19 20:11:29 +00:00
MWTidy.php Replace deprecated MWException 2023-06-09 17:21:12 +02:00
Parser.php Merge "Parser: Avoid extra escaping in replaceTableOfContentsMarker" 2024-06-12 19:51:18 +00:00
ParserCache.php Rename JsonUnserial… to JsonDeserial… 2024-06-12 14:50:58 -04:00
ParserCacheFactory.php parser: Remove explicit StatsdDataFactory backward-compat logic 2024-03-26 22:53:58 +00:00
ParserCacheFilter.php Namespace ParserOutput 2023-12-14 14:57:34 -05:00
ParserCacheMetadata.php
ParserFactory.php Parser: Inject service LanguageNameUtils 2024-05-20 19:23:37 +00:00
ParserObserver.php ParserObserver: Limit the size of cache of previous parse traces 2024-01-29 09:33:14 +00:00
ParserOptions.php Add ParserOptions::setCollapsibleSections() 2024-04-29 12:11:09 -04:00
ParserOutput.php Make MessageValue implement JsonDeserializable 2024-06-12 15:47:37 -04:00
ParserOutputFlags.php Add ParserOptions::setCollapsibleSections() 2024-04-29 12:11:09 -04:00
ParserOutputStringSets.php Namespace ParserOutput 2023-12-14 14:57:34 -05:00
PPCustomFrame_Hash.php
PPDPart_Hash.php
PPDStack_Hash.php
PPDStackElement_Hash.php
PPFrame.php Reorg: Namespace the Title class 2023-03-02 08:46:53 -05:00
PPFrame_Hash.php Add "implements Stringable" to every class with "function __toString()" 2024-06-13 00:23:39 +00:00
PPNode.php
PPNode_Hash_Array.php Add "implements Stringable" to every class with "function __toString()" 2024-06-13 00:23:39 +00:00
PPNode_Hash_Attr.php Add "implements Stringable" to every class with "function __toString()" 2024-06-13 00:23:39 +00:00
PPNode_Hash_Text.php Add "implements Stringable" to every class with "function __toString()" 2024-06-13 00:23:39 +00:00
PPNode_Hash_Tree.php Add "implements Stringable" to every class with "function __toString()" 2024-06-13 00:23:39 +00:00
PPTemplateFrame_Hash.php Replace array_keys in foreach to use $_ as value instead 2023-07-10 02:53:52 +00:00
Preprocessor.php Move Parser to Mediawiki\Parser namespace 2024-02-16 09:18:38 -05:00
Preprocessor_Hash.php Move Parser to Mediawiki\Parser namespace 2024-02-16 09:18:38 -05:00
RemexRemoveTagHandler.php Namespace Sanitizer under \MediaWiki\Parser 2023-09-21 05:39:23 +00:00
RemexStripTagHandler.php
RevisionOutputCache.php Rename JsonUnserial… to JsonDeserial… 2024-06-12 14:50:58 -04:00
Sanitizer.php Sanitizer: Disallow src() 2024-05-30 13:52:48 +02:00
StripState.php Move Parser to Mediawiki\Parser namespace 2024-02-16 09:18:38 -05:00